0s autopkgtest [17:16:48]: starting date and time: 2024-03-18 17:16:48+0000 0s autopkgtest [17:16:48]: git checkout: b506e79c ssh-setup/nova: fix ARCH having two lines of data 0s autopkgtest [17:16:48]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.apfd9sks/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:elfutils,src:curl,src:gnutls28,src:libarchive,src:libmicrohttpd,src:libpsl,src:nettle --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-ppc64el-5.secgroup --name adt-noble-ppc64el-glib2.0-20240318-163819-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://us.ports.ubuntu.com/ubuntu-ports/ 218s autopkgtest [17:20:26]: testbed dpkg architecture: ppc64el 219s autopkgtest [17:20:27]: testbed apt version: 2.7.12 219s autopkgtest [17:20:27]: @@@@@@@@@@@@@@@@@@@@ test bed setup 220s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 220s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 220s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [52.0 kB] 220s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3728 kB] 221s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [485 kB] 221s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [643 kB] 222s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 222s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 222s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 222s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [4009 kB] 222s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 222s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [48.4 kB] 222s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 225s Fetched 9103 kB in 3s (2636 kB/s) 225s Reading package lists... 228s Reading package lists... 228s Building dependency tree... 228s Reading state information... 229s Calculating upgrade... 229s The following packages have been kept back: 229s curl 229s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 229s Reading package lists... 229s Building dependency tree... 229s Reading state information... 229s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 230s sh: Attempting to set up Debian/Ubuntu apt sources automatically 230s sh: Distribution appears to be Ubuntu 231s Reading package lists... 231s Building dependency tree... 231s Reading state information... 232s eatmydata is already the newest version (131-1). 232s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 232s Reading package lists... 232s Building dependency tree... 232s Reading state information... 232s dbus is already the newest version (1.14.10-4ubuntu1). 232s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 232s Reading package lists... 232s Building dependency tree... 232s Reading state information... 233s rng-tools-debian is already the newest version (2.4). 233s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 233s Reading package lists... 233s Building dependency tree... 233s Reading state information... 233s The following packages will be REMOVED: 233s cloud-init* python3-configobj* python3-debconf* 233s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 233s After this operation, 3252 kB disk space will be freed. 233s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 70095 files and directories currently installed.) 233s Removing cloud-init (24.1.1-0ubuntu1) ... 234s Removing python3-configobj (5.0.8-3) ... 234s Removing python3-debconf (1.5.86) ... 234s Processing triggers for man-db (2.12.0-3) ... 234s (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 ... 69706 files and directories currently installed.) 234s Purging configuration files for cloud-init (24.1.1-0ubuntu1) ... 235s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 235s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 235s invoke-rc.d: policy-rc.d denied execution of try-restart. 235s Reading package lists... 235s Building dependency tree... 235s Reading state information... 236s linux-generic is already the newest version (6.8.0-11.11+1). 236s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 236s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 236s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 236s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 239s Reading package lists... 239s Reading package lists... 239s Building dependency tree... 239s Reading state information... 239s Calculating upgrade... 239s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 239s Reading package lists... 240s Building dependency tree... 240s Reading state information... 240s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 240s autopkgtest [17:20:48]: rebooting testbed after setup commands that affected boot 414s autopkgtest [17:23:42]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Wed Feb 14 00:33:03 UTC 2024 417s autopkgtest [17:23:45]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 427s Get:1 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (dsc) [4332 B] 427s Get:2 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [263 kB] 427s Get:3 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [5488 kB] 427s Get:4 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (diff) [126 kB] 427s gpgv: Signature made Mon Feb 26 20:17:53 2024 UTC 427s gpgv: using RSA key 92FE4F8B40CADC4ECCD60C1F5961FDBE9C619809 427s gpgv: Can't check signature: No public key 427s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.2-1~ubuntu1.dsc: no acceptable signature found 428s autopkgtest [17:23:56]: testing package glib2.0 version 2.79.2-1~ubuntu1 429s autopkgtest [17:23:57]: build not needed 438s autopkgtest [17:24:06]: test build: preparing testbed 443s Reading package lists... 444s Building dependency tree... 444s Reading state information... 444s Starting pkgProblemResolver with broken count: 0 444s Starting 2 pkgProblemResolver with broken count: 0 444s Done 444s The following additional packages will be installed: 444s build-essential cpp cpp-13 cpp-13-powerpc64le-linux-gnu 444s cpp-powerpc64le-linux-gnu g++ g++-13 g++-13-powerpc64le-linux-gnu 444s g++-powerpc64le-linux-gnu gcc gcc-13 gcc-13-powerpc64le-linux-gnu 444s gcc-powerpc64le-linux-gnu libasan8 libatomic1 libblkid-dev libc-dev-bin 444s libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-13-dev 444s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 444s libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 libnsl-dev 444s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 444s libquadmath0 libselinux1-dev libsepol-dev libstdc++-13-dev libtirpc-dev 444s libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin python3-packaging 444s rpcsvc-proto uuid-dev zlib1g-dev 444s Suggested packages: 444s cpp-doc gcc-13-locales cpp-13-doc gcc-13-doc gcc-multilib manpages-dev 444s autoconf automake libtool flex bison gdb gcc-doc gdb-powerpc64le-linux-gnu 444s glibc-doc libgirepository1.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin 444s libxml2-utils libstdc++-13-doc 444s Recommended packages: 444s manpages manpages-dev libc-devtools 444s The following NEW packages will be installed: 444s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-powerpc64le-linux-gnu 444s cpp-powerpc64le-linux-gnu g++ g++-13 g++-13-powerpc64le-linux-gnu 444s g++-powerpc64le-linux-gnu gcc gcc-13 gcc-13-powerpc64le-linux-gnu 444s gcc-powerpc64le-linux-gnu libasan8 libatomic1 libblkid-dev libc-dev-bin 444s libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-13-dev 444s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 444s libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 libnsl-dev 444s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 444s libquadmath0 libselinux1-dev libsepol-dev libstdc++-13-dev libtirpc-dev 444s libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin python3-packaging 444s rpcsvc-proto uuid-dev zlib1g-dev 444s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 444s Need to get 67.8 MB/67.8 MB of archives. 444s After this operation, 267 MB of additional disk space will be used. 444s Get:1 /tmp/autopkgtest.j6pWWo/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [724 B] 444s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el libc-dev-bin ppc64el 2.39-0ubuntu2 [21.3 kB] 445s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el linux-libc-dev ppc64el 6.8.0-11.11 [1585 kB] 445s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el libcrypt-dev ppc64el 1:4.4.36-4 [167 kB] 445s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el libtirpc-dev ppc64el 1.3.4+ds-1build1 [262 kB] 445s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el libnsl-dev ppc64el 1.3.0-3 [79.2 kB] 445s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el rpcsvc-proto ppc64el 1.4.2-0ubuntu6 [82.3 kB] 445s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el libc6-dev ppc64el 2.39-0ubuntu2 [2102 kB] 445s Get:9 http://ftpmaster.internal/ubuntu noble/main ppc64el libisl23 ppc64el 0.26-3 [864 kB] 445s Get:10 http://ftpmaster.internal/ubuntu noble/main ppc64el libmpc3 ppc64el 1.3.1-1 [61.2 kB] 445s Get:11 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-13-powerpc64le-linux-gnu ppc64el 13.2.0-17ubuntu2 [10.7 MB] 446s Get:12 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-13 ppc64el 13.2.0-17ubuntu2 [1038 B] 446s Get:13 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [5330 B] 446s Get:14 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp ppc64el 4:13.2.0-7ubuntu1 [22.5 kB] 446s Get:15 http://ftpmaster.internal/ubuntu noble/main ppc64el libcc1-0 ppc64el 14-20240303-1ubuntu1 [48.1 kB] 446s Get:16 http://ftpmaster.internal/ubuntu noble/main ppc64el libgomp1 ppc64el 14-20240303-1ubuntu1 [161 kB] 446s Get:17 http://ftpmaster.internal/ubuntu noble/main ppc64el libitm1 ppc64el 14-20240303-1ubuntu1 [32.4 kB] 446s Get:18 http://ftpmaster.internal/ubuntu noble/main ppc64el libatomic1 ppc64el 14-20240303-1ubuntu1 [10.7 kB] 446s Get:19 http://ftpmaster.internal/ubuntu noble/main ppc64el libasan8 ppc64el 14-20240303-1ubuntu1 [2973 kB] 446s Get:20 http://ftpmaster.internal/ubuntu noble/main ppc64el liblsan0 ppc64el 14-20240303-1ubuntu1 [1325 kB] 446s Get:21 http://ftpmaster.internal/ubuntu noble/main ppc64el libtsan2 ppc64el 14-20240303-1ubuntu1 [2734 kB] 446s Get:22 http://ftpmaster.internal/ubuntu noble/main ppc64el libubsan1 ppc64el 14-20240303-1ubuntu1 [1194 kB] 446s Get:23 http://ftpmaster.internal/ubuntu noble/main ppc64el libquadmath0 ppc64el 14-20240303-1ubuntu1 [158 kB] 446s Get:24 http://ftpmaster.internal/ubuntu noble/main ppc64el libgcc-13-dev ppc64el 13.2.0-17ubuntu2 [1581 kB] 446s Get:25 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-13-powerpc64le-linux-gnu ppc64el 13.2.0-17ubuntu2 [20.6 MB] 447s Get:26 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-13 ppc64el 13.2.0-17ubuntu2 [477 kB] 447s Get:27 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [1224 B] 447s Get:28 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc ppc64el 4:13.2.0-7ubuntu1 [5022 B] 447s Get:29 http://ftpmaster.internal/ubuntu noble/main ppc64el libstdc++-13-dev ppc64el 13.2.0-17ubuntu2 [2445 kB] 448s Get:30 http://ftpmaster.internal/ubuntu noble/main ppc64el g++-13-powerpc64le-linux-gnu ppc64el 13.2.0-17ubuntu2 [12.2 MB] 449s Get:31 http://ftpmaster.internal/ubuntu noble/main ppc64el g++-13 ppc64el 13.2.0-17ubuntu2 [14.5 kB] 449s Get:32 http://ftpmaster.internal/ubuntu noble/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [968 B] 449s Get:33 http://ftpmaster.internal/ubuntu noble/main ppc64el g++ ppc64el 4:13.2.0-7ubuntu1 [1086 B] 449s Get:34 http://ftpmaster.internal/ubuntu noble/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 449s Get:35 http://ftpmaster.internal/ubuntu noble/main ppc64el libgirepository-2.0-0 ppc64el 2.79.2-1~ubuntu1 [84.4 kB] 449s Get:36 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-bin ppc64el 2.79.2-1~ubuntu1 [111 kB] 449s Get:37 http://ftpmaster.internal/ubuntu noble/main ppc64el libffi-dev ppc64el 3.4.6-1 [67.4 kB] 449s Get:38 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 23.2-1 [40.6 kB] 449s Get:39 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-dev-bin ppc64el 2.79.2-1~ubuntu1 [240 kB] 449s Get:40 http://ftpmaster.internal/ubuntu noble/main ppc64el uuid-dev ppc64el 2.39.3-6ubuntu2 [37.6 kB] 449s Get:41 http://ftpmaster.internal/ubuntu noble/main ppc64el libblkid-dev ppc64el 2.39.3-6ubuntu2 [260 kB] 449s Get:42 http://ftpmaster.internal/ubuntu noble/main ppc64el libsepol-dev ppc64el 3.5-2 [471 kB] 449s Get:43 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu1 [245 kB] 449s Get:44 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu1 [228 kB] 449s Get:45 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-posix3 ppc64el 10.42-4ubuntu1 [7016 B] 449s Get:46 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-dev ppc64el 10.42-4ubuntu1 [794 kB] 449s Get:47 http://ftpmaster.internal/ubuntu noble/main ppc64el libselinux1-dev ppc64el 3.5-2build1 [192 kB] 449s Get:48 http://ftpmaster.internal/ubuntu noble/main ppc64el libmount-dev ppc64el 2.39.3-6ubuntu2 [14.9 kB] 449s Get:49 http://ftpmaster.internal/ubuntu noble/main ppc64el libpkgconf3 ppc64el 1.8.1-2 [36.9 kB] 449s Get:50 http://ftpmaster.internal/ubuntu noble/main ppc64el pkgconf-bin ppc64el 1.8.1-2 [22.0 kB] 449s Get:51 http://ftpmaster.internal/ubuntu noble/main ppc64el pkgconf ppc64el 1.8.1-2 [16.7 kB] 449s Get:52 http://ftpmaster.internal/ubuntu noble/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg-3ubuntu1 [902 kB] 449s Get:53 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-dev ppc64el 2.79.2-1~ubuntu1 [2147 kB] 449s Fetched 67.8 MB in 5s (14.3 MB/s) 449s Selecting previously unselected package libc-dev-bin. 449s (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 ... 69651 files and directories currently installed.) 449s Preparing to unpack .../00-libc-dev-bin_2.39-0ubuntu2_ppc64el.deb ... 449s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 449s Selecting previously unselected package linux-libc-dev:ppc64el. 449s Preparing to unpack .../01-linux-libc-dev_6.8.0-11.11_ppc64el.deb ... 449s Unpacking linux-libc-dev:ppc64el (6.8.0-11.11) ... 449s Selecting previously unselected package libcrypt-dev:ppc64el. 449s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-4_ppc64el.deb ... 449s Unpacking libcrypt-dev:ppc64el (1:4.4.36-4) ... 450s Selecting previously unselected package libtirpc-dev:ppc64el. 450s Preparing to unpack .../03-libtirpc-dev_1.3.4+ds-1build1_ppc64el.deb ... 450s Unpacking libtirpc-dev:ppc64el (1.3.4+ds-1build1) ... 450s Selecting previously unselected package libnsl-dev:ppc64el. 450s Preparing to unpack .../04-libnsl-dev_1.3.0-3_ppc64el.deb ... 450s Unpacking libnsl-dev:ppc64el (1.3.0-3) ... 450s Selecting previously unselected package rpcsvc-proto. 450s Preparing to unpack .../05-rpcsvc-proto_1.4.2-0ubuntu6_ppc64el.deb ... 450s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 450s Selecting previously unselected package libc6-dev:ppc64el. 450s Preparing to unpack .../06-libc6-dev_2.39-0ubuntu2_ppc64el.deb ... 450s Unpacking libc6-dev:ppc64el (2.39-0ubuntu2) ... 450s Selecting previously unselected package libisl23:ppc64el. 450s Preparing to unpack .../07-libisl23_0.26-3_ppc64el.deb ... 450s Unpacking libisl23:ppc64el (0.26-3) ... 450s Selecting previously unselected package libmpc3:ppc64el. 450s Preparing to unpack .../08-libmpc3_1.3.1-1_ppc64el.deb ... 450s Unpacking libmpc3:ppc64el (1.3.1-1) ... 450s Selecting previously unselected package cpp-13-powerpc64le-linux-gnu. 450s Preparing to unpack .../09-cpp-13-powerpc64le-linux-gnu_13.2.0-17ubuntu2_ppc64el.deb ... 450s Unpacking cpp-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 450s Selecting previously unselected package cpp-13. 450s Preparing to unpack .../10-cpp-13_13.2.0-17ubuntu2_ppc64el.deb ... 450s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 450s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 450s Preparing to unpack .../11-cpp-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 450s Unpacking cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 450s Selecting previously unselected package cpp. 450s Preparing to unpack .../12-cpp_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 450s Unpacking cpp (4:13.2.0-7ubuntu1) ... 450s Selecting previously unselected package libcc1-0:ppc64el. 450s Preparing to unpack .../13-libcc1-0_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libcc1-0:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package libgomp1:ppc64el. 450s Preparing to unpack .../14-libgomp1_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libgomp1:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package libitm1:ppc64el. 450s Preparing to unpack .../15-libitm1_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libitm1:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package libatomic1:ppc64el. 450s Preparing to unpack .../16-libatomic1_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libatomic1:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package libasan8:ppc64el. 450s Preparing to unpack .../17-libasan8_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libasan8:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package liblsan0:ppc64el. 450s Preparing to unpack .../18-liblsan0_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking liblsan0:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package libtsan2:ppc64el. 450s Preparing to unpack .../19-libtsan2_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libtsan2:ppc64el (14-20240303-1ubuntu1) ... 450s Selecting previously unselected package libubsan1:ppc64el. 450s Preparing to unpack .../20-libubsan1_14-20240303-1ubuntu1_ppc64el.deb ... 450s Unpacking libubsan1:ppc64el (14-20240303-1ubuntu1) ... 451s Selecting previously unselected package libquadmath0:ppc64el. 451s Preparing to unpack .../21-libquadmath0_14-20240303-1ubuntu1_ppc64el.deb ... 451s Unpacking libquadmath0:ppc64el (14-20240303-1ubuntu1) ... 451s Selecting previously unselected package libgcc-13-dev:ppc64el. 451s Preparing to unpack .../22-libgcc-13-dev_13.2.0-17ubuntu2_ppc64el.deb ... 451s Unpacking libgcc-13-dev:ppc64el (13.2.0-17ubuntu2) ... 451s Selecting previously unselected package gcc-13-powerpc64le-linux-gnu. 451s Preparing to unpack .../23-gcc-13-powerpc64le-linux-gnu_13.2.0-17ubuntu2_ppc64el.deb ... 451s Unpacking gcc-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 451s Selecting previously unselected package gcc-13. 451s Preparing to unpack .../24-gcc-13_13.2.0-17ubuntu2_ppc64el.deb ... 451s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 451s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 451s Preparing to unpack .../25-gcc-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 451s Unpacking gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 451s Selecting previously unselected package gcc. 451s Preparing to unpack .../26-gcc_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 451s Unpacking gcc (4:13.2.0-7ubuntu1) ... 451s Selecting previously unselected package libstdc++-13-dev:ppc64el. 451s Preparing to unpack .../27-libstdc++-13-dev_13.2.0-17ubuntu2_ppc64el.deb ... 451s Unpacking libstdc++-13-dev:ppc64el (13.2.0-17ubuntu2) ... 451s Selecting previously unselected package g++-13-powerpc64le-linux-gnu. 451s Preparing to unpack .../28-g++-13-powerpc64le-linux-gnu_13.2.0-17ubuntu2_ppc64el.deb ... 451s Unpacking g++-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 452s Selecting previously unselected package g++-13. 452s Preparing to unpack .../29-g++-13_13.2.0-17ubuntu2_ppc64el.deb ... 452s Unpacking g++-13 (13.2.0-17ubuntu2) ... 452s Selecting previously unselected package g++-powerpc64le-linux-gnu. 452s Preparing to unpack .../30-g++-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 452s Unpacking g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 452s Selecting previously unselected package g++. 452s Preparing to unpack .../31-g++_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 452s Unpacking g++ (4:13.2.0-7ubuntu1) ... 452s Selecting previously unselected package build-essential. 452s Preparing to unpack .../32-build-essential_12.10ubuntu1_ppc64el.deb ... 452s Unpacking build-essential (12.10ubuntu1) ... 452s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 452s Preparing to unpack .../33-libgirepository-2.0-0_2.79.2-1~ubuntu1_ppc64el.deb ... 452s Unpacking libgirepository-2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 452s Selecting previously unselected package libglib2.0-bin. 452s Preparing to unpack .../34-libglib2.0-bin_2.79.2-1~ubuntu1_ppc64el.deb ... 452s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 452s Selecting previously unselected package libffi-dev:ppc64el. 452s Preparing to unpack .../35-libffi-dev_3.4.6-1_ppc64el.deb ... 452s Unpacking libffi-dev:ppc64el (3.4.6-1) ... 452s Selecting previously unselected package python3-packaging. 452s Preparing to unpack .../36-python3-packaging_23.2-1_all.deb ... 452s Unpacking python3-packaging (23.2-1) ... 452s Selecting previously unselected package libglib2.0-dev-bin. 452s Preparing to unpack .../37-libglib2.0-dev-bin_2.79.2-1~ubuntu1_ppc64el.deb ... 452s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 452s Selecting previously unselected package uuid-dev:ppc64el. 452s Preparing to unpack .../38-uuid-dev_2.39.3-6ubuntu2_ppc64el.deb ... 452s Unpacking uuid-dev:ppc64el (2.39.3-6ubuntu2) ... 452s Selecting previously unselected package libblkid-dev:ppc64el. 452s Preparing to unpack .../39-libblkid-dev_2.39.3-6ubuntu2_ppc64el.deb ... 452s Unpacking libblkid-dev:ppc64el (2.39.3-6ubuntu2) ... 452s Selecting previously unselected package libsepol-dev:ppc64el. 452s Preparing to unpack .../40-libsepol-dev_3.5-2_ppc64el.deb ... 452s Unpacking libsepol-dev:ppc64el (3.5-2) ... 452s Selecting previously unselected package libpcre2-16-0:ppc64el. 452s Preparing to unpack .../41-libpcre2-16-0_10.42-4ubuntu1_ppc64el.deb ... 452s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu1) ... 452s Selecting previously unselected package libpcre2-32-0:ppc64el. 452s Preparing to unpack .../42-libpcre2-32-0_10.42-4ubuntu1_ppc64el.deb ... 452s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu1) ... 452s Selecting previously unselected package libpcre2-posix3:ppc64el. 452s Preparing to unpack .../43-libpcre2-posix3_10.42-4ubuntu1_ppc64el.deb ... 452s Unpacking libpcre2-posix3:ppc64el (10.42-4ubuntu1) ... 452s Selecting previously unselected package libpcre2-dev:ppc64el. 452s Preparing to unpack .../44-libpcre2-dev_10.42-4ubuntu1_ppc64el.deb ... 452s Unpacking libpcre2-dev:ppc64el (10.42-4ubuntu1) ... 452s Selecting previously unselected package libselinux1-dev:ppc64el. 452s Preparing to unpack .../45-libselinux1-dev_3.5-2build1_ppc64el.deb ... 452s Unpacking libselinux1-dev:ppc64el (3.5-2build1) ... 452s Selecting previously unselected package libmount-dev:ppc64el. 452s Preparing to unpack .../46-libmount-dev_2.39.3-6ubuntu2_ppc64el.deb ... 452s Unpacking libmount-dev:ppc64el (2.39.3-6ubuntu2) ... 452s Selecting previously unselected package libpkgconf3:ppc64el. 452s Preparing to unpack .../47-libpkgconf3_1.8.1-2_ppc64el.deb ... 452s Unpacking libpkgconf3:ppc64el (1.8.1-2) ... 452s Selecting previously unselected package pkgconf-bin. 452s Preparing to unpack .../48-pkgconf-bin_1.8.1-2_ppc64el.deb ... 452s Unpacking pkgconf-bin (1.8.1-2) ... 452s Selecting previously unselected package pkgconf:ppc64el. 452s Preparing to unpack .../49-pkgconf_1.8.1-2_ppc64el.deb ... 452s Unpacking pkgconf:ppc64el (1.8.1-2) ... 452s Selecting previously unselected package zlib1g-dev:ppc64el. 452s Preparing to unpack .../50-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_ppc64el.deb ... 452s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg-3ubuntu1) ... 452s Selecting previously unselected package libglib2.0-dev:ppc64el. 452s Preparing to unpack .../51-libglib2.0-dev_2.79.2-1~ubuntu1_ppc64el.deb ... 452s Unpacking libglib2.0-dev:ppc64el (2.79.2-1~ubuntu1) ... 452s Selecting previously unselected package autopkgtest-satdep. 452s Preparing to unpack .../52-1-autopkgtest-satdep.deb ... 452s Unpacking autopkgtest-satdep (0) ... 452s Setting up libgirepository-2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 452s Setting up linux-libc-dev:ppc64el (6.8.0-11.11) ... 452s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 452s Setting up libgomp1:ppc64el (14-20240303-1ubuntu1) ... 452s Setting up libffi-dev:ppc64el (3.4.6-1) ... 452s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu1) ... 452s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu1) ... 452s Setting up python3-packaging (23.2-1) ... 453s Setting up libtirpc-dev:ppc64el (1.3.4+ds-1build1) ... 453s Setting up libpkgconf3:ppc64el (1.8.1-2) ... 453s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 453s Setting up libquadmath0:ppc64el (14-20240303-1ubuntu1) ... 453s Setting up libmpc3:ppc64el (1.3.1-1) ... 453s Setting up libatomic1:ppc64el (14-20240303-1ubuntu1) ... 453s Setting up libsepol-dev:ppc64el (3.5-2) ... 453s Setting up pkgconf-bin (1.8.1-2) ... 453s Setting up libubsan1:ppc64el (14-20240303-1ubuntu1) ... 453s Setting up libpcre2-posix3:ppc64el (10.42-4ubuntu1) ... 453s Setting up libnsl-dev:ppc64el (1.3.0-3) ... 453s Setting up libcrypt-dev:ppc64el (1:4.4.36-4) ... 453s Setting up libasan8:ppc64el (14-20240303-1ubuntu1) ... 453s Setting up libtsan2:ppc64el (14-20240303-1ubuntu1) ... 453s Setting up libisl23:ppc64el (0.26-3) ... 453s Setting up libc-dev-bin (2.39-0ubuntu2) ... 453s Setting up cpp-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 453s Setting up libcc1-0:ppc64el (14-20240303-1ubuntu1) ... 453s Setting up liblsan0:ppc64el (14-20240303-1ubuntu1) ... 453s Setting up libitm1:ppc64el (14-20240303-1ubuntu1) ... 453s Setting up cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 453s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 453s Setting up cpp-13 (13.2.0-17ubuntu2) ... 453s Setting up pkgconf:ppc64el (1.8.1-2) ... 453s Setting up libgcc-13-dev:ppc64el (13.2.0-17ubuntu2) ... 453s Setting up cpp (4:13.2.0-7ubuntu1) ... 453s Setting up libc6-dev:ppc64el (2.39-0ubuntu2) ... 453s Setting up libstdc++-13-dev:ppc64el (13.2.0-17ubuntu2) ... 453s Setting up libpcre2-dev:ppc64el (10.42-4ubuntu1) ... 453s Setting up libselinux1-dev:ppc64el (3.5-2build1) ... 453s Setting up uuid-dev:ppc64el (2.39.3-6ubuntu2) ... 453s Setting up gcc-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 453s Setting up gcc-13 (13.2.0-17ubuntu2) ... 453s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg-3ubuntu1) ... 453s Setting up libblkid-dev:ppc64el (2.39.3-6ubuntu2) ... 453s Setting up g++-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 453s Setting up gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 453s Setting up libmount-dev:ppc64el (2.39.3-6ubuntu2) ... 453s Setting up g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 453s Setting up g++-13 (13.2.0-17ubuntu2) ... 453s Setting up gcc (4:13.2.0-7ubuntu1) ... 453s Setting up libglib2.0-dev:ppc64el (2.79.2-1~ubuntu1) ... 453s Setting up g++ (4:13.2.0-7ubuntu1) ... 453s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 453s Setting up build-essential (12.10ubuntu1) ... 453s Processing triggers for libc-bin (2.39-0ubuntu2) ... 453s Processing triggers for man-db (2.12.0-3) ... 454s Processing triggers for install-info (7.1-3) ... 454s Processing triggers for libglib2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 454s No schema files found: doing nothing. 454s Setting up autopkgtest-satdep (0) ... 456s (Reading database ... 73474 files and directories currently installed.) 456s Removing autopkgtest-satdep (0) ... 457s autopkgtest [17:24:25]: test build: [----------------------- 457s + mode=dynamic 457s + getopt -o --long static -n debian/tests/build -- 457s + getopt_temp= -- 457s + eval set -- -- 457s + set -- -- 457s + true 457s + shift 457s + break 457s + mktemp -d 457s + WORKDIR=/tmp/tmp.nKyrxVWWdu 457s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 457s + cd /tmp/tmp.nKyrxVWWdu 457s + [ -n ] 457s + CROSS_COMPILE= 457s + cat 457s + cat 457s + cat 457s + cat 457s + cat 457s + cat 457s + cflags= 457s + pcflags= 457s + packages=glib-2.0 457s + pkg-config --cflags --libs glib-2.0 457s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lglib-2.0 457s + echo build (glib, dynamic): OK 457s + [ -x glib-dynamic ] 457s + foo=bar ./glib-dynamic 457s + echo run (glib, dynamic): OK 457s + cflags= 457s + pcflags= 457s + packages=gobject-2.0 457s build (glib, dynamic): OK 457s run (glib, dynamic): OK 457s + pkg-config --cflags --libs gobject-2.0 457s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 458s + echo build (gobject, dynamic): OK 458s + [ -x gobject-dynamic ] 458s build (gobject, dynamic): OK 458s + foo=bar ./gobject-dynamic 458s + echo run (gobject, dynamic): OK 458s + cflags= 458s + pcflags= 458s + packages=gio-2.0 458s + run (gobject, dynamic): OK 458s pkg-config --cflags --libs gio-2.0 458s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 458s + echo build (gio, dynamic): OK 458s + [ -x gio-dynamic ] 458s + foo=bar ./gio-dynamic 458s build (gio, dynamic): OK 458s + echo run (gio, dynamic): OK 458s + cflags= 458s + pcflags= 458s + packages=gio-unix-2.0 458s run (gio, dynamic): OK 458s + pkg-config --cflags --libs gio-unix-2.0 458s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 458s build (gio-unix, dynamic): OK 458s + echo build (gio-unix, dynamic): OK 458s + [ -x gio-unix-dynamic ] 458s + foo=bar ./gio-unix-dynamic 458s run (gio-unix, dynamic): OK 458s + echo run (gio-unix, dynamic): OK 458s + cflags= 458s + pcflags= 458s + packages=gmodule-2.0 458s + pkg-config --cflags --libs gmodule-2.0 458s + gcc -o gmodule-dynamic gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 458s + echo build (gmodule, dynamic): OK 458s + [ -x gmodule-dynamic ] 458s + foo=bar ./gmodule-dynamic 458s build (gmodule, dynamic): OK 458s + echo run (gmodule, dynamic): OK 458s + cflags= 458s + pcflags= 458s + packages=gthread-2.0 458s run (gmodule, dynamic): OK 458s + pkg-config --cflags --libs gthread-2.0 458s + gcc -o gthread-dynamic gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 458s build (gthread, dynamic): OK 458s + echo build (gthread, dynamic): OK 458s + [ -x gthread-dynamic ] 458s + foo=bar ./gthread-dynamic 458s + echo run (gthread, dynamic): OK 458s + rm -rf /tmp/tmp.nKyrxVWWdu 458s run (gthread, dynamic): OK 458s autopkgtest [17:24:26]: test build: -----------------------] 459s autopkgtest [17:24:27]: test build: - - - - - - - - - - results - - - - - - - - - - 459s build PASS (superficial) 460s autopkgtest [17:24:28]: test build-static: preparing testbed 467s Reading package lists... 467s Building dependency tree... 467s Reading state information... 467s Starting pkgProblemResolver with broken count: 0 467s Starting 2 pkgProblemResolver with broken count: 0 467s Done 468s The following NEW packages will be installed: 468s autopkgtest-satdep 468s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 468s Need to get 0 B/728 B of archives. 468s After this operation, 0 B of additional disk space will be used. 468s Get:1 /tmp/autopkgtest.j6pWWo/2-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [728 B] 468s Selecting previously unselected package autopkgtest-satdep. 468s (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 ... 73474 files and directories currently installed.) 468s Preparing to unpack .../2-autopkgtest-satdep.deb ... 468s Unpacking autopkgtest-satdep (0) ... 468s Setting up autopkgtest-satdep (0) ... 470s (Reading database ... 73474 files and directories currently installed.) 470s Removing autopkgtest-satdep (0) ... 471s autopkgtest [17:24:39]: test build-static: [----------------------- 471s + mode=dynamic 471s + getopt -o --long static -n debian/tests/build -- --static 471s + getopt_temp= --static -- 471s + eval set -- --static -- 471s + set -- --static -- 471s + true 471s + mode=static 471s + shift 471s + continue 471s + true 471s + shift 471s + break 471s + mktemp -d 471s + WORKDIR=/tmp/tmp.2kMcGICgU3 471s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 471s + cd /tmp/tmp.2kMcGICgU3 471s + [ -n ] 471s + CROSS_COMPILE= 471s + cat 471s + cat 471s + cat 471s + cat 471s + cat 471s + cat 471s + cflags= 471s + pcflags= 471s + packages=glib-2.0 471s + cflags=-static 471s + pcflags=--static 471s + pkg-config --static --cflags --libs glib-2.0 471s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lglib-2.0 -lm -pthread -lpcre2-8 471s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 471s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 471s /usr/bin/ld: (.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 471s /usr/bin/ld: (.text+0x1b4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 471s build (glib, static): OK 471s + echo build (glib, static): OK 471s + [ -x glib-static ] 471s + foo=bar ./glib-static 471s + echo run (glib, static): OK 471s run (glib, static): OK 471s + cflags= 471s + pcflags= 471s + packages=gobject-2.0 471s + cflags=-static 471s + pcflags=--static 471s + pkg-config --static --cflags --libs gobject-2.0 471s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 -lm -pthread -lpcre2-8 -lffi 471s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 471s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 471s /usr/bin/ld: (.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 471s /usr/bin/ld: (.text+0x1b4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 471s + echo build (gobject, static): OK 471s build (gobject, static): OK 471s + [ -x gobject-static ] 471s + foo=bar ./gobject-static 471s + echo run (gobject, static): OK 471s + run (gobject, static): OK 471s cflags= 471s + pcflags= 471s + packages=gio-2.0 471s + cflags=-static 471s + pcflags=--static 471s + continue 471s + cflags= 471s + pcflags= 471s + packages=gio-unix-2.0 471s + cflags=-static 471s + pcflags=--static 471s + continue 471s + cflags= 471s + pcflags= 471s + packages=gmodule-2.0 471s + cflags=-static 471s + pcflags=--static 471s + pkg-config --static --cflags --libs gmodule-2.0 471s + gcc -static -o gmodule-static gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 -lglib-2.0 -lm -pthread -lpcre2-8 471s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 471s (.text+0x9b8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 471s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 471s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 471s /usr/bin/ld: (.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 471s /usr/bin/ld: (.text+0x1b4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 471s + echo build (gmodule, static): OKbuild (gmodule, static): OK 471s 471s + [ -x gmodule-static ] 471s + foo=bar ./gmodule-static 471s run (gmodule, static): OK 471s + echo run (gmodule, static): OK 471s + cflags= 471s + pcflags= 471s + packages=gthread-2.0 471s + cflags=-static 471s + pcflags=--static 471s + pkg-config --static --cflags --libs gthread-2.0 471s + gcc -static -o gthread-static gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 472s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 472s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 472s /usr/bin/ld: (.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 472s /usr/bin/ld: (.text+0x1b4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 472s + echo build (gthread, static): OK 472s build (gthread, static): OK 472s + [ -x gthread-static ] 472s + foo=bar ./gthread-static 472s + echo run (gthread, static): OKrun (gthread, static): OK 472s 472s + rm -rf /tmp/tmp.2kMcGICgU3 472s autopkgtest [17:24:40]: test build-static: -----------------------] 473s autopkgtest [17:24:41]: test build-static: - - - - - - - - - - results - - - - - - - - - - 473s build-static PASS (superficial) 473s autopkgtest [17:24:41]: test installed-tests: preparing testbed 758s autopkgtest [17:29:26]: testbed dpkg architecture: ppc64el 759s autopkgtest [17:29:27]: testbed apt version: 2.7.12 759s autopkgtest [17:29:27]: @@@@@@@@@@@@@@@@@@@@ test bed setup 760s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 760s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3728 kB] 761s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [52.0 kB] 761s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [485 kB] 761s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 761s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [643 kB] 761s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 761s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 761s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 761s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [4009 kB] 762s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 762s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [48.4 kB] 762s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 765s Fetched 9103 kB in 3s (3182 kB/s) 765s Reading package lists... 768s Reading package lists... 768s Building dependency tree... 768s Reading state information... 768s Calculating upgrade... 768s The following packages have been kept back: 768s curl 768s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 768s Reading package lists... 768s Building dependency tree... 768s Reading state information... 769s 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 769s sh: Attempting to set up Debian/Ubuntu apt sources automatically 769s sh: Distribution appears to be Ubuntu 770s Reading package lists... 770s Building dependency tree... 770s Reading state information... 771s eatmydata is already the newest version (131-1). 771s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 771s Reading package lists... 771s Building dependency tree... 771s Reading state information... 771s dbus is already the newest version (1.14.10-4ubuntu1). 771s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 771s Reading package lists... 771s Building dependency tree... 771s Reading state information... 771s rng-tools-debian is already the newest version (2.4). 771s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 771s Reading package lists... 772s Building dependency tree... 772s Reading state information... 772s The following packages will be REMOVED: 772s cloud-init* python3-configobj* python3-debconf* 772s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 772s After this operation, 3252 kB disk space will be freed. 772s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 70095 files and directories currently installed.) 772s Removing cloud-init (24.1.1-0ubuntu1) ... 773s Removing python3-configobj (5.0.8-3) ... 773s Removing python3-debconf (1.5.86) ... 773s Processing triggers for man-db (2.12.0-3) ... 773s (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 ... 69706 files and directories currently installed.) 773s Purging configuration files for cloud-init (24.1.1-0ubuntu1) ... 774s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 774s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 774s invoke-rc.d: policy-rc.d denied execution of try-restart. 774s Reading package lists... 774s Building dependency tree... 774s Reading state information... 774s linux-generic is already the newest version (6.8.0-11.11+1). 774s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 775s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 775s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 775s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 777s Reading package lists... 777s Reading package lists... 778s Building dependency tree... 778s Reading state information... 778s Calculating upgrade... 778s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 778s Reading package lists... 778s Building dependency tree... 778s Reading state information... 778s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 779s autopkgtest [17:29:47]: rebooting testbed after setup commands that affected boot 959s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 979s Reading package lists... 979s Building dependency tree... 979s Reading state information... 979s Starting pkgProblemResolver with broken count: 0 979s Starting 2 pkgProblemResolver with broken count: 0 979s Done 980s The following additional packages will be installed: 980s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 980s libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgirepository-2.0-0 libgl1 980s libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 980s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17 980s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 980s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 980s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 980s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 980s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 980s Suggested packages: 980s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 980s Recommended packages: 980s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 980s xfonts-base 980s The following NEW packages will be installed: 980s autopkgtest-satdep dbus-x11 desktop-file-utils gnome-desktop-testing 980s libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 980s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 980s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 980s libllvm17 libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 980s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 980s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 980s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 980s python3-dbusmock python3-packaging x11-common x11-xkb-utils xserver-common 980s xvfb 980s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 980s Need to get 39.4 MB/39.4 MB of archives. 980s After this operation, 211 MB of additional disk space will be used. 980s Get:1 /tmp/autopkgtest.j6pWWo/3-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 980s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el dbus-x11 ppc64el 1.14.10-4ubuntu1 [24.4 kB] 980s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el desktop-file-utils ppc64el 0.26-1ubuntu5 [62.5 kB] 980s Get:4 http://ftpmaster.internal/ubuntu noble/universe ppc64el gnome-desktop-testing ppc64el 2021.1-3 [16.9 kB] 981s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-amdgpu1 ppc64el 2.4.120-2 [24.5 kB] 981s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-nouveau2 ppc64el 2.4.120-2 [21.2 kB] 981s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-radeon1 ppc64el 2.4.120-2 [30.6 kB] 981s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el libfontenc1 ppc64el 1:1.1.8-1 [15.7 kB] 981s Get:9 http://ftpmaster.internal/ubuntu noble/main ppc64el libgirepository-2.0-0 ppc64el 2.79.2-1~ubuntu1 [84.4 kB] 981s Get:10 http://ftpmaster.internal/ubuntu noble/main ppc64el libvulkan1 ppc64el 1.3.275.0-1 [176 kB] 981s Get:11 http://ftpmaster.internal/ubuntu noble/main ppc64el libglapi-mesa ppc64el 24.0.1-1ubuntu1 [41.8 kB] 982s Get:12 http://ftpmaster.internal/ubuntu noble/main ppc64el libllvm17 ppc64el 1:17.0.6-5build1 [27.3 MB] 993s Get:13 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-dri3-0 ppc64el 1.15-1 [7392 B] 993s Get:14 http://ftpmaster.internal/ubuntu noble/main ppc64el libgl1-mesa-dri ppc64el 24.0.1-1ubuntu1 [5885 kB] 994s Get:15 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-bin ppc64el 2.79.2-1~ubuntu1 [111 kB] 994s Get:16 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 23.2-1 [40.6 kB] 994s Get:17 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-dev-bin ppc64el 2.79.2-1~ubuntu1 [240 kB] 994s Get:18 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-dbusmock all 0.31.1-1 [85.5 kB] 994s Get:19 http://ftpmaster.internal/ubuntu noble/universe ppc64el libglib2.0-tests ppc64el 2.79.2-1~ubuntu1 [2183 kB] 994s Get:20 http://ftpmaster.internal/ubuntu noble/main ppc64el libx11-xcb1 ppc64el 2:1.8.7-1 [7866 B] 994s Get:21 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-dri2-0 ppc64el 1.15-1 [7444 B] 994s Get:22 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-glx0 ppc64el 1.15-1 [26.2 kB] 994s Get:23 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-present0 ppc64el 1.15-1 [5814 B] 994s Get:24 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-randr0 ppc64el 1.15-1 [18.9 kB] 994s Get:25 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-shm0 ppc64el 1.15-1 [5896 B] 994s Get:26 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-sync1 ppc64el 1.15-1 [9720 B] 994s Get:27 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-xfixes0 ppc64el 1.15-1 [10.6 kB] 994s Get:28 http://ftpmaster.internal/ubuntu noble/main ppc64el libxfixes3 ppc64el 1:6.0.0-2 [11.6 kB] 994s Get:29 http://ftpmaster.internal/ubuntu noble/main ppc64el libxshmfence1 ppc64el 1.3-1build4 [5566 B] 994s Get:30 http://ftpmaster.internal/ubuntu noble/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build3 [11.8 kB] 994s Get:31 http://ftpmaster.internal/ubuntu noble/main ppc64el libglx-mesa0 ppc64el 24.0.1-1ubuntu1 [160 kB] 994s Get:32 http://ftpmaster.internal/ubuntu noble/main ppc64el x11-common all 1:7.7+23ubuntu2 [23.4 kB] 994s Get:33 http://ftpmaster.internal/ubuntu noble/main ppc64el libice6 ppc64el 2:1.0.10-1build2 [49.3 kB] 994s Get:34 http://ftpmaster.internal/ubuntu noble/main ppc64el libpixman-1-0 ppc64el 0.42.2-1 [300 kB] 994s Get:35 http://ftpmaster.internal/ubuntu noble/main ppc64el libsm6 ppc64el 2:1.2.3-1build2 [18.5 kB] 994s Get:36 http://ftpmaster.internal/ubuntu noble/main ppc64el libunwind8 ppc64el 1.6.2-3 [59.9 kB] 994s Get:37 http://ftpmaster.internal/ubuntu noble/main ppc64el libxt6 ppc64el 1:1.2.1-1.1 [198 kB] 994s Get:38 http://ftpmaster.internal/ubuntu noble/main ppc64el libxmu6 ppc64el 2:1.1.3-3 [57.2 kB] 994s Get:39 http://ftpmaster.internal/ubuntu noble/main ppc64el libxpm4 ppc64el 1:3.5.17-1 [48.6 kB] 994s Get:40 http://ftpmaster.internal/ubuntu noble/main ppc64el libxaw7 ppc64el 2:1.0.14-1 [227 kB] 994s Get:41 http://ftpmaster.internal/ubuntu noble/main ppc64el libxfont2 ppc64el 1:2.0.6-1 [115 kB] 994s Get:42 http://ftpmaster.internal/ubuntu noble/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build3 [89.3 kB] 994s Get:43 http://ftpmaster.internal/ubuntu noble/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1 [23.3 kB] 994s Get:44 http://ftpmaster.internal/ubuntu noble/main ppc64el libxrandr2 ppc64el 2:1.5.2-2 [22.7 kB] 994s Get:45 http://ftpmaster.internal/ubuntu noble/main ppc64el x11-xkb-utils ppc64el 7.7+8 [199 kB] 994s Get:46 http://ftpmaster.internal/ubuntu noble/main ppc64el xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 994s Get:47 http://ftpmaster.internal/ubuntu noble/main ppc64el libglvnd0 ppc64el 1.7.0-1 [84.0 kB] 994s Get:48 http://ftpmaster.internal/ubuntu noble/main ppc64el libglx0 ppc64el 1.7.0-1 [42.1 kB] 994s Get:49 http://ftpmaster.internal/ubuntu noble/main ppc64el libgl1 ppc64el 1.7.0-1 [108 kB] 994s Get:50 http://ftpmaster.internal/ubuntu noble/universe ppc64el xvfb ppc64el 2:21.1.11-2ubuntu1 [1093 kB] 995s Fetched 39.4 MB in 15s (2625 kB/s) 995s Selecting previously unselected package dbus-x11. 995s (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 ... 69651 files and directories currently installed.) 995s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu1_ppc64el.deb ... 995s Unpacking dbus-x11 (1.14.10-4ubuntu1) ... 995s Selecting previously unselected package desktop-file-utils. 995s Preparing to unpack .../01-desktop-file-utils_0.26-1ubuntu5_ppc64el.deb ... 995s Unpacking desktop-file-utils (0.26-1ubuntu5) ... 995s Selecting previously unselected package gnome-desktop-testing. 995s Preparing to unpack .../02-gnome-desktop-testing_2021.1-3_ppc64el.deb ... 995s Unpacking gnome-desktop-testing (2021.1-3) ... 995s Selecting previously unselected package libdrm-amdgpu1:ppc64el. 995s Preparing to unpack .../03-libdrm-amdgpu1_2.4.120-2_ppc64el.deb ... 995s Unpacking libdrm-amdgpu1:ppc64el (2.4.120-2) ... 995s Selecting previously unselected package libdrm-nouveau2:ppc64el. 995s Preparing to unpack .../04-libdrm-nouveau2_2.4.120-2_ppc64el.deb ... 995s Unpacking libdrm-nouveau2:ppc64el (2.4.120-2) ... 995s Selecting previously unselected package libdrm-radeon1:ppc64el. 995s Preparing to unpack .../05-libdrm-radeon1_2.4.120-2_ppc64el.deb ... 995s Unpacking libdrm-radeon1:ppc64el (2.4.120-2) ... 995s Selecting previously unselected package libfontenc1:ppc64el. 995s Preparing to unpack .../06-libfontenc1_1%3a1.1.8-1_ppc64el.deb ... 995s Unpacking libfontenc1:ppc64el (1:1.1.8-1) ... 995s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 995s Preparing to unpack .../07-libgirepository-2.0-0_2.79.2-1~ubuntu1_ppc64el.deb ... 995s Unpacking libgirepository-2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 995s Selecting previously unselected package libvulkan1:ppc64el. 995s Preparing to unpack .../08-libvulkan1_1.3.275.0-1_ppc64el.deb ... 995s Unpacking libvulkan1:ppc64el (1.3.275.0-1) ... 995s Selecting previously unselected package libglapi-mesa:ppc64el. 995s Preparing to unpack .../09-libglapi-mesa_24.0.1-1ubuntu1_ppc64el.deb ... 995s Unpacking libglapi-mesa:ppc64el (24.0.1-1ubuntu1) ... 995s Selecting previously unselected package libllvm17:ppc64el. 995s Preparing to unpack .../10-libllvm17_1%3a17.0.6-5build1_ppc64el.deb ... 995s Unpacking libllvm17:ppc64el (1:17.0.6-5build1) ... 996s Selecting previously unselected package libxcb-dri3-0:ppc64el. 996s Preparing to unpack .../11-libxcb-dri3-0_1.15-1_ppc64el.deb ... 996s Unpacking libxcb-dri3-0:ppc64el (1.15-1) ... 996s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 996s Preparing to unpack .../12-libgl1-mesa-dri_24.0.1-1ubuntu1_ppc64el.deb ... 996s Unpacking libgl1-mesa-dri:ppc64el (24.0.1-1ubuntu1) ... 996s Selecting previously unselected package libglib2.0-bin. 996s Preparing to unpack .../13-libglib2.0-bin_2.79.2-1~ubuntu1_ppc64el.deb ... 996s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 996s Selecting previously unselected package python3-packaging. 996s Preparing to unpack .../14-python3-packaging_23.2-1_all.deb ... 996s Unpacking python3-packaging (23.2-1) ... 996s Selecting previously unselected package libglib2.0-dev-bin. 996s Preparing to unpack .../15-libglib2.0-dev-bin_2.79.2-1~ubuntu1_ppc64el.deb ... 996s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 996s Selecting previously unselected package python3-dbusmock. 996s Preparing to unpack .../16-python3-dbusmock_0.31.1-1_all.deb ... 996s Unpacking python3-dbusmock (0.31.1-1) ... 996s Selecting previously unselected package libglib2.0-tests. 996s Preparing to unpack .../17-libglib2.0-tests_2.79.2-1~ubuntu1_ppc64el.deb ... 996s Unpacking libglib2.0-tests (2.79.2-1~ubuntu1) ... 997s Selecting previously unselected package libx11-xcb1:ppc64el. 997s Preparing to unpack .../18-libx11-xcb1_2%3a1.8.7-1_ppc64el.deb ... 997s Unpacking libx11-xcb1:ppc64el (2:1.8.7-1) ... 997s Selecting previously unselected package libxcb-dri2-0:ppc64el. 997s Preparing to unpack .../19-libxcb-dri2-0_1.15-1_ppc64el.deb ... 997s Unpacking libxcb-dri2-0:ppc64el (1.15-1) ... 997s Selecting previously unselected package libxcb-glx0:ppc64el. 997s Preparing to unpack .../20-libxcb-glx0_1.15-1_ppc64el.deb ... 997s Unpacking libxcb-glx0:ppc64el (1.15-1) ... 997s Selecting previously unselected package libxcb-present0:ppc64el. 997s Preparing to unpack .../21-libxcb-present0_1.15-1_ppc64el.deb ... 997s Unpacking libxcb-present0:ppc64el (1.15-1) ... 997s Selecting previously unselected package libxcb-randr0:ppc64el. 997s Preparing to unpack .../22-libxcb-randr0_1.15-1_ppc64el.deb ... 997s Unpacking libxcb-randr0:ppc64el (1.15-1) ... 997s Selecting previously unselected package libxcb-shm0:ppc64el. 997s Preparing to unpack .../23-libxcb-shm0_1.15-1_ppc64el.deb ... 997s Unpacking libxcb-shm0:ppc64el (1.15-1) ... 997s Selecting previously unselected package libxcb-sync1:ppc64el. 997s Preparing to unpack .../24-libxcb-sync1_1.15-1_ppc64el.deb ... 997s Unpacking libxcb-sync1:ppc64el (1.15-1) ... 997s Selecting previously unselected package libxcb-xfixes0:ppc64el. 997s Preparing to unpack .../25-libxcb-xfixes0_1.15-1_ppc64el.deb ... 997s Unpacking libxcb-xfixes0:ppc64el (1.15-1) ... 997s Selecting previously unselected package libxfixes3:ppc64el. 997s Preparing to unpack .../26-libxfixes3_1%3a6.0.0-2_ppc64el.deb ... 997s Unpacking libxfixes3:ppc64el (1:6.0.0-2) ... 997s Selecting previously unselected package libxshmfence1:ppc64el. 997s Preparing to unpack .../27-libxshmfence1_1.3-1build4_ppc64el.deb ... 997s Unpacking libxshmfence1:ppc64el (1.3-1build4) ... 997s Selecting previously unselected package libxxf86vm1:ppc64el. 997s Preparing to unpack .../28-libxxf86vm1_1%3a1.1.4-1build3_ppc64el.deb ... 997s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build3) ... 997s Selecting previously unselected package libglx-mesa0:ppc64el. 997s Preparing to unpack .../29-libglx-mesa0_24.0.1-1ubuntu1_ppc64el.deb ... 997s Unpacking libglx-mesa0:ppc64el (24.0.1-1ubuntu1) ... 997s Selecting previously unselected package x11-common. 997s Preparing to unpack .../30-x11-common_1%3a7.7+23ubuntu2_all.deb ... 997s Unpacking x11-common (1:7.7+23ubuntu2) ... 997s Selecting previously unselected package libice6:ppc64el. 997s Preparing to unpack .../31-libice6_2%3a1.0.10-1build2_ppc64el.deb ... 997s Unpacking libice6:ppc64el (2:1.0.10-1build2) ... 997s Selecting previously unselected package libpixman-1-0:ppc64el. 997s Preparing to unpack .../32-libpixman-1-0_0.42.2-1_ppc64el.deb ... 997s Unpacking libpixman-1-0:ppc64el (0.42.2-1) ... 997s Selecting previously unselected package libsm6:ppc64el. 997s Preparing to unpack .../33-libsm6_2%3a1.2.3-1build2_ppc64el.deb ... 997s Unpacking libsm6:ppc64el (2:1.2.3-1build2) ... 997s Selecting previously unselected package libunwind8:ppc64el. 997s Preparing to unpack .../34-libunwind8_1.6.2-3_ppc64el.deb ... 997s Unpacking libunwind8:ppc64el (1.6.2-3) ... 997s Selecting previously unselected package libxt6:ppc64el. 997s Preparing to unpack .../35-libxt6_1%3a1.2.1-1.1_ppc64el.deb ... 997s Unpacking libxt6:ppc64el (1:1.2.1-1.1) ... 997s Selecting previously unselected package libxmu6:ppc64el. 997s Preparing to unpack .../36-libxmu6_2%3a1.1.3-3_ppc64el.deb ... 997s Unpacking libxmu6:ppc64el (2:1.1.3-3) ... 997s Selecting previously unselected package libxpm4:ppc64el. 997s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1_ppc64el.deb ... 997s Unpacking libxpm4:ppc64el (1:3.5.17-1) ... 997s Selecting previously unselected package libxaw7:ppc64el. 997s Preparing to unpack .../38-libxaw7_2%3a1.0.14-1_ppc64el.deb ... 997s Unpacking libxaw7:ppc64el (2:1.0.14-1) ... 997s Selecting previously unselected package libxfont2:ppc64el. 997s Preparing to unpack .../39-libxfont2_1%3a2.0.6-1_ppc64el.deb ... 997s Unpacking libxfont2:ppc64el (1:2.0.6-1) ... 997s Selecting previously unselected package libxkbfile1:ppc64el. 997s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build3_ppc64el.deb ... 997s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build3) ... 997s Selecting previously unselected package libxrender1:ppc64el. 997s Preparing to unpack .../41-libxrender1_1%3a0.9.10-1.1_ppc64el.deb ... 997s Unpacking libxrender1:ppc64el (1:0.9.10-1.1) ... 997s Selecting previously unselected package libxrandr2:ppc64el. 997s Preparing to unpack .../42-libxrandr2_2%3a1.5.2-2_ppc64el.deb ... 997s Unpacking libxrandr2:ppc64el (2:1.5.2-2) ... 997s Selecting previously unselected package x11-xkb-utils. 997s Preparing to unpack .../43-x11-xkb-utils_7.7+8_ppc64el.deb ... 997s Unpacking x11-xkb-utils (7.7+8) ... 997s Selecting previously unselected package xserver-common. 997s Preparing to unpack .../44-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 997s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 997s Selecting previously unselected package libglvnd0:ppc64el. 997s Preparing to unpack .../45-libglvnd0_1.7.0-1_ppc64el.deb ... 997s Unpacking libglvnd0:ppc64el (1.7.0-1) ... 997s Selecting previously unselected package libglx0:ppc64el. 997s Preparing to unpack .../46-libglx0_1.7.0-1_ppc64el.deb ... 997s Unpacking libglx0:ppc64el (1.7.0-1) ... 997s Selecting previously unselected package libgl1:ppc64el. 997s Preparing to unpack .../47-libgl1_1.7.0-1_ppc64el.deb ... 997s Unpacking libgl1:ppc64el (1.7.0-1) ... 997s Selecting previously unselected package xvfb. 997s Preparing to unpack .../48-xvfb_2%3a21.1.11-2ubuntu1_ppc64el.deb ... 997s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 997s Selecting previously unselected package autopkgtest-satdep. 997s Preparing to unpack .../49-3-autopkgtest-satdep.deb ... 997s Unpacking autopkgtest-satdep (0) ... 997s Setting up gnome-desktop-testing (2021.1-3) ... 997s Setting up libxcb-dri3-0:ppc64el (1.15-1) ... 997s Setting up libpixman-1-0:ppc64el (0.42.2-1) ... 997s Setting up libx11-xcb1:ppc64el (2:1.8.7-1) ... 997s Setting up libdrm-nouveau2:ppc64el (2.4.120-2) ... 997s Setting up libxcb-xfixes0:ppc64el (1.15-1) ... 997s Setting up desktop-file-utils (0.26-1ubuntu5) ... 997s Setting up libxpm4:ppc64el (1:3.5.17-1) ... 997s Setting up libxrender1:ppc64el (1:0.9.10-1.1) ... 997s Setting up libgirepository-2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 997s Setting up libdrm-radeon1:ppc64el (2.4.120-2) ... 997s Setting up libglvnd0:ppc64el (1.7.0-1) ... 997s Setting up libxcb-glx0:ppc64el (1.15-1) ... 997s Setting up x11-common (1:7.7+23ubuntu2) ... 998s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 998s Setting up libxcb-shm0:ppc64el (1.15-1) ... 998s Setting up libunwind8:ppc64el (1.6.2-3) ... 998s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build3) ... 998s Setting up libxcb-present0:ppc64el (1.15-1) ... 998s Setting up libfontenc1:ppc64el (1:1.1.8-1) ... 998s Setting up python3-packaging (23.2-1) ... 998s Setting up libxfixes3:ppc64el (1:6.0.0-2) ... 998s Setting up libxcb-sync1:ppc64el (1.15-1) ... 998s Setting up libxrandr2:ppc64el (2:1.5.2-2) ... 998s Setting up libglapi-mesa:ppc64el (24.0.1-1ubuntu1) ... 998s Setting up libvulkan1:ppc64el (1.3.275.0-1) ... 998s Setting up libxcb-dri2-0:ppc64el (1.15-1) ... 998s Setting up libxshmfence1:ppc64el (1.3-1build4) ... 998s Setting up dbus-x11 (1.14.10-4ubuntu1) ... 998s Setting up libxcb-randr0:ppc64el (1.15-1) ... 998s Setting up libxkbfile1:ppc64el (1:1.1.0-1build3) ... 998s Setting up libllvm17:ppc64el (1:17.0.6-5build1) ... 998s Setting up libxfont2:ppc64el (1:2.0.6-1) ... 998s Setting up libdrm-amdgpu1:ppc64el (2.4.120-2) ... 998s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 998s Setting up libice6:ppc64el (2:1.0.10-1build2) ... 998s Setting up libgl1-mesa-dri:ppc64el (24.0.1-1ubuntu1) ... 998s Setting up python3-dbusmock (0.31.1-1) ... 998s Setting up libglib2.0-tests (2.79.2-1~ubuntu1) ... 998s Setting up libsm6:ppc64el (2:1.2.3-1build2) ... 998s Setting up libglx-mesa0:ppc64el (24.0.1-1ubuntu1) ... 998s Setting up libglx0:ppc64el (1.7.0-1) ... 998s Setting up libgl1:ppc64el (1.7.0-1) ... 998s Setting up libxt6:ppc64el (1:1.2.1-1.1) ... 998s Setting up libxmu6:ppc64el (2:1.1.3-3) ... 998s Setting up libxaw7:ppc64el (2:1.0.14-1) ... 998s Setting up x11-xkb-utils (7.7+8) ... 998s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 999s Setting up xvfb (2:21.1.11-2ubuntu1) ... 999s Setting up autopkgtest-satdep (0) ... 999s Processing triggers for man-db (2.12.0-3) ... 999s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1002s (Reading database ... 71090 files and directories currently installed.) 1002s Removing autopkgtest-satdep (0) ... 1026s autopkgtest [17:33:54]: test installed-tests: [----------------------- 1026s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 1026s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1026s group entry: ubuntu:x:1000: 1026s Environment: 1026s ADTTMP=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp 1026s ADT_ARTIFACTS=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts 1026s ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2 1026s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts 1026s AUTOPKGTEST_TESTBED_ARCH=ppc64el 1026s AUTOPKGTEST_TEST_ARCH=ppc64el 1026s AUTOPKGTEST_TMP=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp 1026s DEBIAN_FRONTEND=noninteractive 1026s DEB_BUILD_OPTIONS=parallel=1 1026s GIO_USE_VFS=local 1026s GIO_USE_VOLUME_MONITOR=unix 1026s HOME=/home/ubuntu 1026s LANG=C.UTF-8 1026s LOGNAME=ubuntu 1026s MAIL=/var/mail/ubuntu 1026s OLDPWD=/home/ubuntu 1026s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1026s PWD=/tmp/autopkgtest.j6pWWo/build.Lil/src 1026s SHELL=/bin/bash 1026s SHLVL=1 1026s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests 1026s SUDO_GID=1000 1026s SUDO_UID=1000 1026s SUDO_USER=ubuntu 1026s TERM=linux 1026s USER=ubuntu 1026s XDG_RUNTIME_DIR=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp 1026s http_proxy=http://squid.internal:3128 1026s https_proxy=http://squid.internal:3128 1026s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 1026s run-with-locales: de_DE=ISO-8859-1... 1026s Character set: ISO-8859-1 1026s Source file: de_DE 1026s Output: /tmp/tmp.KYxO2BtRvV/de_DE 1027s run-with-locales: de_DE.utf8... 1027s Character set: UTF-8 1027s Source file: de_DE 1027s Output: /tmp/tmp.KYxO2BtRvV/de_DE.utf8 1028s run-with-locales: de_DE@euro.utf8... 1028s Character set: UTF-8 1028s Source file: de_DE@euro 1028s Output: /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8 1030s run-with-locales: el_GR.utf8... 1030s Character set: UTF-8 1030s Source file: el_GR 1030s Output: /tmp/tmp.KYxO2BtRvV/el_GR.utf8 1031s run-with-locales: en_GB=ISO-8859-1... 1031s Character set: ISO-8859-1 1031s Source file: en_GB 1031s Output: /tmp/tmp.KYxO2BtRvV/en_GB 1032s run-with-locales: en_GB.utf8... 1032s Character set: UTF-8 1032s Source file: en_GB 1032s Output: /tmp/tmp.KYxO2BtRvV/en_GB.utf8 1033s run-with-locales: en_US=ISO-8859-1... 1033s Character set: ISO-8859-1 1033s Source file: en_US 1033s Output: /tmp/tmp.KYxO2BtRvV/en_US 1034s run-with-locales: en_US.utf8... 1034s Character set: UTF-8 1034s Source file: en_US 1034s Output: /tmp/tmp.KYxO2BtRvV/en_US.utf8 1035s run-with-locales: es_ES.utf8... 1035s Character set: UTF-8 1035s Source file: es_ES 1035s Output: /tmp/tmp.KYxO2BtRvV/es_ES.utf8 1037s run-with-locales: fa_IR=UTF-8... 1037s Character set: UTF-8 1037s Source file: fa_IR 1037s Output: /tmp/tmp.KYxO2BtRvV/fa_IR 1038s run-with-locales: fa_IR.utf8... 1038s Character set: UTF-8 1038s Source file: fa_IR 1038s Output: /tmp/tmp.KYxO2BtRvV/fa_IR.utf8 1039s run-with-locales: fr_FR.utf8... 1039s Character set: UTF-8 1039s Source file: fr_FR 1039s Output: /tmp/tmp.KYxO2BtRvV/fr_FR.utf8 1041s run-with-locales: hr_HR.utf8... 1041s Character set: UTF-8 1041s Source file: hr_HR 1041s Output: /tmp/tmp.KYxO2BtRvV/hr_HR.utf8 1042s run-with-locales: ja_JP.utf8... 1042s Character set: UTF-8 1042s Source file: ja_JP 1042s Output: /tmp/tmp.KYxO2BtRvV/ja_JP.utf8 1043s run-with-locales: ja_JP.EUC-JP... 1043s Character set: EUC-JP 1043s Source file: ja_JP 1043s Output: /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp 1043s run-with-locales: lt_LT.utf8... 1043s Character set: UTF-8 1043s Source file: lt_LT 1043s Output: /tmp/tmp.KYxO2BtRvV/lt_LT.utf8 1045s run-with-locales: pl_PL=ISO-8859-2... 1045s Character set: ISO-8859-2 1045s Source file: pl_PL 1045s Output: /tmp/tmp.KYxO2BtRvV/pl_PL 1045s run-with-locales: pl_PL.ISO-8859-2... 1045s Character set: ISO-8859-2 1045s Source file: pl_PL 1045s Output: /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592 1046s run-with-locales: pl_PL.utf8... 1046s Character set: UTF-8 1046s Source file: pl_PL 1046s Output: /tmp/tmp.KYxO2BtRvV/pl_PL.utf8 1047s run-with-locales: ru_RU=ISO-8859-5... 1047s Character set: ISO-8859-5 1047s Source file: ru_RU 1047s Output: /tmp/tmp.KYxO2BtRvV/ru_RU 1048s run-with-locales: ru_RU.utf8... 1048s Character set: UTF-8 1048s Source file: ru_RU 1048s Output: /tmp/tmp.KYxO2BtRvV/ru_RU.utf8 1049s run-with-locales: sr_RS=UTF-8... 1049s Character set: UTF-8 1049s Source file: sr_RS 1049s Output: /tmp/tmp.KYxO2BtRvV/sr_RS 1050s run-with-locales: sr_RS@latin=UTF-8... 1050s Character set: UTF-8 1050s Source file: sr_RS@latin 1050s Output: /tmp/tmp.KYxO2BtRvV/sr_RS@latin 1052s run-with-locales: sv_SE=ISO-8859-1... 1052s Character set: ISO-8859-1 1052s Source file: sv_SE 1052s Output: /tmp/tmp.KYxO2BtRvV/sv_SE 1052s run-with-locales: sv_SE.utf8... 1052s Character set: UTF-8 1052s Source file: sv_SE 1052s Output: /tmp/tmp.KYxO2BtRvV/sv_SE.utf8 1054s run-with-locales: tr_TR=ISO-8859-9... 1054s Character set: ISO-8859-9 1054s Source file: tr_TR 1054s Output: /tmp/tmp.KYxO2BtRvV/tr_TR 1054s run-with-locales: tr_TR.utf8... 1054s Character set: UTF-8 1054s Source file: tr_TR 1054s Output: /tmp/tmp.KYxO2BtRvV/tr_TR.utf8 1056s run-with-locales: tt_RU=UTF-8... 1056s Character set: UTF-8 1056s Source file: tt_RU 1056s Output: /tmp/tmp.KYxO2BtRvV/tt_RU 1057s run-with-locales: tt_RU.utf8... 1057s Character set: UTF-8 1057s Source file: tt_RU 1057s Output: /tmp/tmp.KYxO2BtRvV/tt_RU.utf8 1058s run-with-locales: tt_RU@iqtelif=UTF-8... 1058s Character set: UTF-8 1058s Source file: tt_RU@iqtelif 1058s Output: /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif 1060s /tmp/tmp.KYxO2BtRvV 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.utf8 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/es_ES.utf8 1060s /tmp/tmp.KYxO2BtRvV/es_ES.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/es_ES.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/es_ES.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/es_ES.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/es_ES.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/es_ES.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/es_ES.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/es_ES.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/es_ES.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/es_ES.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/es_ES.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/es_ES.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/en_GB 1060s /tmp/tmp.KYxO2BtRvV/en_GB/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/en_GB/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/en_GB/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/en_GB/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/en_GB/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/en_GB/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/en_GB/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/en_GB/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/en_GB/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/en_GB/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/en_GB/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/en_GB/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/sv_SE.utf8 1060s /tmp/tmp.KYxO2BtRvV/sv_SE.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/sv_SE.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/sv_SE.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/sv_SE.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/sv_SE.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/sv_SE.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/sv_SE.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/sv_SE.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/sv_SE.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/sv_SE.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/sv_SE.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/sv_SE.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/en_US 1060s /tmp/tmp.KYxO2BtRvV/en_US/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/en_US/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/en_US/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/en_US/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/en_US/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/en_US/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/en_US/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/en_US/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/en_US/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/en_US/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/en_US/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/en_US/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/ru_RU 1060s /tmp/tmp.KYxO2BtRvV/ru_RU/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/ru_RU/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/ru_RU/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/ru_RU/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/ru_RU/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/ru_RU/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/ru_RU/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/ru_RU/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/ru_RU/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/ru_RU/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/ru_RU/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/ru_RU/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/tr_TR.utf8 1060s /tmp/tmp.KYxO2BtRvV/tr_TR.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/tr_TR.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/tr_TR.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/tr_TR.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/tr_TR.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/tr_TR.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/tr_TR.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/tr_TR.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/tr_TR.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/tr_TR.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/tr_TR.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/tr_TR.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/en_GB.utf8 1060s /tmp/tmp.KYxO2BtRvV/en_GB.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/en_GB.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/en_GB.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/en_GB.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/en_GB.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/en_GB.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/en_GB.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/en_GB.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/en_GB.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/en_GB.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/en_GB.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/en_GB.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.utf8 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/sv_SE 1060s /tmp/tmp.KYxO2BtRvV/sv_SE/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/sv_SE/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/sv_SE/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/sv_SE/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/sv_SE/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/sv_SE/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/sv_SE/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/sv_SE/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/sv_SE/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/sv_SE/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/sv_SE/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/sv_SE/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/fa_IR 1060s /tmp/tmp.KYxO2BtRvV/fa_IR/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/fa_IR/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/fa_IR/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/fa_IR/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/fa_IR/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/fa_IR/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/fa_IR/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/fa_IR/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/fa_IR/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/fa_IR/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/fa_IR/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/fa_IR/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/hr_HR.utf8 1060s /tmp/tmp.KYxO2BtRvV/hr_HR.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/hr_HR.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/hr_HR.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/hr_HR.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/hr_HR.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/hr_HR.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/hr_HR.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/hr_HR.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/hr_HR.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/hr_HR.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/hr_HR.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/hr_HR.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/fa_IR.utf8 1060s /tmp/tmp.KYxO2BtRvV/fa_IR.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/fa_IR.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/fa_IR.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/fa_IR.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/fa_IR.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/fa_IR.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/fa_IR.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/fa_IR.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/fa_IR.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/fa_IR.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/fa_IR.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/fa_IR.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/de_DE.utf8 1060s /tmp/tmp.KYxO2BtRvV/de_DE.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/de_DE.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/de_DE.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/de_DE.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/de_DE.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/de_DE.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/de_DE.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/de_DE.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/de_DE.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/de_DE.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/de_DE.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/de_DE.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/en_US.utf8 1060s /tmp/tmp.KYxO2BtRvV/en_US.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/en_US.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/en_US.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/en_US.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/en_US.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/en_US.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/en_US.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/en_US.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/en_US.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/en_US.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/en_US.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/en_US.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/de_DE 1060s /tmp/tmp.KYxO2BtRvV/de_DE/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/de_DE/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/de_DE/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/de_DE/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/de_DE/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/de_DE/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/de_DE/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/de_DE/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/de_DE/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/de_DE/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/de_DE/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/de_DE/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif 1060s /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/el_GR.utf8 1060s /tmp/tmp.KYxO2BtRvV/el_GR.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/el_GR.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/el_GR.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/el_GR.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/el_GR.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/el_GR.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/el_GR.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/el_GR.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/el_GR.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/el_GR.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/el_GR.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/el_GR.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/tr_TR 1060s /tmp/tmp.KYxO2BtRvV/tr_TR/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/tr_TR/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/tr_TR/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/tr_TR/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/tr_TR/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/tr_TR/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/tr_TR/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/tr_TR/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/tr_TR/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/tr_TR/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/tr_TR/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/tr_TR/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/fr_FR.utf8 1060s /tmp/tmp.KYxO2BtRvV/fr_FR.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/fr_FR.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/fr_FR.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/fr_FR.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/fr_FR.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/fr_FR.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/fr_FR.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/fr_FR.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/fr_FR.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/fr_FR.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/fr_FR.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/fr_FR.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8 1060s /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/lt_LT.utf8 1060s /tmp/tmp.KYxO2BtRvV/lt_LT.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/lt_LT.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/lt_LT.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/lt_LT.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/lt_LT.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/lt_LT.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/lt_LT.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/lt_LT.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/lt_LT.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/lt_LT.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/lt_LT.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/lt_LT.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/sr_RS 1060s /tmp/tmp.KYxO2BtRvV/sr_RS/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/sr_RS/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/sr_RS/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/sr_RS/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/sr_RS/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/sr_RS/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/sr_RS/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/sr_RS/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/sr_RS/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/sr_RS/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/sr_RS/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/sr_RS/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/pl_PL 1060s /tmp/tmp.KYxO2BtRvV/pl_PL/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/pl_PL/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/pl_PL/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/pl_PL/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/pl_PL/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/pl_PL/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/pl_PL/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/pl_PL/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/pl_PL/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/pl_PL/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/pl_PL/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/pl_PL/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/sr_RS@latin 1060s /tmp/tmp.KYxO2BtRvV/sr_RS@latin/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/sr_RS@latin/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/sr_RS@latin/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/sr_RS@latin/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/sr_RS@latin/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/sr_RS@latin/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/sr_RS@latin/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/sr_RS@latin/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/sr_RS@latin/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/sr_RS@latin/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/sr_RS@latin/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/sr_RS@latin/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/tt_RU.utf8 1060s /tmp/tmp.KYxO2BtRvV/tt_RU.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/tt_RU.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/tt_RU.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/tt_RU.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/tt_RU.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/tt_RU.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/tt_RU.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/tt_RU.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/tt_RU.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/tt_RU.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/tt_RU.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/tt_RU.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/ru_RU.utf8 1060s /tmp/tmp.KYxO2BtRvV/ru_RU.utf8/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/ru_RU.utf8/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/ru_RU.utf8/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/ru_RU.utf8/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/ru_RU.utf8/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/ru_RU.utf8/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/ru_RU.utf8/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/ru_RU.utf8/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/ru_RU.utf8/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/ru_RU.utf8/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/ru_RU.utf8/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/ru_RU.utf8/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/tt_RU 1060s /tmp/tmp.KYxO2BtRvV/tt_RU/LC_MONETARY 1060s /tmp/tmp.KYxO2BtRvV/tt_RU/LC_NUMERIC 1060s /tmp/tmp.KYxO2BtRvV/tt_RU/LC_CTYPE 1060s /tmp/tmp.KYxO2BtRvV/tt_RU/LC_NAME 1060s /tmp/tmp.KYxO2BtRvV/tt_RU/LC_ADDRESS 1060s /tmp/tmp.KYxO2BtRvV/tt_RU/LC_IDENTIFICATION 1060s /tmp/tmp.KYxO2BtRvV/tt_RU/LC_COLLATE 1060s /tmp/tmp.KYxO2BtRvV/tt_RU/LC_TELEPHONE 1060s /tmp/tmp.KYxO2BtRvV/tt_RU/LC_PAPER 1060s /tmp/tmp.KYxO2BtRvV/tt_RU/LC_MEASUREMENT 1060s /tmp/tmp.KYxO2BtRvV/tt_RU/LC_TIME 1060s /tmp/tmp.KYxO2BtRvV/tt_RU/LC_MESSAGES 1060s /tmp/tmp.KYxO2BtRvV/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1060s 1..315 1060s # Running test: glib/buffered-output-stream.test 1060s TAP version 13 1060s # random seed: R02S46aadc8abc3c5d57bef4b474f267f8d5 1060s 1..5 1060s # Start of buffered-output-stream tests 1060s ok 1 /buffered-output-stream/write 1060s ok 2 /buffered-output-stream/grow 1060s ok 3 /buffered-output-stream/seek 1060s ok 4 /buffered-output-stream/truncate 1060s # End of buffered-output-stream tests 1060s # Start of filter-output-stream tests 1060s ok 5 /filter-output-stream/close 1060s # End of filter-output-stream tests 1060s ok - glib/buffered-output-stream.test 1060s # Running test: glib/gdbus-peer-object-manager.test 1060s TAP version 13 1060s # random seed: R02Sfc62073aa34c1ce3e806524ead045249 1060s 1..2 1060s # Start of gdbus tests 1060s # Start of peer-object-manager tests 1060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/normal/.dirs/home 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/normal/.dirs/cache 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/normal/.dirs/system-config2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/normal/.dirs/config 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/normal/.dirs/system-data2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/normal/.dirs/data 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/normal/.dirs/state 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/normal/.dirs/runtime 1060s ok 1 /gdbus/peer-object-manager/normal 1060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/root/.dirs/home 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/root/.dirs/cache 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/root/.dirs/system-config2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/root/.dirs/config 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/root/.dirs/system-data2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/root/.dirs/data 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/root/.dirs/state 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_4SYZK2/gdbus/peer-object-manager/root/.dirs/runtime 1060s ok 2 /gdbus/peer-object-manager/root 1060s # End of peer-object-manager tests 1060s # End of gdbus tests 1060s ok - glib/gdbus-peer-object-manager.test 1060s # Running test: glib/messages-low-memory.py.test 1060s TAP version 13 1060s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1060s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1060s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 1060s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1060s # Return code: -6 1060s # Output: 1060s # Error: GLib-Message: 17:34:28.393: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1060s # GLib-Message: 17:34:28.393: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1060s # ../../../glib/gprintf.c:350: failed to allocate memory 1060s 1..1 1060s ok - glib/messages-low-memory.py.test 1060s # Running test: glib/macros-c-11.test 1060s TAP version 13 1060s # random seed: R02S9835af90388533256823462e402bf772 1060s 1..4 1060s # Start of C tests 1060s ok 1 /C/standard-11 1060s # End of C tests 1060s # Start of alignof tests 1060s ok 2 /alignof/fallback 1060s # End of alignof tests 1060s # Start of assert tests 1060s ok 3 /assert/static 1060s # End of assert tests 1060s # Start of struct tests 1060s ok 4 /struct/sizeof_member 1060s # End of struct tests 1060s ok - glib/macros-c-11.test 1060s # Running test: glib/power-profile-monitor-dbus.test 1060s TAP version 13 1060s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1060s 1..1 1060s ok - glib/power-profile-monitor-dbus.test 1060s # Running test: glib/deprecated-properties.test 1060s TAP version 13 1060s # random seed: R02S9f9780f952406867104adf042f7d1e15 1060s 1..3 1060s # Start of deprecated-properties tests 1060s ok 1 /deprecated-properties/construct 1060s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1060s ok 2 /deprecated-properties/default-construct 1060s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1060s ok 3 /deprecated-properties/set 1060s # End of deprecated-properties tests 1060s ok - glib/deprecated-properties.test 1060s # Running test: glib/gdbus-connection-flush.test 1060s TAP version 13 1060s # random seed: R02Sb1831d46c06fa21d51b1696307d75afd 1060s 1..2 1060s # Start of gdbus tests 1060s # Start of connection tests 1060s # Start of flush tests 1060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/busy/.dirs/home 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/busy/.dirs/cache 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/busy/.dirs/system-config2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/busy/.dirs/config 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/busy/.dirs/system-data2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/busy/.dirs/data 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/busy/.dirs/state 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/busy/.dirs/runtime 1060s ok 1 /gdbus/connection/flush/busy 1060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/idle/.dirs/home 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/idle/.dirs/cache 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/idle/.dirs/system-config2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/idle/.dirs/config 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/idle/.dirs/system-data2 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/idle/.dirs/data 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/idle/.dirs/state 1060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_H1ALK2/gdbus/connection/flush/idle/.dirs/runtime 1060s ok 2 /gdbus/connection/flush/idle 1060s # End of flush tests 1060s # End of connection tests 1060s # End of gdbus tests 1060s ok - glib/gdbus-connection-flush.test 1060s # Running test: glib/testfilemonitor.test 1060s TAP version 13 1060s # random seed: R02Sdd8eb347330923432e5ce80c32497341 1060s 1..8 1060s # Start of monitor tests 1060s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1060s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1060s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1060s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1060s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1060s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1060s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1060s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1060s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1060s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1060s # Start of file tests 1060s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1060s # End of file tests 1060s # End of monitor tests 1060s ok - glib/testfilemonitor.test 1060s # Running test: glib/cmph-bdz.test 1060s TAP version 13 1060s # random seed: R02S9d6249c4b25fef6ff391f41bb4ca99df 1060s 1..2 1060s # Start of cmph-bdz tests 1060s ok 1 /cmph-bdz/search 1060s ok 2 /cmph-bdz/search-packed 1060s # End of cmph-bdz tests 1060s ok - glib/cmph-bdz.test 1060s # Running test: glib/tls-interaction.test 1060s TAP version 13 1060s # random seed: R02S065004a8739e6c5331662e81fa53d9d6 1060s 1..42 1060s # Start of tls-interaction tests 1060s # Start of ask-password tests 1060s # Start of invoke-with-loop tests 1060s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1060s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1060s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1060s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1060s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1060s # End of invoke-with-loop tests 1060s # Start of invoke-without-loop tests 1060s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1060s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1060s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1060s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1060s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1060s # End of invoke-without-loop tests 1060s # Start of invoke-in-loop tests 1060s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1060s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1060s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1060s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1060s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1060s # End of invoke-in-loop tests 1060s # Start of sync tests 1060s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1060s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1060s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1060s # End of sync tests 1060s # Start of async tests 1060s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1060s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1060s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1060s # End of async tests 1060s # End of ask-password tests 1060s # Start of request-certificate tests 1060s # Start of invoke-with-loop tests 1060s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1060s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1060s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1060s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1060s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1060s # End of invoke-with-loop tests 1060s # Start of invoke-without-loop tests 1060s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1060s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1060s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1060s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1060s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1060s # End of invoke-without-loop tests 1060s # Start of invoke-in-loop tests 1060s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1060s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1060s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1060s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1060s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1060s # End of invoke-in-loop tests 1060s # Start of sync tests 1060s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1060s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1060s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1060s # End of sync tests 1060s # Start of async tests 1060s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1060s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1060s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1060s # End of async tests 1060s # End of request-certificate tests 1060s # End of tls-interaction tests 1060s ok - glib/tls-interaction.test 1060s # Running test: glib/mainloop.test 1060s TAP version 13 1060s # random seed: R02Se16c5a24f09512bf3047bcef462a72e0 1060s 1..45 1060s # Start of maincontext tests 1060s ok 1 /maincontext/basic 1060s # Add same-priority sources: 19 1060s # Find each source: 7 1060s # Remove in random order: 32 1060s ok 2 /maincontext/nsources_same_priority 1060s # Add different-priority sources: 24 1060s # Find each source: 8 1061s # Remove in random order: 40 1061s ok 3 /maincontext/nsources_different_priority 1061s # Add sources from threads: 251 1061s # Remove sources from threads: 69 1061s ok 4 /maincontext/nsources_threadpool 1061s ok 5 /maincontext/source_finalization 1061s # /maincontext/idle-once summary: Test g_idle_add_once() works 1061s ok 6 /maincontext/idle-once 1061s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1061s ok 7 /maincontext/timeout-once 1061s # Start of source_finalization_from_source tests 1061s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1061s ok 8 /maincontext/source_finalization_from_source/0 1061s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1061s ok 9 /maincontext/source_finalization_from_source/1 1061s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1061s ok 10 /maincontext/source_finalization_from_source/2 1061s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1061s ok 11 /maincontext/source_finalization_from_source/3 1061s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1061s ok 12 /maincontext/source_finalization_from_source/4 1061s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1061s ok 13 /maincontext/source_finalization_from_source/5 1061s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1061s ok 14 /maincontext/source_finalization_from_source/6 1061s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1061s ok 15 /maincontext/source_finalization_from_source/7 1061s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1061s ok 16 /maincontext/source_finalization_from_source/8 1061s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1061s ok 17 /maincontext/source_finalization_from_source/9 1061s # End of source_finalization_from_source tests 1061s # Start of source_finalization_from_dispatch tests 1061s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1061s ok 18 /maincontext/source_finalization_from_dispatch/0 1061s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1061s ok 19 /maincontext/source_finalization_from_dispatch/1 1061s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1061s ok 20 /maincontext/source_finalization_from_dispatch/2 1061s # End of source_finalization_from_dispatch tests 1061s # End of maincontext tests 1061s # Start of mainloop tests 1061s ok 21 /mainloop/basic 1061s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1061s ok 23 /mainloop/priorities 1061s ok 24 /mainloop/invoke 1061s # slow test /mainloop/invoke executed in 0.50 secs 1063s ok 25 /mainloop/child_sources 1063s # slow test /mainloop/child_sources executed in 1.19 secs 1065s ok 26 /mainloop/recursive_child_sources 1065s # slow test /mainloop/recursive_child_sources executed in 2.18 secs 1065s ok 27 /mainloop/recursive_loop_child_sources 1065s ok 28 /mainloop/swapping_child_sources 1065s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1065s ok 29 /mainloop/blocked_child_sources 1065s # Executing: glib/mainloop.test 1066s ok 30 /mainloop/source_time 1066s # slow test /mainloop/source_time executed in 1.00 secs 1066s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1066s ok 31 /mainloop/overflow 1066s ok 32 /mainloop/ready-time 1066s # slow test /mainloop/ready-time executed in 0.50 secs 1066s ok 33 /mainloop/wakeup 1066s ok 34 /mainloop/remove-invalid 1066s ok 35 /mainloop/unref-while-pending 1068s ok 36 /mainloop/unix-fd 1068s # slow test /mainloop/unix-fd executed in 1.41 secs 1068s ok 37 /mainloop/unix-fd-source 1068s ok 38 /mainloop/source-unix-fd-api 1068s ok 39 /mainloop/wait 1068s ok 40 /mainloop/unix-file-poll 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1068s ok 41 /mainloop/unix-fd-priority 1068s ok 42 /mainloop/nfds 1068s ok 43 /mainloop/steal-fd 1068s # Start of ownerless-polling tests 1068s ok 44 /mainloop/ownerless-polling/attach-first 1068s ok 45 /mainloop/ownerless-polling/pop-first 1068s # End of ownerless-polling tests 1068s # End of mainloop tests 1068s ok - glib/mainloop.test 1068s # Running test: glib/notify-init2.test 1068s TAP version 13 1068s # random seed: R02Sc43839fb5bcc7bf2276ce5f54fc875a3 1068s 1..1 1068s # Start of properties tests 1068s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1068s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1068s ok 1 /properties/notify-in-init2 1068s # End of properties tests 1068s ok - glib/notify-init2.test 1068s # Running test: glib/gobject-query.py.test 1068s TAP version 13 1068s ok 1 __main__.TestGobjectQuery.test_froots 1068s # gobject-query: /usr/bin/gobject-query 1068s # Running: ['/usr/bin/gobject-query', 'froots'] 1068s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1068s # Output: ├void 1068s # ├GInterface 1068s # │ └GTypePlugin 1068s # ├gchar 1068s # ├guchar 1068s # ├gboolean 1068s # ├gint 1068s # ├guint 1068s # ├glong 1068s # ├gulong 1068s # ├gint64 1068s # ├guint64 1068s # ├GEnum 1068s # ├GFlags 1068s # ├gfloat 1068s # ├gdouble 1068s # ├gchararray 1068s # ├gpointer 1068s # │ └GType 1068s # ├GBoxed 1068s # │ └GValueArray 1068s # ├GParam 1068s # │ ├GParamChar 1068s # │ ├GParamUChar 1068s # │ ├GParamBoolean 1068s # │ ├GParamInt 1068s # │ ├GParamUInt 1068s # │ ├GParamLong 1068s # │ ├GParamULong 1068s # │ ├GParamInt64 1068s # │ ├GParamUInt64 1068s # │ ├GParamUnichar 1068s # │ ├GParamEnum 1068s # │ ├GParamFlags 1068s # │ ├GParamFloat 1068s # │ ├GParamDouble 1068s # │ ├GParamString 1068s # │ ├GParamParam 1068s # │ ├GParamBoxed 1068s # │ ├GParamPointer 1068s # │ ├GParamValueArray 1068s # │ ├GParamObject 1068s # │ ├GParamOverride 1068s # │ ├GParamGType 1068s # │ └GParamVariant 1068s # ├GObject 1068s # └GVariant 1068s ok 2 __main__.TestGobjectQuery.test_help 1068s # gobject-query: /usr/bin/gobject-query 1068s # Running: ['/usr/bin/gobject-query', '--help'] 1068s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1068s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1068s # -r specify root type 1068s # -n don't descend type tree 1068s # -h show help 1068s # -b specify indent string 1068s # -i specify incremental indent string 1068s # -s specify line spacing 1068s # qualifiers: 1068s # froots iterate over fundamental roots 1068s # tree print type tree 1068s ok 3 __main__.TestGobjectQuery.test_tree 1068s # gobject-query: /usr/bin/gobject-query 1068s # Running: ['/usr/bin/gobject-query', 'tree'] 1068s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1068s # Output: GObject 1068s ok 4 __main__.TestGobjectQuery.test_version 1068s # gobject-query: /usr/bin/gobject-query 1068s # Running: ['/usr/bin/gobject-query', '--version'] 1068s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1068s # Output: 2.79.2 1068s 1..4 1068s ok - glib/gobject-query.py.test 1068s # Running test: glib/simple-async-result.test 1068s TAP version 13 1068s # random seed: R02S7a994f74af3f8649899bef6bae021eea 1068s 1..2 1068s # Start of gio tests 1068s # Start of simple-async-result tests 1068s ok 1 /gio/simple-async-result/test 1068s # GLib-GIO-DEBUG: GTask 0x6e96b6306e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1068s ok 2 /gio/simple-async-result/valid 1068s # End of simple-async-result tests 1068s # End of gio tests 1068s ok - glib/simple-async-result.test 1068s # Running test: glib/signals-refcount4.test 1068s TAP version 13 1068s # random seed: R02Sdab0766c8901aee5a0aab5214d2a1e34 1068s 1..1 1068s # Start of gobject tests 1068s # Start of refcount tests 1068s # init 0x1ae6cf0bf420 1068s # 1068s # init 0x1ae6cf0bf5c0 1068s # 1070s # Executing: glib/signals-refcount4.test 1073s # dispose 0x1ae6cf0bf420! 1073s # 1073s # dispose 0x1ae6cf0bf5c0! 1073s # 1073s ok 1 /gobject/refcount/signals 1073s # slow test /gobject/refcount/signals executed in 5.00 secs 1073s # End of refcount tests 1073s # End of gobject tests 1073s ok - glib/signals-refcount4.test 1073s # Running test: glib/type-flags.test 1073s TAP version 13 1073s # random seed: R02S9f9be6a1e37a4459d39acfca5172a658 1073s 1..4 1073s # Start of type tests 1073s # Start of flags tests 1073s ok 1 /type/flags/interface 1073s ok 2 /type/flags/final 1073s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1073s ok 3 /type/flags/deprecated 1073s # Start of final tests 1073s ok 4 /type/flags/final/instance-check 1073s # End of final tests 1073s # End of flags tests 1073s # End of type tests 1073s ok - glib/type-flags.test 1073s # Running test: glib/gthash.test 1073s TAP version 13 1073s # random seed: R02S633ef327c24b1d69e7faa6b7e0c583fa 1073s 1..1 1073s # Start of gthash tests 1073s ok 1 /gthash/build-retrieve 1073s # End of gthash tests 1073s ok - glib/gthash.test 1073s # Running test: glib/atomic-c-11.test 1073s TAP version 13 1073s # random seed: R02S3ab0e9b781d74c8fdbadfa160bd62d72 1073s 1..2 1073s # Start of atomic tests 1073s ok 1 /atomic/types 1073s ok 2 /atomic/threaded 1073s # End of atomic tests 1073s ok - glib/atomic-c-11.test 1073s # Running test: glib/testing.test 1073s TAP version 13 1073s # random seed: R02Sd1db994d014a4a657ec8c80544d64841 1073s 1..1 1073s # Start of assert tests 1073s ok 1 /assert/finalize_object 1073s # Start of finalize_object tests 1073s # Start of subprocess tests 1073s # End of subprocess tests 1073s # End of finalize_object tests 1073s # End of assert tests 1073s ok - glib/testing.test 1073s # Running test: glib/asyncqueue.test 1073s TAP version 13 1073s # random seed: R02S2702d552884388dcf56dca27d5ca6701 1073s 1..7 1073s # Start of asyncqueue tests 1073s ok 1 /asyncqueue/basics 1073s ok 2 /asyncqueue/sort 1073s ok 3 /asyncqueue/destroy 1073s ok 4 /asyncqueue/threads 1074s ok 5 /asyncqueue/timed 1074s ok 6 /asyncqueue/remove 1074s ok 7 /asyncqueue/push_front 1074s # End of asyncqueue tests 1074s ok - glib/asyncqueue.test 1074s # Running test: glib/relation.test 1074s TAP version 13 1074s # random seed: R02Sc0fb949748e8c0213b8e165f2f51f803 1074s 1..1 1074s # Start of glib tests 1074s ok 1 /glib/relation 1074s # End of glib tests 1074s ok - glib/relation.test 1074s # Running test: glib/markup-parse.test 1074s TAP version 13 1074s # random seed: R02S671069581fbb439bd4caa58cbf84b688 1074s 1..71 1074s # Start of markup tests 1074s # Start of parse tests 1074s ok 1 /markup/parse/valid-17.gmarkup 1074s ok 2 /markup/parse/valid-10.gmarkup 1074s ok 3 /markup/parse/fail-49.gmarkup 1074s ok 4 /markup/parse/fail-9.gmarkup 1074s ok 5 /markup/parse/fail-54.gmarkup 1074s ok 6 /markup/parse/fail-31.gmarkup 1074s ok 7 /markup/parse/valid-1.gmarkup 1074s ok 8 /markup/parse/fail-4.gmarkup 1074s ok 9 /markup/parse/valid-6.gmarkup 1074s ok 10 /markup/parse/fail-48.gmarkup 1074s ok 11 /markup/parse/fail-36.gmarkup 1074s ok 12 /markup/parse/valid-11.gmarkup 1074s ok 13 /markup/parse/fail-18.gmarkup 1074s ok 14 /markup/parse/fail-19.gmarkup 1074s ok 15 /markup/parse/fail-17.gmarkup 1074s ok 16 /markup/parse/fail-25.gmarkup 1074s ok 17 /markup/parse/valid-7.gmarkup 1074s ok 18 /markup/parse/fail-30.gmarkup 1074s ok 19 /markup/parse/fail-24.gmarkup 1074s ok 20 /markup/parse/fail-10.gmarkup 1074s ok 21 /markup/parse/fail-52.gmarkup 1074s ok 22 /markup/parse/fail-33.gmarkup 1074s ok 23 /markup/parse/valid-8.gmarkup 1074s ok 24 /markup/parse/fail-12.gmarkup 1074s ok 25 /markup/parse/fail-23.gmarkup 1074s ok 26 /markup/parse/fail-14.gmarkup 1074s ok 27 /markup/parse/fail-21.gmarkup 1074s ok 28 /markup/parse/fail-3.gmarkup 1074s ok 29 /markup/parse/fail-38.gmarkup 1074s ok 30 /markup/parse/fail-22.gmarkup 1074s ok 31 /markup/parse/fail-5.gmarkup 1074s ok 32 /markup/parse/valid-5.gmarkup 1074s ok 33 /markup/parse/fail-27.gmarkup 1074s ok 34 /markup/parse/fail-39.gmarkup 1074s ok 35 /markup/parse/fail-46.gmarkup 1074s ok 36 /markup/parse/fail-51.gmarkup 1074s ok 37 /markup/parse/fail-37.gmarkup 1074s ok 38 /markup/parse/valid-2.gmarkup 1074s ok 39 /markup/parse/fail-8.gmarkup 1074s ok 40 /markup/parse/fail-42.gmarkup 1074s ok 41 /markup/parse/valid-13.gmarkup 1074s ok 42 /markup/parse/fail-29.gmarkup 1074s ok 43 /markup/parse/valid-16.gmarkup 1074s ok 44 /markup/parse/valid-4.gmarkup 1074s ok 45 /markup/parse/fail-16.gmarkup 1074s ok 46 /markup/parse/fail-53.gmarkup 1074s ok 47 /markup/parse/fail-35.gmarkup 1074s ok 48 /markup/parse/valid-3.gmarkup 1074s ok 49 /markup/parse/valid-9.gmarkup 1074s ok 50 /markup/parse/valid-12.gmarkup 1074s ok 51 /markup/parse/fail-1.gmarkup 1074s ok 52 /markup/parse/fail-20.gmarkup 1074s ok 53 /markup/parse/fail-28.gmarkup 1074s ok 54 /markup/parse/fail-6.gmarkup 1074s ok 55 /markup/parse/fail-2.gmarkup 1074s ok 56 /markup/parse/fail-34.gmarkup 1074s ok 57 /markup/parse/fail-7.gmarkup 1074s ok 58 /markup/parse/fail-13.gmarkup 1074s ok 59 /markup/parse/fail-45.gmarkup 1074s ok 60 /markup/parse/fail-15.gmarkup 1074s ok 61 /markup/parse/fail-40.gmarkup 1074s ok 62 /markup/parse/fail-26.gmarkup 1074s ok 63 /markup/parse/fail-32.gmarkup 1074s ok 64 /markup/parse/fail-11.gmarkup 1074s ok 65 /markup/parse/fail-50.gmarkup 1074s ok 66 /markup/parse/fail-41.gmarkup 1074s ok 67 /markup/parse/fail-43.gmarkup 1074s ok 68 /markup/parse/fail-44.gmarkup 1074s ok 69 /markup/parse/fail-47.gmarkup 1074s ok 70 /markup/parse/valid-15.gmarkup 1074s ok 71 /markup/parse/valid-14.gmarkup 1074s # End of parse tests 1074s # End of markup tests 1074s ok - glib/markup-parse.test 1074s # Running test: glib/error.test 1074s TAP version 13 1074s # random seed: R02Sac4afcef371fa942a5cf83ddf99dacd3 1074s 1..3 1074s # Start of error tests 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_OWUYK2/error/from-errno/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_OWUYK2/error/from-errno/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_OWUYK2/error/from-errno/.dirs/system-config1:/tmp/test_error_OWUYK2/error/from-errno/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_OWUYK2/error/from-errno/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_OWUYK2/error/from-errno/.dirs/system-data1:/tmp/test_error_OWUYK2/error/from-errno/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_OWUYK2/error/from-errno/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_OWUYK2/error/from-errno/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_OWUYK2/error/from-errno/.dirs/runtime 1074s ok 1 /error/from-errno 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_OWUYK2/error/from-file-error/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_OWUYK2/error/from-file-error/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_OWUYK2/error/from-file-error/.dirs/system-config1:/tmp/test_error_OWUYK2/error/from-file-error/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_OWUYK2/error/from-file-error/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_OWUYK2/error/from-file-error/.dirs/system-data1:/tmp/test_error_OWUYK2/error/from-file-error/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_OWUYK2/error/from-file-error/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_OWUYK2/error/from-file-error/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_OWUYK2/error/from-file-error/.dirs/runtime 1074s ok 2 /error/from-file-error 1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_OWUYK2/error/from-win32-error/.dirs/home 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_OWUYK2/error/from-win32-error/.dirs/cache 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_OWUYK2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_OWUYK2/error/from-win32-error/.dirs/system-config2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_OWUYK2/error/from-win32-error/.dirs/config 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_OWUYK2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_OWUYK2/error/from-win32-error/.dirs/system-data2 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_OWUYK2/error/from-win32-error/.dirs/data 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_OWUYK2/error/from-win32-error/.dirs/state 1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_OWUYK2/error/from-win32-error/.dirs/runtime 1074s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1074s # End of error tests 1074s ok - glib/error.test 1074s # Running test: glib/memchunk.test 1074s TAP version 13 1074s # random seed: R02S41cbd8d6eeabadcb6902bdaf5ccd1039 1074s 1..1 1074s # Start of memchunk tests 1074s ok 1 /memchunk/basic 1074s # End of memchunk tests 1074s ok - glib/memchunk.test 1074s # Running test: glib/slice.test 1074s TAP version 13 1074s # random seed: R02S97a1c76d37ffe10b574eddcfe6f12da9 1074s 1..3 1074s # Start of slice tests 1074s ok 1 /slice/copy 1074s ok 2 /slice/chain 1074s ok 3 /slice/allocate 1074s # End of slice tests 1074s ok - glib/slice.test 1074s # Running test: glib/objects-refcount1.test 1074s TAP version 13 1074s # random seed: R02S5a7bc6ffbb12ae5c7cbd4e80e574b63f 1074s 1..1 1074s # Start of gobject tests 1074s # Start of refcount tests 1074s # init 0x1fef271be740 1074s # 1074s # init 0x1fef271be8d0 1074s # 1075s # Executing: glib/objects-refcount1.test 1079s # dispose 0x1fef271be740! 1079s # 1079s # dispose 0x1fef271be8d0! 1079s # 1079s ok 1 /gobject/refcount/object-basics 1079s # slow test /gobject/refcount/object-basics executed in 5.02 secs 1079s # End of refcount tests 1079s # End of gobject tests 1079s ok - glib/objects-refcount1.test 1079s # Running test: glib/unix-streams.test 1079s TAP version 13 1079s # random seed: R02Se4126215fab9f8de86216118d0926130 1079s 1..9 1079s # Start of unix-streams tests 1079s ok 1 /unix-streams/basic 1079s ok 2 /unix-streams/pipe-io-test 1079s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1080s ok 3 /unix-streams/nonblocking-io-test 1080s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1080s ok 4 /unix-streams/read_write 1080s ok 5 /unix-streams/read_writev 1080s ok 6 /unix-streams/write-wouldblock 1080s ok 7 /unix-streams/writev-wouldblock 1080s ok 8 /unix-streams/write-async-wouldblock 1080s ok 9 /unix-streams/writev-async-wouldblock 1080s # End of unix-streams tests 1080s ok - glib/unix-streams.test 1080s # Running test: glib/sleepy-stream.test 1080s TAP version 13 1080s # random seed: R02Sbc4dde12ceaf9560d6012bdffbeb3156 1080s 1..2 1080s # Start of filter-stream tests 1080s ok 1 /filter-stream/input 1080s ok 2 /filter-stream/async 1080s # End of filter-stream tests 1080s ok - glib/sleepy-stream.test 1080s # Running test: glib/properties-refcount4.test 1080s TAP version 13 1080s # random seed: R02Sfd155a4ca3de3864efdd435b11b879f3 1080s 1..1 1080s # Start of gobject tests 1080s # Start of refcount tests 1080s ok 1 /gobject/refcount/properties-4 1080s # End of refcount tests 1080s # End of gobject tests 1080s ok - glib/properties-refcount4.test 1080s # Running test: glib/portal-support-flatpak-full.test 1080s TAP version 13 1080s # random seed: R02S7256849d6cab1541c2fee9ea67a7a135 1080s 1..1 1080s # Start of portal-support tests 1080s # Start of flatpak tests 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_8ZR3K2/portal-support/flatpak/full/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_8ZR3K2/portal-support/flatpak/full/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_8ZR3K2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_8ZR3K2/portal-support/flatpak/full/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_8ZR3K2/portal-support/flatpak/full/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_8ZR3K2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_8ZR3K2/portal-support/flatpak/full/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_8ZR3K2/portal-support/flatpak/full/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_8ZR3K2/portal-support/flatpak/full/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_8ZR3K2/portal-support/flatpak/full/.dirs/runtime 1080s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_8ZR3K2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1080s ok 1 /portal-support/flatpak/full 1080s # End of flatpak tests 1080s # End of portal-support tests 1080s ok - glib/portal-support-flatpak-full.test 1080s # Running test: glib/srvtarget.test 1080s TAP version 13 1080s # random seed: R02S5a73d301671dd18389b1b24e61c61a6f 1080s 1..1 1080s # Start of srvtarget tests 1080s # Executing: glib/srvtarget.test 1081s ok 1 /srvtarget/srv-target-ordering 1081s # slow test /srvtarget/srv-target-ordering executed in 0.86 secs 1081s # End of srvtarget tests 1081s ok - glib/srvtarget.test 1081s # Running test: glib/unicode.test 1081s TAP version 13 1081s # random seed: R02Scdaa2aa8daf1cba0d8a48e3b43a69528 1081s 1..39 1081s # Start of unicode tests 1081s ok 1 /unicode/alnum 1081s ok 2 /unicode/alpha 1081s ok 3 /unicode/break-type 1081s ok 4 /unicode/canonical-decomposition 1081s ok 5 /unicode/casefold 1081s # Cannot set locale to lt_LT, skipping 1081s # Cannot set locale to lt_LT, skipping 1081s # Cannot set locale to lt_LT, skipping 1081s # Cannot set locale to lt_LT, skipping 1081s # Cannot set locale to lt_LT, skipping 1081s # Cannot set locale to lt_LT, skipping 1081s # Cannot set locale to lt_LT, skipping 1081s # Cannot set locale to lt_LT, skipping 1081s # Cannot set locale to lt_LT, skipping 1081s # Cannot set locale to lt_LT, skipping 1081s # Cannot set locale to lt_LT, skipping 1081s ok 6 /unicode/casemap_and_casefold 1081s ok 7 /unicode/cases 1081s ok 8 /unicode/character-type 1081s ok 9 /unicode/cntrl 1081s ok 10 /unicode/combining-class 1081s ok 11 /unicode/compose 1081s ok 12 /unicode/decompose 1081s ok 13 /unicode/decompose-tail 1081s ok 14 /unicode/defined 1081s ok 15 /unicode/digit 1081s ok 16 /unicode/digit-value 1081s ok 17 /unicode/fully-decompose-canonical 1081s ok 18 /unicode/fully-decompose-len 1081s ok 19 /unicode/normalization 1081s ok 20 /unicode/graph 1081s # Testing script Zyyy (code 1517910393) 1081s # Testing script Zinh (code 1516858984) 1081s # Testing script Zmth (code 1517122664) 1081s # Testing script Arab (code 1098015074) 1081s # Testing script Armn (code 1098018158) 1081s # Testing script Beng (code 1113943655) 1081s # Testing script Bopo (code 1114599535) 1081s # Testing script Cher (code 1130915186) 1081s # Testing script Copt (code 1131376756) 1081s # Testing script Cyrl (code 1132032620) 1081s # Testing script Dsrt (code 1148416628) 1081s # Testing script Deva (code 1147500129) 1081s # Testing script Ethi (code 1165256809) 1081s # Testing script Geor (code 1197830002) 1081s # Testing script Goth (code 1198486632) 1081s # Testing script Grek (code 1198679403) 1081s # Testing script Gujr (code 1198877298) 1081s # Testing script Guru (code 1198879349) 1081s # Testing script Hani (code 1214344809) 1081s # Testing script Hang (code 1214344807) 1081s # Testing script Hebr (code 1214603890) 1081s # Testing script Hira (code 1214870113) 1081s # Testing script Knda (code 1265525857) 1081s # Testing script Kana (code 1264676449) 1081s # Testing script Khmr (code 1265134962) 1081s # Testing script Laoo (code 1281453935) 1081s # Testing script Latn (code 1281455214) 1081s # Testing script Mlym (code 1298954605) 1081s # Testing script Mong (code 1299148391) 1081s # Testing script Mymr (code 1299803506) 1081s # Testing script Ogam (code 1332175213) 1081s # Testing script Ital (code 1232363884) 1081s # Testing script Orya (code 1332902241) 1081s # Testing script Runr (code 1383427698) 1081s # Testing script Sinh (code 1399418472) 1081s # Testing script Syrc (code 1400468067) 1081s # Testing script Taml (code 1415671148) 1081s # Testing script Telu (code 1415933045) 1081s # Testing script Thaa (code 1416126817) 1081s # Testing script Thai (code 1416126825) 1081s # Testing script Tibt (code 1416192628) 1081s # Testing script Cans (code 1130458739) 1081s # Testing script Yiii (code 1500080489) 1081s # Testing script Tglg (code 1416064103) 1081s # Testing script Hano (code 1214344815) 1081s # Testing script Buhd (code 1114990692) 1081s # Testing script Tagb (code 1415669602) 1081s # Testing script Brai (code 1114792297) 1081s # Testing script Cprt (code 1131442804) 1081s # Testing script Limb (code 1281977698) 1081s # Testing script Osma (code 1332964705) 1081s # Testing script Shaw (code 1399349623) 1081s # Testing script Linb (code 1281977954) 1081s # Testing script Tale (code 1415670885) 1081s # Testing script Ugar (code 1432838514) 1081s # Testing script Talu (code 1415670901) 1081s # Testing script Bugi (code 1114990441) 1081s # Testing script Glag (code 1198285159) 1081s # Testing script Tfng (code 1415999079) 1081s # Testing script Sylo (code 1400466543) 1081s # Testing script Xpeo (code 1483761007) 1081s # Testing script Khar (code 1265131890) 1081s # Testing script Zzzz (code 1517976186) 1081s # Testing script Bali (code 1113681001) 1081s # Testing script Xsux (code 1483961720) 1081s # Testing script Phnx (code 1349021304) 1081s # Testing script Phag (code 1349017959) 1081s # Testing script Nkoo (code 1315663727) 1081s # Testing script Kali (code 1264675945) 1081s # Testing script Lepc (code 1281716323) 1081s # Testing script Rjng (code 1382706791) 1081s # Testing script Sund (code 1400204900) 1081s # Testing script Saur (code 1398895986) 1081s # Testing script Cham (code 1130914157) 1081s # Testing script Olck (code 1332503403) 1081s # Testing script Vaii (code 1449224553) 1081s # Testing script Cari (code 1130459753) 1081s # Testing script Lyci (code 1283023721) 1081s # Testing script Lydi (code 1283023977) 1081s # Testing script Avst (code 1098281844) 1081s # Testing script Bamu (code 1113681269) 1081s # Testing script Egyp (code 1164409200) 1081s # Testing script Armi (code 1098018153) 1081s # Testing script Phli (code 1349020777) 1081s # Testing script Prti (code 1349678185) 1081s # Testing script Java (code 1247901281) 1081s # Testing script Kthi (code 1265920105) 1081s # Testing script Lisu (code 1281979253) 1081s # Testing script Mtei (code 1299473769) 1081s # Testing script Sarb (code 1398895202) 1081s # Testing script Orkh (code 1332898664) 1081s # Testing script Samr (code 1398893938) 1081s # Testing script Lana (code 1281453665) 1081s # Testing script Tavt (code 1415673460) 1081s # Testing script Batk (code 1113683051) 1081s # Testing script Brah (code 1114792296) 1081s # Testing script Mand (code 1298230884) 1081s # Testing script Cakm (code 1130457965) 1081s # Testing script Merc (code 1298494051) 1081s # Testing script Mero (code 1298494063) 1081s # Testing script Plrd (code 1349284452) 1081s # Testing script Shrd (code 1399353956) 1081s # Testing script Sora (code 1399812705) 1081s # Testing script Takr (code 1415670642) 1081s # Testing script Bass (code 1113682803) 1081s # Testing script Aghb (code 1097295970) 1081s # Testing script Dupl (code 1148547180) 1081s # Testing script Elba (code 1164730977) 1081s # Testing script Gran (code 1198678382) 1081s # Testing script Khoj (code 1265135466) 1081s # Testing script Sind (code 1399418468) 1081s # Testing script Lina (code 1281977953) 1081s # Testing script Mahj (code 1298229354) 1081s # Testing script Mani (code 1298230889) 1081s # Testing script Mend (code 1298493028) 1081s # Testing script Modi (code 1299145833) 1081s # Testing script Mroo (code 1299345263) 1081s # Testing script Nbat (code 1315070324) 1081s # Testing script Narb (code 1315009122) 1081s # Testing script Perm (code 1348825709) 1081s # Testing script Hmng (code 1215131239) 1081s # Testing script Palm (code 1348562029) 1081s # Testing script Pauc (code 1348564323) 1081s # Testing script Phlp (code 1349020784) 1081s # Testing script Sidd (code 1399415908) 1081s # Testing script Tirh (code 1416196712) 1081s # Testing script Wara (code 1466004065) 1081s # Testing script Ahom (code 1097363309) 1081s # Testing script Hluw (code 1215067511) 1081s # Testing script Hatr (code 1214346354) 1081s # Testing script Mult (code 1299541108) 1081s # Testing script Hung (code 1215655527) 1081s # Testing script Sgnw (code 1399287415) 1081s # Testing script Adlm (code 1097100397) 1081s # Testing script Bhks (code 1114139507) 1081s # Testing script Marc (code 1298231907) 1081s # Testing script Newa (code 1315272545) 1081s # Testing script Osge (code 1332963173) 1081s # Testing script Tang (code 1415671399) 1081s # Testing script Gonm (code 1198485101) 1081s # Testing script Nshu (code 1316186229) 1081s # Testing script Soyo (code 1399814511) 1081s # Testing script Zanb (code 1516334690) 1081s # Testing script Dogr (code 1148151666) 1081s # Testing script Gong (code 1198485095) 1081s # Testing script Rohg (code 1383032935) 1081s # Testing script Maka (code 1298230113) 1081s # Testing script Medf (code 1298490470) 1081s # Testing script Sogo (code 1399809903) 1081s # Testing script Sogd (code 1399809892) 1081s # Testing script Elym (code 1164736877) 1081s # Testing script Nand (code 1315008100) 1081s # Testing script Hmnp (code 1215131248) 1081s # Testing script Wcho (code 1466132591) 1081s # Testing script Chrs (code 1130918515) 1081s # Testing script Diak (code 1147756907) 1081s # Testing script Kits (code 1265202291) 1081s # Testing script Yezi (code 1499822697) 1081s # Testing script Cpmn (code 1131441518) 1081s # Testing script Ougr (code 1333094258) 1081s # Testing script Tnsa (code 1416524641) 1081s # Testing script Toto (code 1416590447) 1081s # Testing script Vith (code 1449751656) 1081s # Testing script Kawi (code 1264678761) 1081s # Testing script Nagm (code 1315006317) 1081s ok 21 /unicode/iso15924 1081s ok 22 /unicode/lower 1081s ok 23 /unicode/mark 1081s ok 24 /unicode/mirror 1081s ok 25 /unicode/print 1081s ok 26 /unicode/punctuation 1081s ok 27 /unicode/script 1081s ok 28 /unicode/space 1081s ok 29 /unicode/strdown 1081s ok 30 /unicode/strup 1081s ok 31 /unicode/turkish-strupdown 1081s ok 32 /unicode/title 1081s ok 33 /unicode/upper 1081s ok 34 /unicode/validate 1081s ok 35 /unicode/wide 1081s ok 36 /unicode/xdigit 1081s ok 37 /unicode/xdigit-value 1081s ok 38 /unicode/zero-width 1081s ok 39 /unicode/normalize 1081s # End of unicode tests 1081s ok - glib/unicode.test 1081s # Running test: glib/signals-refcount2.test 1081s TAP version 13 1081s # random seed: R02S261ac78ce7e2057f83376609ffafff72 1081s 1..1 1081s # Start of gobject tests 1081s # Start of refcount tests 1081s # init 0x28ce82bf420 1081s # 1081s # init 0x28ce82bf5c0 1081s # 1085s # Executing: glib/signals-refcount2.test 1086s # dispose 0x28ce82bf420! 1086s # 1086s # dispose 0x28ce82bf5c0! 1086s # 1086s ok 1 /gobject/refcount/signals 1086s # slow test /gobject/refcount/signals executed in 5.00 secs 1086s # End of refcount tests 1086s # End of gobject tests 1086s ok - glib/signals-refcount2.test 1086s # Running test: glib/module-test-library.test 1086s TAP version 13 1086s # random seed: R02Sba0d45b3b21c75be44c8f5c6315cf35a 1086s 1..2 1086s # Start of module tests 1086s ok 1 /module/basics 1086s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1086s ok 2 /module/invalid-libtool-archive 1086s # End of module tests 1086s ok - glib/module-test-library.test 1086s # Running test: glib/logging.test 1086s TAP version 13 1086s # random seed: R02Sca1ea4c55800a9e5a371dc3144e013bf 1086s 1..17 1086s # Start of logging tests 1086s ok 1 /logging/default-handler 1086s ok 2 /logging/warnings 1086s ok 3 /logging/fatal-log-mask 1086s # bu-DEBUG: message 1086s # ba-DEBUG: message 1086s # ba-INFO: message 1086s ok 4 /logging/set-handler 1086s ok 5 /logging/print-handler 1086s ok 6 /logging/printerr-handler 1086s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1086s # The Log Message Handler 1086s # 1086s # The Good Fail Message Handler 1086s # 1086s ok 7 /logging/653052 1086s ok 8 /logging/gibberish 1086s # Start of default-handler tests 1086s # Start of subprocess tests 1086s # End of subprocess tests 1086s # End of default-handler tests 1086s # End of logging tests 1086s # Start of structured-logging tests 1086s ok 9 /structured-logging/no-state 1086s ok 10 /structured-logging/some-state 1086s ok 11 /structured-logging/robustness 1086s ok 12 /structured-logging/roundtrip1 1086s ok 13 /structured-logging/roundtrip2 1086s ok 14 /structured-logging/roundtrip3 1086s ok 15 /structured-logging/variant1 1086s ok 16 /structured-logging/variant2 1086s ok 17 /structured-logging/set-writer-func-twice 1086s # End of structured-logging tests 1086s ok - glib/logging.test 1086s # Running test: glib/private.test 1086s TAP version 13 1086s # random seed: R02Sb445f0b4455f954ac5bbf9e67cae0176 1086s 1..8 1086s # Start of thread tests 1086s ok 1 /thread/private1 1087s ok 2 /thread/private2 1087s # slow test /thread/private2 executed in 1.11 secs 1087s ok 3 /thread/private3 1087s ok 4 /thread/staticprivate1 1087s ok 5 /thread/staticprivate2 1087s ok 6 /thread/staticprivate3 1088s ok 7 /thread/staticprivate4 1088s # slow test /thread/staticprivate4 executed in 1.11 secs 1088s ok 8 /thread/staticprivate5 1088s # End of thread tests 1088s ok - glib/private.test 1088s # Running test: glib/accumulator.test 1088s TAP version 13 1088s # random seed: R02S23ec04b313ead7abeb27dd2c9fbf42fa 1088s 1..1 1088s # Start of gobject tests 1088s ok 1 /gobject/accumulator 1088s # End of gobject tests 1088s ok - glib/accumulator.test 1088s # Running test: glib/include.test 1088s TAP version 13 1088s # random seed: R02S07d079e8cd9a5d17d4045176c1659cc9 1088s 1..1 1088s # Start of include tests 1088s ok 1 /include/rwlock 1088s # End of include tests 1088s ok - glib/include.test 1088s # Running test: glib/properties-introspection.test 1088s TAP version 13 1088s # random seed: R02S008fac465389f1dd521b45942ad2241e 1088s 1..2 1088s # Start of properties tests 1088s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1088s ok 1 /properties/introspection 1088s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1088s ok 2 /properties/collision 1088s # End of properties tests 1088s ok - glib/properties-introspection.test 1088s # Running test: glib/async-splice-output-stream.test 1088s TAP version 13 1088s # random seed: R02S1844c32fdbc82f3842934d0decc2e017 1088s 1..5 1088s # Start of async-splice tests 1088s ok 1 /async-splice/copy-chunks 1088s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1088s ok 2 /async-splice/copy-chunks-threaded-input 1088s ok 3 /async-splice/copy-chunks-threaded-output 1088s ok 4 /async-splice/copy-chunks-threaded 1088s ok 5 /async-splice/cancelled 1088s # End of async-splice tests 1088s ok - glib/async-splice-output-stream.test 1088s # Running test: glib/debugcontroller.test 1088s TAP version 13 1088s # random seed: R02S050617d3116b44c195944ec6a52063cb 1088s 1..3 1088s # Start of debug-controller tests 1088s # Start of dbus tests 1088s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1088s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1088s # GLib-GIO-DEBUG: Debug output enabled 1088s # GLib-GIO-DEBUG: Debug output disabled 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s ok 1 /debug-controller/dbus/basic 1088s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1088s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1088s ok 2 /debug-controller/dbus/duplicate 1088s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1088s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1088s # End of dbus tests 1088s # End of debug-controller tests 1088s ok - glib/debugcontroller.test 1088s # Running test: glib/defaultiface.test 1088s TAP version 13 1088s # random seed: R02Sdc3be1b8c7e38fc0709727371f21bc45 1088s 1..2 1088s # Start of gobject tests 1088s ok 1 /gobject/static-iface 1088s ok 2 /gobject/dynamic-iface 1088s # End of gobject tests 1088s ok - glib/defaultiface.test 1088s # Running test: glib/timer.test 1088s TAP version 13 1088s # random seed: R02S1e5acab5ba1dd667b9d413d77bc2391f 1088s 1..10 1088s # Start of timer tests 1088s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1088s ok 2 /timer/stop 1088s ok 3 /timer/continue 1088s ok 4 /timer/reset 1088s ok 5 /timer/is_active 1088s # End of timer tests 1088s # Start of timeval tests 1088s ok 6 /timeval/add 1088s ok 7 /timeval/from-iso8601 1088s ok 8 /timeval/to-iso8601 1088s # Start of to-iso8601 tests 1088s ok 9 /timeval/to-iso8601/overflow 1088s # End of to-iso8601 tests 1088s # End of timeval tests 1088s # Start of usleep tests 1088s ok 10 /usleep/with-zero-wait 1088s # End of usleep tests 1088s ok - glib/timer.test 1088s # Running test: glib/utils-isolated.test 1088s TAP version 13 1088s # random seed: R02Sac5ee3880e331810e663a367dc1ceb8c 1088s 1..9 1088s # Start of utils-isolated tests 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/tmp-dir/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/tmp-dir/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/tmp-dir/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/tmp-dir/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/tmp-dir/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/tmp-dir/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/tmp-dir/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_DN0NK2/utils-isolated/tmp-dir/.dirs/runtime 1088s ok 1 /utils-isolated/tmp-dir 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/home-dir/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/home-dir/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/home-dir/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/home-dir/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/home-dir/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/home-dir/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/home-dir/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_DN0NK2/utils-isolated/home-dir/.dirs/runtime 1088s ok 2 /utils-isolated/home-dir 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-cache-dir/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-cache-dir/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/user-cache-dir/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-cache-dir/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/user-cache-dir/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-cache-dir/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-cache-dir/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-cache-dir/.dirs/runtime 1088s ok 3 /utils-isolated/user-cache-dir 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-config-dirs/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-config-dirs/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/system-config-dirs/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-config-dirs/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/system-config-dirs/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-config-dirs/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-config-dirs/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-config-dirs/.dirs/runtime 1088s ok 4 /utils-isolated/system-config-dirs 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-config-dir/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-config-dir/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/user-config-dir/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-config-dir/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/user-config-dir/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-config-dir/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-config-dir/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-config-dir/.dirs/runtime 1088s ok 5 /utils-isolated/user-config-dir 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-data-dirs/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-data-dirs/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/system-data-dirs/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-data-dirs/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/system-data-dirs/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-data-dirs/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-data-dirs/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_DN0NK2/utils-isolated/system-data-dirs/.dirs/runtime 1088s ok 6 /utils-isolated/system-data-dirs 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-data-dir/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-data-dir/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/user-data-dir/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-data-dir/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/user-data-dir/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-data-dir/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-data-dir/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-data-dir/.dirs/runtime 1088s ok 7 /utils-isolated/user-data-dir 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-state-dir/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-state-dir/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/user-state-dir/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-state-dir/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/user-state-dir/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-state-dir/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-state-dir/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-state-dir/.dirs/runtime 1088s ok 8 /utils-isolated/user-state-dir 1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-runtime-dir/.dirs/home 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-runtime-dir/.dirs/cache 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/user-runtime-dir/.dirs/system-config2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-runtime-dir/.dirs/config 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_DN0NK2/utils-isolated/user-runtime-dir/.dirs/system-data2 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-runtime-dir/.dirs/data 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-runtime-dir/.dirs/state 1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_DN0NK2/utils-isolated/user-runtime-dir/.dirs/runtime 1088s ok 9 /utils-isolated/user-runtime-dir 1088s # End of utils-isolated tests 1088s ok - glib/utils-isolated.test 1088s # Running test: glib/onceinit.test 1088s TAP version 13 1088s # random seed: R02Sdb77c6863b67fb3ad17df29aed776555 1088s 1..1 1088s # Start of thread tests 1088s ok 1 /thread/onceinit 1088s # End of thread tests 1088s ok - glib/onceinit.test 1088s # Running test: glib/module-test-plugin.test 1088s TAP version 13 1088s # random seed: R02S1949c9116b2412c70ab6c8b9914990c3 1088s 1..2 1088s # Start of module tests 1088s ok 1 /module/basics 1088s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1088s ok 2 /module/invalid-libtool-archive 1088s # End of module tests 1088s ok - glib/module-test-plugin.test 1088s # Running test: glib/codegen.py.test 1089s TAP version 13 1089s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1089s # tmpdir: /tmp/tmp9adj0wj1 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmp9adj0wj1/tmp10jb3u_9.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9adj0wj1/tmp10jb3u_9.xml', '--output', '-', '--header'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifndef __STDOUT__ 1089s # #define __STDOUT__ 1089s # 1089s # #include 1089s # 1089s # G_BEGIN_DECLS 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # /* Declarations for org.project.UsefulInterface */ 1089s # 1089s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1089s # 1089s # struct _OrgProjectUsefulInterface; 1089s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1089s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1089s # 1089s # struct _OrgProjectUsefulInterfaceIface 1089s # { 1089s # GTypeInterface parent_iface; 1089s # 1089s # gboolean (*handle_useful_method) ( 1089s # OrgProjectUsefulInterface *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # }; 1089s # 1089s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1089s # 1089s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1089s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1089s # 1089s # 1089s # /* D-Bus method call completion functions: */ 1089s # void org_project_useful_interface_complete_useful_method ( 1089s # OrgProjectUsefulInterface *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # 1089s # 1089s # /* D-Bus method calls: */ 1089s # void org_project_useful_interface_call_useful_method ( 1089s # OrgProjectUsefulInterface *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean org_project_useful_interface_call_useful_method_finish ( 1089s # OrgProjectUsefulInterface *proxy, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean org_project_useful_interface_call_useful_method_sync ( 1089s # OrgProjectUsefulInterface *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1089s # 1089s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1089s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1089s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1089s # 1089s # struct _OrgProjectUsefulInterfaceProxy 1089s # { 1089s # /*< private >*/ 1089s # GDBusProxy parent_instance; 1089s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1089s # }; 1089s # 1089s # struct _OrgProjectUsefulInterfaceProxyClass 1089s # { 1089s # GDBusProxyClass parent_class; 1089s # }; 1089s # 1089s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1089s # #endif 1089s # 1089s # void org_project_useful_interface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void org_project_useful_interface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1089s # 1089s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1089s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1089s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1089s # 1089s # struct _OrgProjectUsefulInterfaceSkeleton 1089s # { 1089s # /*< private >*/ 1089s # GDBusInterfaceSkeleton parent_instance; 1089s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1089s # }; 1089s # 1089s # struct _OrgProjectUsefulInterfaceSkeletonClass 1089s # { 1089s # GDBusInterfaceSkeletonClass parent_class; 1089s # }; 1089s # 1089s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1089s # #endif 1089s # 1089s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1089s # 1089s # 1089s # G_END_DECLS 1089s # 1089s # #endif /* __STDOUT__ */ 1089s # /tmp/tmp9adj0wj1/tmpwze0iktq.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9adj0wj1/tmpwze0iktq.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifndef __STDOUT__ 1089s # #define __STDOUT__ 1089s # 1089s # #include 1089s # 1089s # G_BEGIN_DECLS 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # /* Declarations for org.project.UsefulInterface */ 1089s # 1089s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1089s # 1089s # struct _OrgProjectUsefulInterface; 1089s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1089s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1089s # 1089s # struct _OrgProjectUsefulInterfaceIface 1089s # { 1089s # GTypeInterface parent_iface; 1089s # 1089s # gboolean (*handle_useful_method) ( 1089s # OrgProjectUsefulInterface *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # }; 1089s # 1089s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1089s # 1089s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1089s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1089s # 1089s # 1089s # /* D-Bus method call completion functions: */ 1089s # void org_project_useful_interface_complete_useful_method ( 1089s # OrgProjectUsefulInterface *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # 1089s # 1089s # /* D-Bus method calls: */ 1089s # void org_project_useful_interface_call_useful_method ( 1089s # OrgProjectUsefulInterface *proxy, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean org_project_useful_interface_call_useful_method_finish ( 1089s # OrgProjectUsefulInterface *proxy, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean org_project_useful_interface_call_useful_method_sync ( 1089s # OrgProjectUsefulInterface *proxy, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1089s # 1089s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1089s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1089s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1089s # 1089s # struct _OrgProjectUsefulInterfaceProxy 1089s # { 1089s # /*< private >*/ 1089s # GDBusProxy parent_instance; 1089s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1089s # }; 1089s # 1089s # struct _OrgProjectUsefulInterfaceProxyClass 1089s # { 1089s # GDBusProxyClass parent_class; 1089s # }; 1089s # 1089s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1089s # #endif 1089s # 1089s # void org_project_useful_interface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void org_project_useful_interface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1089s # 1089s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1089s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1089s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1089s # 1089s # struct _OrgProjectUsefulInterfaceSkeleton 1089s # { 1089s # /*< private >*/ 1089s # GDBusInterfaceSkeleton parent_instance; 1089s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1089s # }; 1089s # 1089s # struct _OrgProjectUsefulInterfaceSkeletonClass 1089s # { 1089s # GDBusInterfaceSkeletonClass parent_class; 1089s # }; 1089s # 1089s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1089s # #endif 1089s # 1089s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1089s # 1089s # 1089s # G_END_DECLS 1089s # 1089s # #endif /* __STDOUT__ */ 1089s # /tmp/tmp9adj0wj1/tmp0gtl8xmr.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9adj0wj1/tmp0gtl8xmr.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifndef __STDOUT__ 1089s # #define __STDOUT__ 1089s # 1089s # #include 1089s # 1089s # G_BEGIN_DECLS 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # /* Declarations for org.project.UsefulInterface */ 1089s # 1089s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1089s # 1089s # struct _OrgProjectUsefulInterface; 1089s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1089s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1089s # 1089s # struct _OrgProjectUsefulInterfaceIface 1089s # { 1089s # GTypeInterface parent_iface; 1089s # 1089s # gboolean (*handle_useful_method) ( 1089s # OrgProjectUsefulInterface *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # }; 1089s # 1089s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1089s # 1089s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1089s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1089s # 1089s # 1089s # /* D-Bus method call completion functions: */ 1089s # void org_project_useful_interface_complete_useful_method ( 1089s # OrgProjectUsefulInterface *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # 1089s # 1089s # /* D-Bus method calls: */ 1089s # void org_project_useful_interface_call_useful_method ( 1089s # OrgProjectUsefulInterface *proxy, 1089s # GDBusCallFlags call_flags, 1089s # gint timeout_msec, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean org_project_useful_interface_call_useful_method_finish ( 1089s # OrgProjectUsefulInterface *proxy, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean org_project_useful_interface_call_useful_method_sync ( 1089s # OrgProjectUsefulInterface *proxy, 1089s # GDBusCallFlags call_flags, 1089s # gint timeout_msec, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1089s # 1089s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1089s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1089s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1089s # 1089s # struct _OrgProjectUsefulInterfaceProxy 1089s # { 1089s # /*< private >*/ 1089s # GDBusProxy parent_instance; 1089s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1089s # }; 1089s # 1089s # struct _OrgProjectUsefulInterfaceProxyClass 1089s # { 1089s # GDBusProxyClass parent_class; 1089s # }; 1089s # 1089s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1089s # #endif 1089s # 1089s # void org_project_useful_interface_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void org_project_useful_interface_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1089s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1089s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1089s # 1089s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1089s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1089s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1089s # 1089s # struct _OrgProjectUsefulInterfaceSkeleton 1089s # { 1089s # /*< private >*/ 1089s # GDBusInterfaceSkeleton parent_instance; 1089s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1089s # }; 1089s # 1089s # struct _OrgProjectUsefulInterfaceSkeletonClass 1089s # { 1089s # GDBusInterfaceSkeletonClass parent_class; 1089s # }; 1089s # 1089s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1089s # #endif 1089s # 1089s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1089s # 1089s # 1089s # G_END_DECLS 1089s # 1089s # #endif /* __STDOUT__ */ 1089s ok 2 __main__.TestCodegen.test_dbus_types 1089s # tmpdir: /tmp/tmpb8gjuidm 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmpb8gjuidm/tmpmiul416y.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmpmiul416y.xml', '--output', '-', '--body'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # /tmp/tmpb8gjuidm/tmpa4nysuxg.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmpa4nysuxg.xml', '--output', '-', '--body'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # /tmp/tmpb8gjuidm/tmpmu2g0w7j.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmpmu2g0w7j.xml', '--output', '-', '--body'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # /tmp/tmpb8gjuidm/tmptkf9ymio.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmptkf9ymio.xml', '--output', '-', '--body'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # /tmp/tmpb8gjuidm/tmpswtb4ljt.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmpswtb4ljt.xml', '--output', '-', '--body'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # /tmp/tmpb8gjuidm/tmp7qjfeyp4.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmp7qjfeyp4.xml', '--output', '-', '--body'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # /tmp/tmpb8gjuidm/tmp_otdxbpz.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmp_otdxbpz.xml', '--output', '-', '--body'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # /tmp/tmpb8gjuidm/tmpi46pgx44.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmpi46pgx44.xml', '--output', '-', '--body'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # /tmp/tmpb8gjuidm/tmpuigxs1wn.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmpuigxs1wn.xml', '--output', '-', '--body'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # /tmp/tmpb8gjuidm/tmph74mq3up.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmph74mq3up.xml', '--output', '-', '--body'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # /tmp/tmpb8gjuidm/tmppfy0i_om.xml: 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmppfy0i_om.xml', '--output', '-', '--body'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # /tmp/tmpb8gjuidm/tmp2yip7v4_.xml: 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmp2yip7v4_.xml', '--output', '-', '--body'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # /tmp/tmpb8gjuidm/tmpkjf0g9u4.xml: 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmpkjf0g9u4.xml', '--output', '-', '--body'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # /tmp/tmpb8gjuidm/tmp7ez2xza9.xml: 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmp7ez2xza9.xml', '--output', '-', '--body'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # Output: /* 1090s # * This file is generated by gdbus-codegen, do not modify it. 1090s # * 1090s # * The license of this code is the same as for the D-Bus interface description 1090s # * it was derived from. Note that it links to GLib, so must comply with the 1090s # * LGPL linking clauses. 1090s # */ 1090s # 1090s # #ifdef HAVE_CONFIG_H 1090s # # include "config.h" 1090s # #endif 1090s # 1090s # #include 1090s # #ifdef G_OS_UNIX 1090s # # include 1090s # #endif 1090s # 1090s # #ifdef G_ENABLE_DEBUG 1090s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1090s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1090s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1090s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1090s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1090s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1090s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1090s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1090s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1090s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1090s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1090s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1090s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1090s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1090s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1090s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1090s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1090s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1090s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1090s # #else /* !G_ENABLE_DEBUG */ 1090s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1090s # * Do not access GValues directly in your code. Instead, use the 1090s # * g_value_get_*() functions 1090s # */ 1090s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1090s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1090s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1090s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1090s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1090s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1090s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1090s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1090s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1090s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1090s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1090s # #endif /* !G_ENABLE_DEBUG */ 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusArgInfo parent_struct; 1090s # gboolean use_gvariant; 1090s # } _ExtendedGDBusArgInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusMethodInfo parent_struct; 1090s # const gchar *signal_name; 1090s # gboolean pass_fdlist; 1090s # } _ExtendedGDBusMethodInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusSignalInfo parent_struct; 1090s # const gchar *signal_name; 1090s # } _ExtendedGDBusSignalInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusPropertyInfo parent_struct; 1090s # const gchar *hyphen_name; 1090s # guint use_gvariant : 1; 1090s # guint emits_changed_signal : 1; 1090s # } _ExtendedGDBusPropertyInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusInterfaceInfo parent_struct; 1090s # const gchar *hyphen_name; 1090s # } _ExtendedGDBusInterfaceInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # guint prop_id; 1090s # GValue orig_value; /* the value before the change */ 1090s # } ChangedProperty; 1090s # 1090s # static void 1090s # _changed_property_free (ChangedProperty *data) 1090s # { 1090s # g_value_unset (&data->orig_value); 1090s # g_free (data); 1090s # } 1090s # 1090s # static gboolean 1090s # _g_strv_equal0 (gchar **a, gchar **b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # guint n; 1090s # if (a == NULL && b == NULL) 1090s # { 1090s # ret = TRUE; 1090s # goto out; 1090s # } 1090s # if (a == NULL || b == NULL) 1090s # goto out; 1090s # if (g_strv_length (a) != g_strv_length (b)) 1090s # goto out; 1090s # for (n = 0; a[n] != NULL; n++) 1090s # if (g_strcmp0 (a[n], b[n]) != 0) 1090s # goto out; 1090s # ret = TRUE; 1090s # out: 1090s # return ret; 1090s # } 1090s # 1090s # static gboolean 1090s # _g_variant_equal0 (GVariant *a, GVariant *b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # if (a == NULL && b == NULL) 1090s # { 1090s # ret = TRUE; 1090s # goto out; 1090s # } 1090s # if (a == NULL || b == NULL) 1090s # goto out; 1090s # ret = g_variant_equal (a, b); 1090s # out: 1090s # return ret; 1090s # } 1090s # 1090s # G_GNUC_UNUSED static gboolean 1090s # _g_value_equal (const GValue *a, const GValue *b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1090s # switch (G_VALUE_TYPE (a)) 1090s # { 1090s # case G_TYPE_BOOLEAN: 1090s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1090s # break; 1090s # case G_TYPE_UCHAR: 1090s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1090s # break; 1090s # case G_TYPE_INT: 1090s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1090s # break; 1090s # case G_TYPE_UINT: 1090s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1090s # break; 1090s # case G_TYPE_INT64: 1090s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1090s # break; 1090s # case G_TYPE_UINT64: 1090s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1090s # break; 1090s # case G_TYPE_DOUBLE: 1090s # { 1090s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1090s # gdouble da = g_value_get_double (a); 1090s # gdouble db = g_value_get_double (b); 1090s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1090s # } 1090s # break; 1090s # case G_TYPE_STRING: 1090s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1090s # break; 1090s # case G_TYPE_VARIANT: 1090s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1090s # break; 1090s # default: 1090s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1090s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1090s # else 1090s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1090s # break; 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # /* ------------------------------------------------------------------------ 1090s # * Code for interface GoodTypes 1090s # * ------------------------------------------------------------------------ 1090s # */ 1090s # 1090s # /** 1090s # * SECTION:GoodTypes 1090s # * @title: GoodTypes 1090s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1090s # * 1090s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1090s # */ 1090s # 1090s # /* ---- Introspection data for GoodTypes ---- */ 1090s # 1090s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "GoodPropertyType", 1090s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1090s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1090s # NULL 1090s # }, 1090s # "good-property-type", 1090s # FALSE, 1090s # TRUE 1090s # }; 1090s # 1090s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1090s # { 1090s # &_good_types_property_info_good_property_type.parent_struct, 1090s # NULL 1090s # }; 1090s # 1090s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "GoodTypes", 1090s # NULL, 1090s # NULL, 1090s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1090s # NULL 1090s # }, 1090s # "good-types", 1090s # }; 1090s # 1090s # 1090s # /** 1090s # * good_types_interface_info: 1090s # * 1090s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1090s # * 1090s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1090s # */ 1090s # GDBusInterfaceInfo * 1090s # good_types_interface_info (void) 1090s # { 1090s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1090s # } 1090s # 1090s # /** 1090s # * good_types_override_properties: 1090s # * @klass: The class structure for a #GObject derived class. 1090s # * @property_id_begin: The property id to assign to the first overridden property. 1090s # * 1090s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1090s # * The properties are overridden in the order they are defined. 1090s # * 1090s # * Returns: The last property id. 1090s # */ 1090s # guint 1090s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1090s # { 1090s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1090s # return property_id_begin - 1; 1090s # } 1090s # 1090s # 1090s # 1090s # /** 1090s # * GoodTypes: 1090s # * 1090s # * Abstract interface type for the D-Bus interface GoodTypes. 1090s # */ 1090s # 1090s # /** 1090s # * GoodTypesIface: 1090s # * @parent_iface: The parent interface. 1090s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1090s # * 1090s # * Virtual table for the D-Bus interface GoodTypes. 1090s # */ 1090s # 1090s # typedef GoodTypesIface GoodTypesInterface; 1090s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1090s # 1090s # static void 1090s # good_types_default_init (GoodTypesIface *iface) 1090s # { 1090s # /* GObject properties for D-Bus properties: */ 1090s # /** 1090s # * GoodTypes:good-property-type: 1090s # * 1090s # * Represents the D-Bus property "GoodPropertyType". 1090s # * 1090s # * 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. 1090s # */ 1090s # g_object_interface_install_property (iface, 1090s # 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)); 1090s # } 1090s # 1090s # /** 1090s # * good_types_get_good_property_type: (skip) 1090s # * @object: A GoodTypes. 1090s # * 1090s # * Gets the value of the "GoodPropertyType" D-Bus property. 1090s # * 1090s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1090s # * 1090s # * 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. 1090s # * 1090s # * 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. 1090s # */ 1090s # GVariant * 1090s # good_types_get_good_property_type (GoodTypes *object) 1090s # { 1090s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1090s # 1090s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1090s # } 1090s # 1090s # /** 1090s # * good_types_dup_good_property_type: (skip) 1090s # * @object: A GoodTypes. 1090s # * 1090s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1090s # * 1090s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1090s # * 1090s # * 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(). 1090s # */ 1090s # GVariant * 1090s # good_types_dup_good_property_type (GoodTypes *object) 1090s # { 1090s # GVariant *value; 1090s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1090s # return value; 1090s # } 1090s # 1090s # /** 1090s # * good_types_set_good_property_type: (skip) 1090s # * @object: A GoodTypes. 1090s # * @value: The value to set. 1090s # * 1090s # * Sets the "GoodPropertyType" D-Bus property to @value. 1090s # * 1090s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1090s # */ 1090s # void 1090s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1090s # { 1090s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1090s # } 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # 1090s # /** 1090s # * GoodTypesProxy: 1090s # * 1090s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1090s # */ 1090s # 1090s # /** 1090s # * GoodTypesProxyClass: 1090s # * @parent_class: The parent class. 1090s # * 1090s # * Class structure for GoodTypesProxy. 1090s # */ 1090s # 1090s # struct _GoodTypesProxyPrivate 1090s # { 1090s # GData *qdata; 1090s # }; 1090s # 1090s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1090s # G_ADD_PRIVATE (GoodTypesProxy) 1090s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1090s # 1090s # #else 1090s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1090s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1090s # 1090s # #endif 1090s # static void 1090s # good_types_proxy_finalize (GObject *object) 1090s # { 1090s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1090s # g_datalist_clear (&proxy->priv->qdata); 1090s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_get_property (GObject *object, 1090s # guint prop_id, 1090s # GValue *value, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # GVariant *variant; 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1090s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1090s # if (info->use_gvariant) 1090s # { 1090s # g_value_set_variant (value, variant); 1090s # } 1090s # else 1090s # { 1090s # if (variant != NULL) 1090s # g_dbus_gvariant_to_gvalue (variant, value); 1090s # } 1090s # if (variant != NULL) 1090s # g_variant_unref (variant); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1090s # GAsyncResult *res, 1090s # gpointer user_data) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info = user_data; 1090s # GError *error; 1090s # GVariant *_ret; 1090s # error = NULL; 1090s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1090s # if (!_ret) 1090s # { 1090s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1090s # info->parent_struct.name, 1090s # error->message, g_quark_to_string (error->domain), error->code); 1090s # g_error_free (error); 1090s # } 1090s # else 1090s # { 1090s # g_variant_unref (_ret); 1090s # } 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_set_property (GObject *object, 1090s # guint prop_id, 1090s # const GValue *value, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # GVariant *variant; 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1090s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1090s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1090s # "org.freedesktop.DBus.Properties.Set", 1090s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1090s # G_DBUS_CALL_FLAGS_NONE, 1090s # -1, 1090s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1090s # g_variant_unref (variant); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_g_signal (GDBusProxy *proxy, 1090s # const gchar *sender_name G_GNUC_UNUSED, 1090s # const gchar *signal_name, 1090s # GVariant *parameters) 1090s # { 1090s # _ExtendedGDBusSignalInfo *info; 1090s # GVariantIter iter; 1090s # GVariant *child; 1090s # GValue *paramv; 1090s # gsize num_params; 1090s # gsize n; 1090s # guint signal_id; 1090s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1090s # if (info == NULL) 1090s # return; 1090s # num_params = g_variant_n_children (parameters); 1090s # paramv = g_new0 (GValue, num_params + 1); 1090s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1090s # g_value_set_object (¶mv[0], proxy); 1090s # g_variant_iter_init (&iter, parameters); 1090s # n = 1; 1090s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1090s # { 1090s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1090s # if (arg_info->use_gvariant) 1090s # { 1090s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1090s # g_value_set_variant (¶mv[n], child); 1090s # n++; 1090s # } 1090s # else 1090s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1090s # g_variant_unref (child); 1090s # } 1090s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1090s # g_signal_emitv (paramv, signal_id, 0, NULL); 1090s # for (n = 0; n < num_params + 1; n++) 1090s # g_value_unset (¶mv[n]); 1090s # g_free (paramv); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1090s # GVariant *changed_properties, 1090s # const gchar *const *invalidated_properties) 1090s # { 1090s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1090s # guint n; 1090s # const gchar *key; 1090s # GVariantIter *iter; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # g_variant_get (changed_properties, "a{sv}", &iter); 1090s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1090s # { 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1090s # g_datalist_remove_data (&proxy->priv->qdata, key); 1090s # if (info != NULL) 1090s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1090s # } 1090s # g_variant_iter_free (iter); 1090s # for (n = 0; invalidated_properties[n] != NULL; n++) 1090s # { 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1090s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1090s # if (info != NULL) 1090s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1090s # } 1090s # } 1090s # 1090s # static GVariant * 1090s # good_types_proxy_get_good_property_type (GoodTypes *object) 1090s # { 1090s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1090s # GVariant *variant; 1090s # GVariant *value = NULL; 1090s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1090s # value = variant; 1090s # if (variant != NULL) 1090s # g_variant_unref (variant); 1090s # return value; 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_init (GoodTypesProxy *proxy) 1090s # { 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1090s # #else 1090s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1090s # #endif 1090s # 1090s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1090s # { 1090s # GObjectClass *gobject_class; 1090s # GDBusProxyClass *proxy_class; 1090s # 1090s # gobject_class = G_OBJECT_CLASS (klass); 1090s # gobject_class->finalize = good_types_proxy_finalize; 1090s # gobject_class->get_property = good_types_proxy_get_property; 1090s # gobject_class->set_property = good_types_proxy_set_property; 1090s # 1090s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1090s # proxy_class->g_signal = good_types_proxy_g_signal; 1090s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1090s # 1090s # good_types_override_properties (gobject_class, 1); 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1090s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1090s # #endif 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_iface_init (GoodTypesIface *iface) 1090s # { 1090s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new: 1090s # * @connection: A #GDBusConnection. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1090s # * 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1090s # * 1090s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1090s # */ 1090s # void 1090s # good_types_proxy_new ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # 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); 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new_finish: 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Finishes an operation started with good_types_proxy_new(). 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # GoodTypes * 1090s # good_types_proxy_new_finish ( 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GObject *ret; 1090s # GObject *source_object; 1090s # source_object = g_async_result_get_source_object (res); 1090s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1090s # g_object_unref (source_object); 1090s # if (ret != NULL) 1090s # return GOOD_TYPES (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new_sync: 1090s # * @connection: A #GDBusConnection. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1090s # * 1090s # * The calling thread is blocked until a reply is received. 1090s # * 1090s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # GoodTypes * 1090s # good_types_proxy_new_sync ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GInitable *ret; 1090s # 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); 1090s # if (ret != NULL) 1090s # return GOOD_TYPES (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # 1090s # /** 1090s # * good_types_proxy_new_for_bus: 1090s # * @bus_type: A #GBusType. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: A bus name (well-known or unique). 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1090s # * 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1090s # * 1090s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1090s # */ 1090s # void 1090s # good_types_proxy_new_for_bus ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # 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); 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new_for_bus_finish: 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # GoodTypes * 1090s # good_types_proxy_new_for_bus_finish ( 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GObject *ret; 1090s # GObject *source_object; 1090s # source_object = g_async_result_get_source_object (res); 1090s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1090s # g_object_unref (source_object); 1090s # if (ret != NULL) 1090s # return GOOD_TYPES (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new_for_bus_sync: 1090s # * @bus_type: A #GBusType. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: A bus name (well-known or unique). 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1090s # * 1090s # * The calling thread is blocked until a reply is received. 1090s # * 1090s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # GoodTypes * 1090s # good_types_proxy_new_for_bus_sync ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GInitable *ret; 1090s # 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); 1090s # if (ret != NULL) 1090s # return GOOD_TYPES (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # 1090s # /** 1090s # * GoodTypesSkeleton: 1090s # * 1090s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1090s # */ 1090s # 1090s # /** 1090s # * GoodTypesSkeletonClass: 1090s # * @parent_class: The parent class. 1090s # * 1090s # * Class structure for GoodTypesSkeleton. 1090s # */ 1090s # 1090s # struct _GoodTypesSkeletonPrivate 1090s # { 1090s # GValue *properties; 1090s # GList *changed_properties; 1090s # GSource *changed_properties_idle_source; 1090s # GMainContext *context; 1090s # GMutex lock; 1090s # }; 1090s # 1090s # static void 1090s # _good_types_skeleton_handle_method_call ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name, 1090s # const gchar *method_name, 1090s # GVariant *parameters, 1090s # GDBusMethodInvocation *invocation, 1090s # gpointer user_data) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1090s # _ExtendedGDBusMethodInfo *info; 1090s # GVariantIter iter; 1090s # GVariant *child; 1090s # GValue *paramv; 1090s # gsize num_params; 1090s # guint num_extra; 1090s # gsize n; 1090s # guint signal_id; 1090s # GValue return_value = G_VALUE_INIT; 1090s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1090s # g_assert (info != NULL); 1090s # num_params = g_variant_n_children (parameters); 1090s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1090s # n = 0; 1090s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1090s # g_value_set_object (¶mv[n++], skeleton); 1090s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1090s # g_value_set_object (¶mv[n++], invocation); 1090s # if (info->pass_fdlist) 1090s # { 1090s # #ifdef G_OS_UNIX 1090s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1090s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1090s # #else 1090s # g_assert_not_reached (); 1090s # #endif 1090s # } 1090s # g_variant_iter_init (&iter, parameters); 1090s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1090s # { 1090s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1090s # if (arg_info->use_gvariant) 1090s # { 1090s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1090s # g_value_set_variant (¶mv[n], child); 1090s # n++; 1090s # } 1090s # else 1090s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1090s # g_variant_unref (child); 1090s # } 1090s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1090s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1090s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1090s # if (!g_value_get_boolean (&return_value)) 1090s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1090s # g_value_unset (&return_value); 1090s # for (n = 0; n < num_params + num_extra; n++) 1090s # g_value_unset (¶mv[n]); 1090s # g_free (paramv); 1090s # } 1090s # 1090s # static GVariant * 1090s # _good_types_skeleton_handle_get_property ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name G_GNUC_UNUSED, 1090s # const gchar *property_name, 1090s # GError **error, 1090s # gpointer user_data) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1090s # GValue value = G_VALUE_INIT; 1090s # GParamSpec *pspec; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # GVariant *ret; 1090s # ret = NULL; 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1090s # g_assert (info != NULL); 1090s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1090s # if (pspec == NULL) 1090s # { 1090s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1090s # } 1090s # else 1090s # { 1090s # g_value_init (&value, pspec->value_type); 1090s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1090s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1090s # g_value_unset (&value); 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # static gboolean 1090s # _good_types_skeleton_handle_set_property ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name G_GNUC_UNUSED, 1090s # const gchar *property_name, 1090s # GVariant *variant, 1090s # GError **error, 1090s # gpointer user_data) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1090s # GValue value = G_VALUE_INIT; 1090s # GParamSpec *pspec; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # gboolean ret; 1090s # ret = FALSE; 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1090s # g_assert (info != NULL); 1090s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1090s # if (pspec == NULL) 1090s # { 1090s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1090s # } 1090s # else 1090s # { 1090s # if (info->use_gvariant) 1090s # g_value_set_variant (&value, variant); 1090s # else 1090s # g_dbus_gvariant_to_gvalue (variant, &value); 1090s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1090s # g_value_unset (&value); 1090s # ret = TRUE; 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1090s # { 1090s # _good_types_skeleton_handle_method_call, 1090s # _good_types_skeleton_handle_get_property, 1090s # _good_types_skeleton_handle_set_property, 1090s # {NULL} 1090s # }; 1090s # 1090s # static GDBusInterfaceInfo * 1090s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1090s # { 1090s # return good_types_interface_info (); 1090s # } 1090s # 1090s # static GDBusInterfaceVTable * 1090s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1090s # { 1090s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1090s # } 1090s # 1090s # static GVariant * 1090s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1090s # 1090s # GVariantBuilder builder; 1090s # guint n; 1090s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1090s # if (_good_types_interface_info.parent_struct.properties == NULL) 1090s # goto out; 1090s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1090s # { 1090s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1090s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1090s # { 1090s # GVariant *value; 1090s # 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); 1090s # if (value != NULL) 1090s # { 1090s # g_variant_take_ref (value); 1090s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1090s # g_variant_unref (value); 1090s # } 1090s # } 1090s # } 1090s # out: 1090s # return g_variant_builder_end (&builder); 1090s # } 1090s # 1090s # static gboolean _good_types_emit_changed (gpointer user_data); 1090s # 1090s # static void 1090s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1090s # gboolean emit_changed = FALSE; 1090s # 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # if (skeleton->priv->changed_properties_idle_source != NULL) 1090s # { 1090s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1090s # skeleton->priv->changed_properties_idle_source = NULL; 1090s # emit_changed = TRUE; 1090s # } 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # 1090s # if (emit_changed) 1090s # _good_types_emit_changed (skeleton); 1090s # } 1090s # 1090s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1090s # G_ADD_PRIVATE (GoodTypesSkeleton) 1090s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1090s # 1090s # #else 1090s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1090s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1090s # 1090s # #endif 1090s # static void 1090s # good_types_skeleton_finalize (GObject *object) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # guint n; 1090s # for (n = 0; n < 1; n++) 1090s # g_value_unset (&skeleton->priv->properties[n]); 1090s # g_free (skeleton->priv->properties); 1090s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1090s # if (skeleton->priv->changed_properties_idle_source != NULL) 1090s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1090s # g_main_context_unref (skeleton->priv->context); 1090s # g_mutex_clear (&skeleton->priv->lock); 1090s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_get_property (GObject *object, 1090s # guint prop_id, 1090s # GValue *value, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # } 1090s # 1090s # static gboolean 1090s # _good_types_emit_changed (gpointer user_data) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1090s # GList *l; 1090s # GVariantBuilder builder; 1090s # GVariantBuilder invalidated_builder; 1090s # guint num_changes; 1090s # 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1090s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1090s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1090s # { 1090s # ChangedProperty *cp = l->data; 1090s # GVariant *variant; 1090s # const GValue *cur_value; 1090s # 1090s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1090s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1090s # { 1090s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1090s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1090s # g_variant_unref (variant); 1090s # num_changes++; 1090s # } 1090s # } 1090s # if (num_changes > 0) 1090s # { 1090s # GList *connections, *ll; 1090s # GVariant *signal_variant; 1090s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1090s # &builder, &invalidated_builder)); 1090s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1090s # for (ll = connections; ll != NULL; ll = ll->next) 1090s # { 1090s # GDBusConnection *connection = ll->data; 1090s # 1090s # g_dbus_connection_emit_signal (connection, 1090s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1090s # "org.freedesktop.DBus.Properties", 1090s # "PropertiesChanged", 1090s # signal_variant, 1090s # NULL); 1090s # } 1090s # g_variant_unref (signal_variant); 1090s # g_list_free_full (connections, g_object_unref); 1090s # } 1090s # else 1090s # { 1090s # g_variant_builder_clear (&builder); 1090s # g_variant_builder_clear (&invalidated_builder); 1090s # } 1090s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1090s # skeleton->priv->changed_properties = NULL; 1090s # skeleton->priv->changed_properties_idle_source = NULL; 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # return FALSE; 1090s # } 1090s # 1090s # static void 1090s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1090s # { 1090s # ChangedProperty *cp; 1090s # GList *l; 1090s # cp = NULL; 1090s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1090s # { 1090s # ChangedProperty *i_cp = l->data; 1090s # if (i_cp->info == info) 1090s # { 1090s # cp = i_cp; 1090s # break; 1090s # } 1090s # } 1090s # if (cp == NULL) 1090s # { 1090s # cp = g_new0 (ChangedProperty, 1); 1090s # cp->prop_id = prop_id; 1090s # cp->info = info; 1090s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1090s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1090s # g_value_copy (orig_value, &cp->orig_value); 1090s # } 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_notify (GObject *object, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # if (skeleton->priv->changed_properties != NULL && 1090s # skeleton->priv->changed_properties_idle_source == NULL) 1090s # { 1090s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1090s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1090s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1090s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1090s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1090s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1090s # } 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_set_property (GObject *object, 1090s # guint prop_id, 1090s # const GValue *value, 1090s # GParamSpec *pspec) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # g_object_freeze_notify (object); 1090s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1090s # { 1090s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1090s # info->emits_changed_signal) 1090s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1090s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1090s # g_object_notify_by_pspec (object, pspec); 1090s # } 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # g_object_thaw_notify (object); 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1090s # { 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1090s # #else 1090s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1090s # #endif 1090s # 1090s # g_mutex_init (&skeleton->priv->lock); 1090s # skeleton->priv->context = g_main_context_ref_thread_default (); 1090s # skeleton->priv->properties = g_new0 (GValue, 1); 1090s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1090s # } 1090s # 1090s # static GVariant * 1090s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # GVariant *value; 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # return value; 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1090s # { 1090s # GObjectClass *gobject_class; 1090s # GDBusInterfaceSkeletonClass *skeleton_class; 1090s # 1090s # gobject_class = G_OBJECT_CLASS (klass); 1090s # gobject_class->finalize = good_types_skeleton_finalize; 1090s # gobject_class->get_property = good_types_skeleton_get_property; 1090s # gobject_class->set_property = good_types_skeleton_set_property; 1090s # gobject_class->notify = good_types_skeleton_notify; 1090s # 1090s # 1090s # good_types_override_properties (gobject_class, 1); 1090s # 1090s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1090s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1090s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1090s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1090s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1090s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1090s # #endif 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1090s # { 1090s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1090s # } 1090s # 1090s # /** 1090s # * good_types_skeleton_new: 1090s # * 1090s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1090s # */ 1090s # GoodTypes * 1090s # good_types_skeleton_new (void) 1090s # { 1090s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1090s # } 1090s # /tmp/tmpb8gjuidm/tmpeb8uk4s0.xml: 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmpeb8uk4s0.xml', '--output', '-', '--body'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # Output: /* 1090s # * This file is generated by gdbus-codegen, do not modify it. 1090s # * 1090s # * The license of this code is the same as for the D-Bus interface description 1090s # * it was derived from. Note that it links to GLib, so must comply with the 1090s # * LGPL linking clauses. 1090s # */ 1090s # 1090s # #ifdef HAVE_CONFIG_H 1090s # # include "config.h" 1090s # #endif 1090s # 1090s # #include 1090s # #ifdef G_OS_UNIX 1090s # # include 1090s # #endif 1090s # 1090s # #ifdef G_ENABLE_DEBUG 1090s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1090s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1090s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1090s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1090s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1090s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1090s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1090s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1090s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1090s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1090s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1090s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1090s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1090s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1090s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1090s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1090s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1090s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1090s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1090s # #else /* !G_ENABLE_DEBUG */ 1090s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1090s # * Do not access GValues directly in your code. Instead, use the 1090s # * g_value_get_*() functions 1090s # */ 1090s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1090s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1090s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1090s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1090s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1090s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1090s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1090s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1090s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1090s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1090s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1090s # #endif /* !G_ENABLE_DEBUG */ 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusArgInfo parent_struct; 1090s # gboolean use_gvariant; 1090s # } _ExtendedGDBusArgInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusMethodInfo parent_struct; 1090s # const gchar *signal_name; 1090s # gboolean pass_fdlist; 1090s # } _ExtendedGDBusMethodInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusSignalInfo parent_struct; 1090s # const gchar *signal_name; 1090s # } _ExtendedGDBusSignalInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusPropertyInfo parent_struct; 1090s # const gchar *hyphen_name; 1090s # guint use_gvariant : 1; 1090s # guint emits_changed_signal : 1; 1090s # } _ExtendedGDBusPropertyInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusInterfaceInfo parent_struct; 1090s # const gchar *hyphen_name; 1090s # } _ExtendedGDBusInterfaceInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # guint prop_id; 1090s # GValue orig_value; /* the value before the change */ 1090s # } ChangedProperty; 1090s # 1090s # static void 1090s # _changed_property_free (ChangedProperty *data) 1090s # { 1090s # g_value_unset (&data->orig_value); 1090s # g_free (data); 1090s # } 1090s # 1090s # static gboolean 1090s # _g_strv_equal0 (gchar **a, gchar **b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # guint n; 1090s # if (a == NULL && b == NULL) 1090s # { 1090s # ret = TRUE; 1090s # goto out; 1090s # } 1090s # if (a == NULL || b == NULL) 1090s # goto out; 1090s # if (g_strv_length (a) != g_strv_length (b)) 1090s # goto out; 1090s # for (n = 0; a[n] != NULL; n++) 1090s # if (g_strcmp0 (a[n], b[n]) != 0) 1090s # goto out; 1090s # ret = TRUE; 1090s # out: 1090s # return ret; 1090s # } 1090s # 1090s # static gboolean 1090s # _g_variant_equal0 (GVariant *a, GVariant *b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # if (a == NULL && b == NULL) 1090s # { 1090s # ret = TRUE; 1090s # goto out; 1090s # } 1090s # if (a == NULL || b == NULL) 1090s # goto out; 1090s # ret = g_variant_equal (a, b); 1090s # out: 1090s # return ret; 1090s # } 1090s # 1090s # G_GNUC_UNUSED static gboolean 1090s # _g_value_equal (const GValue *a, const GValue *b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1090s # switch (G_VALUE_TYPE (a)) 1090s # { 1090s # case G_TYPE_BOOLEAN: 1090s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1090s # break; 1090s # case G_TYPE_UCHAR: 1090s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1090s # break; 1090s # case G_TYPE_INT: 1090s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1090s # break; 1090s # case G_TYPE_UINT: 1090s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1090s # break; 1090s # case G_TYPE_INT64: 1090s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1090s # break; 1090s # case G_TYPE_UINT64: 1090s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1090s # break; 1090s # case G_TYPE_DOUBLE: 1090s # { 1090s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1090s # gdouble da = g_value_get_double (a); 1090s # gdouble db = g_value_get_double (b); 1090s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1090s # } 1090s # break; 1090s # case G_TYPE_STRING: 1090s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1090s # break; 1090s # case G_TYPE_VARIANT: 1090s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1090s # break; 1090s # default: 1090s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1090s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1090s # else 1090s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1090s # break; 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # /* ------------------------------------------------------------------------ 1090s # * Code for interface GoodTypes 1090s # * ------------------------------------------------------------------------ 1090s # */ 1090s # 1090s # /** 1090s # * SECTION:GoodTypes 1090s # * @title: GoodTypes 1090s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1090s # * 1090s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1090s # */ 1090s # 1090s # /* ---- Introspection data for GoodTypes ---- */ 1090s # 1090s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "GoodPropertyType", 1090s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1090s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1090s # NULL 1090s # }, 1090s # "good-property-type", 1090s # FALSE, 1090s # TRUE 1090s # }; 1090s # 1090s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1090s # { 1090s # &_good_types_property_info_good_property_type.parent_struct, 1090s # NULL 1090s # }; 1090s # 1090s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "GoodTypes", 1090s # NULL, 1090s # NULL, 1090s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1090s # NULL 1090s # }, 1090s # "good-types", 1090s # }; 1090s # 1090s # 1090s # /** 1090s # * good_types_interface_info: 1090s # * 1090s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1090s # * 1090s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1090s # */ 1090s # GDBusInterfaceInfo * 1090s # good_types_interface_info (void) 1090s # { 1090s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1090s # } 1090s # 1090s # /** 1090s # * good_types_override_properties: 1090s # * @klass: The class structure for a #GObject derived class. 1090s # * @property_id_begin: The property id to assign to the first overridden property. 1090s # * 1090s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1090s # * The properties are overridden in the order they are defined. 1090s # * 1090s # * Returns: The last property id. 1090s # */ 1090s # guint 1090s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1090s # { 1090s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1090s # return property_id_begin - 1; 1090s # } 1090s # 1090s # 1090s # 1090s # /** 1090s # * GoodTypes: 1090s # * 1090s # * Abstract interface type for the D-Bus interface GoodTypes. 1090s # */ 1090s # 1090s # /** 1090s # * GoodTypesIface: 1090s # * @parent_iface: The parent interface. 1090s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1090s # * 1090s # * Virtual table for the D-Bus interface GoodTypes. 1090s # */ 1090s # 1090s # typedef GoodTypesIface GoodTypesInterface; 1090s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1090s # 1090s # static void 1090s # good_types_default_init (GoodTypesIface *iface) 1090s # { 1090s # /* GObject properties for D-Bus properties: */ 1090s # /** 1090s # * GoodTypes:good-property-type: 1090s # * 1090s # * Represents the D-Bus property "GoodPropertyType". 1090s # * 1090s # * 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. 1090s # */ 1090s # g_object_interface_install_property (iface, 1090s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1090s # } 1090s # 1090s # /** 1090s # * good_types_get_good_property_type: (skip) 1090s # * @object: A GoodTypes. 1090s # * 1090s # * Gets the value of the "GoodPropertyType" D-Bus property. 1090s # * 1090s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1090s # * 1090s # * 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. 1090s # * 1090s # * 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. 1090s # */ 1090s # GVariant * 1090s # good_types_get_good_property_type (GoodTypes *object) 1090s # { 1090s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1090s # 1090s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1090s # } 1090s # 1090s # /** 1090s # * good_types_dup_good_property_type: (skip) 1090s # * @object: A GoodTypes. 1090s # * 1090s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1090s # * 1090s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1090s # * 1090s # * 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(). 1090s # */ 1090s # GVariant * 1090s # good_types_dup_good_property_type (GoodTypes *object) 1090s # { 1090s # GVariant *value; 1090s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1090s # return value; 1090s # } 1090s # 1090s # /** 1090s # * good_types_set_good_property_type: (skip) 1090s # * @object: A GoodTypes. 1090s # * @value: The value to set. 1090s # * 1090s # * Sets the "GoodPropertyType" D-Bus property to @value. 1090s # * 1090s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1090s # */ 1090s # void 1090s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1090s # { 1090s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1090s # } 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # 1090s # /** 1090s # * GoodTypesProxy: 1090s # * 1090s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1090s # */ 1090s # 1090s # /** 1090s # * GoodTypesProxyClass: 1090s # * @parent_class: The parent class. 1090s # * 1090s # * Class structure for GoodTypesProxy. 1090s # */ 1090s # 1090s # struct _GoodTypesProxyPrivate 1090s # { 1090s # GData *qdata; 1090s # }; 1090s # 1090s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1090s # G_ADD_PRIVATE (GoodTypesProxy) 1090s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1090s # 1090s # #else 1090s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1090s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1090s # 1090s # #endif 1090s # static void 1090s # good_types_proxy_finalize (GObject *object) 1090s # { 1090s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1090s # g_datalist_clear (&proxy->priv->qdata); 1090s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_get_property (GObject *object, 1090s # guint prop_id, 1090s # GValue *value, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # GVariant *variant; 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1090s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1090s # if (info->use_gvariant) 1090s # { 1090s # g_value_set_variant (value, variant); 1090s # } 1090s # else 1090s # { 1090s # if (variant != NULL) 1090s # g_dbus_gvariant_to_gvalue (variant, value); 1090s # } 1090s # if (variant != NULL) 1090s # g_variant_unref (variant); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1090s # GAsyncResult *res, 1090s # gpointer user_data) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info = user_data; 1090s # GError *error; 1090s # GVariant *_ret; 1090s # error = NULL; 1090s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1090s # if (!_ret) 1090s # { 1090s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1090s # info->parent_struct.name, 1090s # error->message, g_quark_to_string (error->domain), error->code); 1090s # g_error_free (error); 1090s # } 1090s # else 1090s # { 1090s # g_variant_unref (_ret); 1090s # } 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_set_property (GObject *object, 1090s # guint prop_id, 1090s # const GValue *value, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # GVariant *variant; 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1090s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1090s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1090s # "org.freedesktop.DBus.Properties.Set", 1090s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1090s # G_DBUS_CALL_FLAGS_NONE, 1090s # -1, 1090s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1090s # g_variant_unref (variant); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_g_signal (GDBusProxy *proxy, 1090s # const gchar *sender_name G_GNUC_UNUSED, 1090s # const gchar *signal_name, 1090s # GVariant *parameters) 1090s # { 1090s # _ExtendedGDBusSignalInfo *info; 1090s # GVariantIter iter; 1090s # GVariant *child; 1090s # GValue *paramv; 1090s # gsize num_params; 1090s # gsize n; 1090s # guint signal_id; 1090s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1090s # if (info == NULL) 1090s # return; 1090s # num_params = g_variant_n_children (parameters); 1090s # paramv = g_new0 (GValue, num_params + 1); 1090s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1090s # g_value_set_object (¶mv[0], proxy); 1090s # g_variant_iter_init (&iter, parameters); 1090s # n = 1; 1090s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1090s # { 1090s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1090s # if (arg_info->use_gvariant) 1090s # { 1090s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1090s # g_value_set_variant (¶mv[n], child); 1090s # n++; 1090s # } 1090s # else 1090s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1090s # g_variant_unref (child); 1090s # } 1090s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1090s # g_signal_emitv (paramv, signal_id, 0, NULL); 1090s # for (n = 0; n < num_params + 1; n++) 1090s # g_value_unset (¶mv[n]); 1090s # g_free (paramv); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1090s # GVariant *changed_properties, 1090s # const gchar *const *invalidated_properties) 1090s # { 1090s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1090s # guint n; 1090s # const gchar *key; 1090s # GVariantIter *iter; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # g_variant_get (changed_properties, "a{sv}", &iter); 1090s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1090s # { 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1090s # g_datalist_remove_data (&proxy->priv->qdata, key); 1090s # if (info != NULL) 1090s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1090s # } 1090s # g_variant_iter_free (iter); 1090s # for (n = 0; invalidated_properties[n] != NULL; n++) 1090s # { 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1090s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1090s # if (info != NULL) 1090s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1090s # } 1090s # } 1090s # 1090s # static GVariant * 1090s # good_types_proxy_get_good_property_type (GoodTypes *object) 1090s # { 1090s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1090s # GVariant *variant; 1090s # GVariant *value = NULL; 1090s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1090s # value = variant; 1090s # if (variant != NULL) 1090s # g_variant_unref (variant); 1090s # return value; 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_init (GoodTypesProxy *proxy) 1090s # { 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1090s # #else 1090s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1090s # #endif 1090s # 1090s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1090s # { 1090s # GObjectClass *gobject_class; 1090s # GDBusProxyClass *proxy_class; 1090s # 1090s # gobject_class = G_OBJECT_CLASS (klass); 1090s # gobject_class->finalize = good_types_proxy_finalize; 1090s # gobject_class->get_property = good_types_proxy_get_property; 1090s # gobject_class->set_property = good_types_proxy_set_property; 1090s # 1090s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1090s # proxy_class->g_signal = good_types_proxy_g_signal; 1090s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1090s # 1090s # good_types_override_properties (gobject_class, 1); 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1090s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1090s # #endif 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_iface_init (GoodTypesIface *iface) 1090s # { 1090s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new: 1090s # * @connection: A #GDBusConnection. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1090s # * 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1090s # * 1090s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1090s # */ 1090s # void 1090s # good_types_proxy_new ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # 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); 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new_finish: 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Finishes an operation started with good_types_proxy_new(). 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # GoodTypes * 1090s # good_types_proxy_new_finish ( 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GObject *ret; 1090s # GObject *source_object; 1090s # source_object = g_async_result_get_source_object (res); 1090s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1090s # g_object_unref (source_object); 1090s # if (ret != NULL) 1090s # return GOOD_TYPES (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new_sync: 1090s # * @connection: A #GDBusConnection. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1090s # * 1090s # * The calling thread is blocked until a reply is received. 1090s # * 1090s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # GoodTypes * 1090s # good_types_proxy_new_sync ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GInitable *ret; 1090s # 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); 1090s # if (ret != NULL) 1090s # return GOOD_TYPES (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # 1090s # /** 1090s # * good_types_proxy_new_for_bus: 1090s # * @bus_type: A #GBusType. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: A bus name (well-known or unique). 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1090s # * 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1090s # * 1090s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1090s # */ 1090s # void 1090s # good_types_proxy_new_for_bus ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # 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); 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new_for_bus_finish: 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # GoodTypes * 1090s # good_types_proxy_new_for_bus_finish ( 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GObject *ret; 1090s # GObject *source_object; 1090s # source_object = g_async_result_get_source_object (res); 1090s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1090s # g_object_unref (source_object); 1090s # if (ret != NULL) 1090s # return GOOD_TYPES (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new_for_bus_sync: 1090s # * @bus_type: A #GBusType. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: A bus name (well-known or unique). 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1090s # * 1090s # * The calling thread is blocked until a reply is received. 1090s # * 1090s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # GoodTypes * 1090s # good_types_proxy_new_for_bus_sync ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GInitable *ret; 1090s # 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); 1090s # if (ret != NULL) 1090s # return GOOD_TYPES (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # 1090s # /** 1090s # * GoodTypesSkeleton: 1090s # * 1090s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1090s # */ 1090s # 1090s # /** 1090s # * GoodTypesSkeletonClass: 1090s # * @parent_class: The parent class. 1090s # * 1090s # * Class structure for GoodTypesSkeleton. 1090s # */ 1090s # 1090s # struct _GoodTypesSkeletonPrivate 1090s # { 1090s # GValue *properties; 1090s # GList *changed_properties; 1090s # GSource *changed_properties_idle_source; 1090s # GMainContext *context; 1090s # GMutex lock; 1090s # }; 1090s # 1090s # static void 1090s # _good_types_skeleton_handle_method_call ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name, 1090s # const gchar *method_name, 1090s # GVariant *parameters, 1090s # GDBusMethodInvocation *invocation, 1090s # gpointer user_data) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1090s # _ExtendedGDBusMethodInfo *info; 1090s # GVariantIter iter; 1090s # GVariant *child; 1090s # GValue *paramv; 1090s # gsize num_params; 1090s # guint num_extra; 1090s # gsize n; 1090s # guint signal_id; 1090s # GValue return_value = G_VALUE_INIT; 1090s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1090s # g_assert (info != NULL); 1090s # num_params = g_variant_n_children (parameters); 1090s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1090s # n = 0; 1090s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1090s # g_value_set_object (¶mv[n++], skeleton); 1090s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1090s # g_value_set_object (¶mv[n++], invocation); 1090s # if (info->pass_fdlist) 1090s # { 1090s # #ifdef G_OS_UNIX 1090s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1090s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1090s # #else 1090s # g_assert_not_reached (); 1090s # #endif 1090s # } 1090s # g_variant_iter_init (&iter, parameters); 1090s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1090s # { 1090s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1090s # if (arg_info->use_gvariant) 1090s # { 1090s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1090s # g_value_set_variant (¶mv[n], child); 1090s # n++; 1090s # } 1090s # else 1090s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1090s # g_variant_unref (child); 1090s # } 1090s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1090s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1090s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1090s # if (!g_value_get_boolean (&return_value)) 1090s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1090s # g_value_unset (&return_value); 1090s # for (n = 0; n < num_params + num_extra; n++) 1090s # g_value_unset (¶mv[n]); 1090s # g_free (paramv); 1090s # } 1090s # 1090s # static GVariant * 1090s # _good_types_skeleton_handle_get_property ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name G_GNUC_UNUSED, 1090s # const gchar *property_name, 1090s # GError **error, 1090s # gpointer user_data) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1090s # GValue value = G_VALUE_INIT; 1090s # GParamSpec *pspec; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # GVariant *ret; 1090s # ret = NULL; 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1090s # g_assert (info != NULL); 1090s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1090s # if (pspec == NULL) 1090s # { 1090s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1090s # } 1090s # else 1090s # { 1090s # g_value_init (&value, pspec->value_type); 1090s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1090s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1090s # g_value_unset (&value); 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # static gboolean 1090s # _good_types_skeleton_handle_set_property ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name G_GNUC_UNUSED, 1090s # const gchar *property_name, 1090s # GVariant *variant, 1090s # GError **error, 1090s # gpointer user_data) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1090s # GValue value = G_VALUE_INIT; 1090s # GParamSpec *pspec; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # gboolean ret; 1090s # ret = FALSE; 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1090s # g_assert (info != NULL); 1090s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1090s # if (pspec == NULL) 1090s # { 1090s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1090s # } 1090s # else 1090s # { 1090s # if (info->use_gvariant) 1090s # g_value_set_variant (&value, variant); 1090s # else 1090s # g_dbus_gvariant_to_gvalue (variant, &value); 1090s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1090s # g_value_unset (&value); 1090s # ret = TRUE; 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1090s # { 1090s # _good_types_skeleton_handle_method_call, 1090s # _good_types_skeleton_handle_get_property, 1090s # _good_types_skeleton_handle_set_property, 1090s # {NULL} 1090s # }; 1090s # 1090s # static GDBusInterfaceInfo * 1090s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1090s # { 1090s # return good_types_interface_info (); 1090s # } 1090s # 1090s # static GDBusInterfaceVTable * 1090s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1090s # { 1090s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1090s # } 1090s # 1090s # static GVariant * 1090s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1090s # 1090s # GVariantBuilder builder; 1090s # guint n; 1090s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1090s # if (_good_types_interface_info.parent_struct.properties == NULL) 1090s # goto out; 1090s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1090s # { 1090s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1090s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1090s # { 1090s # GVariant *value; 1090s # 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); 1090s # if (value != NULL) 1090s # { 1090s # g_variant_take_ref (value); 1090s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1090s # g_variant_unref (value); 1090s # } 1090s # } 1090s # } 1090s # out: 1090s # return g_variant_builder_end (&builder); 1090s # } 1090s # 1090s # static gboolean _good_types_emit_changed (gpointer user_data); 1090s # 1090s # static void 1090s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1090s # gboolean emit_changed = FALSE; 1090s # 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # if (skeleton->priv->changed_properties_idle_source != NULL) 1090s # { 1090s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1090s # skeleton->priv->changed_properties_idle_source = NULL; 1090s # emit_changed = TRUE; 1090s # } 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # 1090s # if (emit_changed) 1090s # _good_types_emit_changed (skeleton); 1090s # } 1090s # 1090s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1090s # G_ADD_PRIVATE (GoodTypesSkeleton) 1090s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1090s # 1090s # #else 1090s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1090s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1090s # 1090s # #endif 1090s # static void 1090s # good_types_skeleton_finalize (GObject *object) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # guint n; 1090s # for (n = 0; n < 1; n++) 1090s # g_value_unset (&skeleton->priv->properties[n]); 1090s # g_free (skeleton->priv->properties); 1090s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1090s # if (skeleton->priv->changed_properties_idle_source != NULL) 1090s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1090s # g_main_context_unref (skeleton->priv->context); 1090s # g_mutex_clear (&skeleton->priv->lock); 1090s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_get_property (GObject *object, 1090s # guint prop_id, 1090s # GValue *value, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # } 1090s # 1090s # static gboolean 1090s # _good_types_emit_changed (gpointer user_data) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1090s # GList *l; 1090s # GVariantBuilder builder; 1090s # GVariantBuilder invalidated_builder; 1090s # guint num_changes; 1090s # 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1090s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1090s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1090s # { 1090s # ChangedProperty *cp = l->data; 1090s # GVariant *variant; 1090s # const GValue *cur_value; 1090s # 1090s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1090s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1090s # { 1090s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1090s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1090s # g_variant_unref (variant); 1090s # num_changes++; 1090s # } 1090s # } 1090s # if (num_changes > 0) 1090s # { 1090s # GList *connections, *ll; 1090s # GVariant *signal_variant; 1090s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1090s # &builder, &invalidated_builder)); 1090s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1090s # for (ll = connections; ll != NULL; ll = ll->next) 1090s # { 1090s # GDBusConnection *connection = ll->data; 1090s # 1090s # g_dbus_connection_emit_signal (connection, 1090s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1090s # "org.freedesktop.DBus.Properties", 1090s # "PropertiesChanged", 1090s # signal_variant, 1090s # NULL); 1090s # } 1090s # g_variant_unref (signal_variant); 1090s # g_list_free_full (connections, g_object_unref); 1090s # } 1090s # else 1090s # { 1090s # g_variant_builder_clear (&builder); 1090s # g_variant_builder_clear (&invalidated_builder); 1090s # } 1090s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1090s # skeleton->priv->changed_properties = NULL; 1090s # skeleton->priv->changed_properties_idle_source = NULL; 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # return FALSE; 1090s # } 1090s # 1090s # static void 1090s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1090s # { 1090s # ChangedProperty *cp; 1090s # GList *l; 1090s # cp = NULL; 1090s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1090s # { 1090s # ChangedProperty *i_cp = l->data; 1090s # if (i_cp->info == info) 1090s # { 1090s # cp = i_cp; 1090s # break; 1090s # } 1090s # } 1090s # if (cp == NULL) 1090s # { 1090s # cp = g_new0 (ChangedProperty, 1); 1090s # cp->prop_id = prop_id; 1090s # cp->info = info; 1090s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1090s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1090s # g_value_copy (orig_value, &cp->orig_value); 1090s # } 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_notify (GObject *object, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # if (skeleton->priv->changed_properties != NULL && 1090s # skeleton->priv->changed_properties_idle_source == NULL) 1090s # { 1090s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1090s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1090s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1090s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1090s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1090s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1090s # } 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_set_property (GObject *object, 1090s # guint prop_id, 1090s # const GValue *value, 1090s # GParamSpec *pspec) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # g_object_freeze_notify (object); 1090s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1090s # { 1090s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1090s # info->emits_changed_signal) 1090s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1090s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1090s # g_object_notify_by_pspec (object, pspec); 1090s # } 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # g_object_thaw_notify (object); 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1090s # { 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1090s # #else 1090s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1090s # #endif 1090s # 1090s # g_mutex_init (&skeleton->priv->lock); 1090s # skeleton->priv->context = g_main_context_ref_thread_default (); 1090s # skeleton->priv->properties = g_new0 (GValue, 1); 1090s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1090s # } 1090s # 1090s # static GVariant * 1090s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # GVariant *value; 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # return value; 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1090s # { 1090s # GObjectClass *gobject_class; 1090s # GDBusInterfaceSkeletonClass *skeleton_class; 1090s # 1090s # gobject_class = G_OBJECT_CLASS (klass); 1090s # gobject_class->finalize = good_types_skeleton_finalize; 1090s # gobject_class->get_property = good_types_skeleton_get_property; 1090s # gobject_class->set_property = good_types_skeleton_set_property; 1090s # gobject_class->notify = good_types_skeleton_notify; 1090s # 1090s # 1090s # good_types_override_properties (gobject_class, 1); 1090s # 1090s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1090s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1090s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1090s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1090s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1090s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1090s # #endif 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1090s # { 1090s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1090s # } 1090s # 1090s # /** 1090s # * good_types_skeleton_new: 1090s # * 1090s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1090s # */ 1090s # GoodTypes * 1090s # good_types_skeleton_new (void) 1090s # { 1090s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1090s # } 1090s # /tmp/tmpb8gjuidm/tmpze2er3fi.xml: 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8gjuidm/tmpze2er3fi.xml', '--output', '-', '--body'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # Output: /* 1090s # * This file is generated by gdbus-codegen, do not modify it. 1090s # * 1090s # * The license of this code is the same as for the D-Bus interface description 1090s # * it was derived from. Note that it links to GLib, so must comply with the 1090s # * LGPL linking clauses. 1090s # */ 1090s # 1090s # #ifdef HAVE_CONFIG_H 1090s # # include "config.h" 1090s # #endif 1090s # 1090s # #include 1090s # #ifdef G_OS_UNIX 1090s # # include 1090s # #endif 1090s # 1090s # #ifdef G_ENABLE_DEBUG 1090s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1090s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1090s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1090s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1090s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1090s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1090s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1090s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1090s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1090s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1090s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1090s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1090s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1090s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1090s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1090s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1090s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1090s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1090s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1090s # #else /* !G_ENABLE_DEBUG */ 1090s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1090s # * Do not access GValues directly in your code. Instead, use the 1090s # * g_value_get_*() functions 1090s # */ 1090s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1090s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1090s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1090s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1090s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1090s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1090s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1090s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1090s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1090s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1090s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1090s # #endif /* !G_ENABLE_DEBUG */ 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusArgInfo parent_struct; 1090s # gboolean use_gvariant; 1090s # } _ExtendedGDBusArgInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusMethodInfo parent_struct; 1090s # const gchar *signal_name; 1090s # gboolean pass_fdlist; 1090s # } _ExtendedGDBusMethodInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusSignalInfo parent_struct; 1090s # const gchar *signal_name; 1090s # } _ExtendedGDBusSignalInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusPropertyInfo parent_struct; 1090s # const gchar *hyphen_name; 1090s # guint use_gvariant : 1; 1090s # guint emits_changed_signal : 1; 1090s # } _ExtendedGDBusPropertyInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusInterfaceInfo parent_struct; 1090s # const gchar *hyphen_name; 1090s # } _ExtendedGDBusInterfaceInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # guint prop_id; 1090s # GValue orig_value; /* the value before the change */ 1090s # } ChangedProperty; 1090s # 1090s # static void 1090s # _changed_property_free (ChangedProperty *data) 1090s # { 1090s # g_value_unset (&data->orig_value); 1090s # g_free (data); 1090s # } 1090s # 1090s # static gboolean 1090s # _g_strv_equal0 (gchar **a, gchar **b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # guint n; 1090s # if (a == NULL && b == NULL) 1090s # { 1090s # ret = TRUE; 1090s # goto out; 1090s # } 1090s # if (a == NULL || b == NULL) 1090s # goto out; 1090s # if (g_strv_length (a) != g_strv_length (b)) 1090s # goto out; 1090s # for (n = 0; a[n] != NULL; n++) 1090s # if (g_strcmp0 (a[n], b[n]) != 0) 1090s # goto out; 1090s # ret = TRUE; 1090s # out: 1090s # return ret; 1090s # } 1090s # 1090s # static gboolean 1090s # _g_variant_equal0 (GVariant *a, GVariant *b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # if (a == NULL && b == NULL) 1090s # { 1090s # ret = TRUE; 1090s # goto out; 1090s # } 1090s # if (a == NULL || b == NULL) 1090s # goto out; 1090s # ret = g_variant_equal (a, b); 1090s # out: 1090s # return ret; 1090s # } 1090s # 1090s # G_GNUC_UNUSED static gboolean 1090s # _g_value_equal (const GValue *a, const GValue *b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1090s # switch (G_VALUE_TYPE (a)) 1090s # { 1090s # case G_TYPE_BOOLEAN: 1090s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1090s # break; 1090s # case G_TYPE_UCHAR: 1090s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1090s # break; 1090s # case G_TYPE_INT: 1090s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1090s # break; 1090s # case G_TYPE_UINT: 1090s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1090s # break; 1090s # case G_TYPE_INT64: 1090s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1090s # break; 1090s # case G_TYPE_UINT64: 1090s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1090s # break; 1090s # case G_TYPE_DOUBLE: 1090s # { 1090s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1090s # gdouble da = g_value_get_double (a); 1090s # gdouble db = g_value_get_double (b); 1090s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1090s # } 1090s # break; 1090s # case G_TYPE_STRING: 1090s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1090s # break; 1090s # case G_TYPE_VARIANT: 1090s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1090s # break; 1090s # default: 1090s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1090s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1090s # else 1090s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1090s # break; 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # /* ------------------------------------------------------------------------ 1090s # * Code for interface GoodTypes 1090s # * ------------------------------------------------------------------------ 1090s # */ 1090s # 1090s # /** 1090s # * SECTION:GoodTypes 1090s # * @title: GoodTypes 1090s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1090s # * 1090s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1090s # */ 1090s # 1090s # /* ---- Introspection data for GoodTypes ---- */ 1090s # 1090s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "GoodPropertyType", 1090s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1090s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1090s # NULL 1090s # }, 1090s # "good-property-type", 1090s # FALSE, 1090s # TRUE 1090s # }; 1090s # 1090s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1090s # { 1090s # &_good_types_property_info_good_property_type.parent_struct, 1090s # NULL 1090s # }; 1090s # 1090s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "GoodTypes", 1090s # NULL, 1090s # NULL, 1090s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1090s # NULL 1090s # }, 1090s # "good-types", 1090s # }; 1090s # 1090s # 1090s # /** 1090s # * good_types_interface_info: 1090s # * 1090s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1090s # * 1090s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1090s # */ 1090s # GDBusInterfaceInfo * 1090s # good_types_interface_info (void) 1090s # { 1090s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1090s # } 1090s # 1090s # /** 1090s # * good_types_override_properties: 1090s # * @klass: The class structure for a #GObject derived class. 1090s # * @property_id_begin: The property id to assign to the first overridden property. 1090s # * 1090s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1090s # * The properties are overridden in the order they are defined. 1090s # * 1090s # * Returns: The last property id. 1090s # */ 1090s # guint 1090s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1090s # { 1090s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1090s # return property_id_begin - 1; 1090s # } 1090s # 1090s # 1090s # 1090s # /** 1090s # * GoodTypes: 1090s # * 1090s # * Abstract interface type for the D-Bus interface GoodTypes. 1090s # */ 1090s # 1090s # /** 1090s # * GoodTypesIface: 1090s # * @parent_iface: The parent interface. 1090s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1090s # * 1090s # * Virtual table for the D-Bus interface GoodTypes. 1090s # */ 1090s # 1090s # typedef GoodTypesIface GoodTypesInterface; 1090s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1090s # 1090s # static void 1090s # good_types_default_init (GoodTypesIface *iface) 1090s # { 1090s # /* GObject properties for D-Bus properties: */ 1090s # /** 1090s # * GoodTypes:good-property-type: 1090s # * 1090s # * Represents the D-Bus property "GoodPropertyType". 1090s # * 1090s # * 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. 1090s # */ 1090s # g_object_interface_install_property (iface, 1090s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1090s # } 1090s # 1090s # /** 1090s # * good_types_get_good_property_type: (skip) 1090s # * @object: A GoodTypes. 1090s # * 1090s # * Gets the value of the "GoodPropertyType" D-Bus property. 1090s # * 1090s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1090s # * 1090s # * 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. 1090s # * 1090s # * 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. 1090s # */ 1090s # GVariant * 1090s # good_types_get_good_property_type (GoodTypes *object) 1090s # { 1090s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1090s # 1090s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1090s # } 1090s # 1090s # /** 1090s # * good_types_dup_good_property_type: (skip) 1090s # * @object: A GoodTypes. 1090s # * 1090s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1090s # * 1090s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1090s # * 1090s # * 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(). 1090s # */ 1090s # GVariant * 1090s # good_types_dup_good_property_type (GoodTypes *object) 1090s # { 1090s # GVariant *value; 1090s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1090s # return value; 1090s # } 1090s # 1090s # /** 1090s # * good_types_set_good_property_type: (skip) 1090s # * @object: A GoodTypes. 1090s # * @value: The value to set. 1090s # * 1090s # * Sets the "GoodPropertyType" D-Bus property to @value. 1090s # * 1090s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1090s # */ 1090s # void 1090s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1090s # { 1090s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1090s # } 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # 1090s # /** 1090s # * GoodTypesProxy: 1090s # * 1090s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1090s # */ 1090s # 1090s # /** 1090s # * GoodTypesProxyClass: 1090s # * @parent_class: The parent class. 1090s # * 1090s # * Class structure for GoodTypesProxy. 1090s # */ 1090s # 1090s # struct _GoodTypesProxyPrivate 1090s # { 1090s # GData *qdata; 1090s # }; 1090s # 1090s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1090s # G_ADD_PRIVATE (GoodTypesProxy) 1090s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1090s # 1090s # #else 1090s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1090s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1090s # 1090s # #endif 1090s # static void 1090s # good_types_proxy_finalize (GObject *object) 1090s # { 1090s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1090s # g_datalist_clear (&proxy->priv->qdata); 1090s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_get_property (GObject *object, 1090s # guint prop_id, 1090s # GValue *value, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # GVariant *variant; 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1090s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1090s # if (info->use_gvariant) 1090s # { 1090s # g_value_set_variant (value, variant); 1090s # } 1090s # else 1090s # { 1090s # if (variant != NULL) 1090s # g_dbus_gvariant_to_gvalue (variant, value); 1090s # } 1090s # if (variant != NULL) 1090s # g_variant_unref (variant); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1090s # GAsyncResult *res, 1090s # gpointer user_data) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info = user_data; 1090s # GError *error; 1090s # GVariant *_ret; 1090s # error = NULL; 1090s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1090s # if (!_ret) 1090s # { 1090s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1090s # info->parent_struct.name, 1090s # error->message, g_quark_to_string (error->domain), error->code); 1090s # g_error_free (error); 1090s # } 1090s # else 1090s # { 1090s # g_variant_unref (_ret); 1090s # } 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_set_property (GObject *object, 1090s # guint prop_id, 1090s # const GValue *value, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # GVariant *variant; 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1090s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1090s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1090s # "org.freedesktop.DBus.Properties.Set", 1090s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1090s # G_DBUS_CALL_FLAGS_NONE, 1090s # -1, 1090s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1090s # g_variant_unref (variant); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_g_signal (GDBusProxy *proxy, 1090s # const gchar *sender_name G_GNUC_UNUSED, 1090s # const gchar *signal_name, 1090s # GVariant *parameters) 1090s # { 1090s # _ExtendedGDBusSignalInfo *info; 1090s # GVariantIter iter; 1090s # GVariant *child; 1090s # GValue *paramv; 1090s # gsize num_params; 1090s # gsize n; 1090s # guint signal_id; 1090s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1090s # if (info == NULL) 1090s # return; 1090s # num_params = g_variant_n_children (parameters); 1090s # paramv = g_new0 (GValue, num_params + 1); 1090s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1090s # g_value_set_object (¶mv[0], proxy); 1090s # g_variant_iter_init (&iter, parameters); 1090s # n = 1; 1090s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1090s # { 1090s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1090s # if (arg_info->use_gvariant) 1090s # { 1090s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1090s # g_value_set_variant (¶mv[n], child); 1090s # n++; 1090s # } 1090s # else 1090s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1090s # g_variant_unref (child); 1090s # } 1090s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1090s # g_signal_emitv (paramv, signal_id, 0, NULL); 1090s # for (n = 0; n < num_params + 1; n++) 1090s # g_value_unset (¶mv[n]); 1090s # g_free (paramv); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1090s # GVariant *changed_properties, 1090s # const gchar *const *invalidated_properties) 1090s # { 1090s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1090s # guint n; 1090s # const gchar *key; 1090s # GVariantIter *iter; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # g_variant_get (changed_properties, "a{sv}", &iter); 1090s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1090s # { 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1090s # g_datalist_remove_data (&proxy->priv->qdata, key); 1090s # if (info != NULL) 1090s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1090s # } 1090s # g_variant_iter_free (iter); 1090s # for (n = 0; invalidated_properties[n] != NULL; n++) 1090s # { 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1090s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1090s # if (info != NULL) 1090s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1090s # } 1090s # } 1090s # 1090s # static GVariant * 1090s # good_types_proxy_get_good_property_type (GoodTypes *object) 1090s # { 1090s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1090s # GVariant *variant; 1090s # GVariant *value = NULL; 1090s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1090s # value = variant; 1090s # if (variant != NULL) 1090s # g_variant_unref (variant); 1090s # return value; 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_init (GoodTypesProxy *proxy) 1090s # { 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1090s # #else 1090s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1090s # #endif 1090s # 1090s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1090s # { 1090s # GObjectClass *gobject_class; 1090s # GDBusProxyClass *proxy_class; 1090s # 1090s # gobject_class = G_OBJECT_CLASS (klass); 1090s # gobject_class->finalize = good_types_proxy_finalize; 1090s # gobject_class->get_property = good_types_proxy_get_property; 1090s # gobject_class->set_property = good_types_proxy_set_property; 1090s # 1090s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1090s # proxy_class->g_signal = good_types_proxy_g_signal; 1090s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1090s # 1090s # good_types_override_properties (gobject_class, 1); 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1090s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1090s # #endif 1090s # } 1090s # 1090s # static void 1090s # good_types_proxy_iface_init (GoodTypesIface *iface) 1090s # { 1090s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new: 1090s # * @connection: A #GDBusConnection. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1090s # * 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1090s # * 1090s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1090s # */ 1090s # void 1090s # good_types_proxy_new ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # 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); 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new_finish: 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Finishes an operation started with good_types_proxy_new(). 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # GoodTypes * 1090s # good_types_proxy_new_finish ( 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GObject *ret; 1090s # GObject *source_object; 1090s # source_object = g_async_result_get_source_object (res); 1090s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1090s # g_object_unref (source_object); 1090s # if (ret != NULL) 1090s # return GOOD_TYPES (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new_sync: 1090s # * @connection: A #GDBusConnection. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1090s # * 1090s # * The calling thread is blocked until a reply is received. 1090s # * 1090s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # GoodTypes * 1090s # good_types_proxy_new_sync ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GInitable *ret; 1090s # 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); 1090s # if (ret != NULL) 1090s # return GOOD_TYPES (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # 1090s # /** 1090s # * good_types_proxy_new_for_bus: 1090s # * @bus_type: A #GBusType. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: A bus name (well-known or unique). 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1090s # * 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1090s # * 1090s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1090s # */ 1090s # void 1090s # good_types_proxy_new_for_bus ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # 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); 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new_for_bus_finish: 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # GoodTypes * 1090s # good_types_proxy_new_for_bus_finish ( 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GObject *ret; 1090s # GObject *source_object; 1090s # source_object = g_async_result_get_source_object (res); 1090s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1090s # g_object_unref (source_object); 1090s # if (ret != NULL) 1090s # return GOOD_TYPES (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # /** 1090s # * good_types_proxy_new_for_bus_sync: 1090s # * @bus_type: A #GBusType. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: A bus name (well-known or unique). 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1090s # * 1090s # * The calling thread is blocked until a reply is received. 1090s # * 1090s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # GoodTypes * 1090s # good_types_proxy_new_for_bus_sync ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GInitable *ret; 1090s # 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); 1090s # if (ret != NULL) 1090s # return GOOD_TYPES (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # 1090s # /** 1090s # * GoodTypesSkeleton: 1090s # * 1090s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1090s # */ 1090s # 1090s # /** 1090s # * GoodTypesSkeletonClass: 1090s # * @parent_class: The parent class. 1090s # * 1090s # * Class structure for GoodTypesSkeleton. 1090s # */ 1090s # 1090s # struct _GoodTypesSkeletonPrivate 1090s # { 1090s # GValue *properties; 1090s # GList *changed_properties; 1090s # GSource *changed_properties_idle_source; 1090s # GMainContext *context; 1090s # GMutex lock; 1090s # }; 1090s # 1090s # static void 1090s # _good_types_skeleton_handle_method_call ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name, 1090s # const gchar *method_name, 1090s # GVariant *parameters, 1090s # GDBusMethodInvocation *invocation, 1090s # gpointer user_data) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1090s # _ExtendedGDBusMethodInfo *info; 1090s # GVariantIter iter; 1090s # GVariant *child; 1090s # GValue *paramv; 1090s # gsize num_params; 1090s # guint num_extra; 1090s # gsize n; 1090s # guint signal_id; 1090s # GValue return_value = G_VALUE_INIT; 1090s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1090s # g_assert (info != NULL); 1090s # num_params = g_variant_n_children (parameters); 1090s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1090s # n = 0; 1090s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1090s # g_value_set_object (¶mv[n++], skeleton); 1090s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1090s # g_value_set_object (¶mv[n++], invocation); 1090s # if (info->pass_fdlist) 1090s # { 1090s # #ifdef G_OS_UNIX 1090s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1090s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1090s # #else 1090s # g_assert_not_reached (); 1090s # #endif 1090s # } 1090s # g_variant_iter_init (&iter, parameters); 1090s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1090s # { 1090s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1090s # if (arg_info->use_gvariant) 1090s # { 1090s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1090s # g_value_set_variant (¶mv[n], child); 1090s # n++; 1090s # } 1090s # else 1090s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1090s # g_variant_unref (child); 1090s # } 1090s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1090s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1090s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1090s # if (!g_value_get_boolean (&return_value)) 1090s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1090s # g_value_unset (&return_value); 1090s # for (n = 0; n < num_params + num_extra; n++) 1090s # g_value_unset (¶mv[n]); 1090s # g_free (paramv); 1090s # } 1090s # 1090s # static GVariant * 1090s # _good_types_skeleton_handle_get_property ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name G_GNUC_UNUSED, 1090s # const gchar *property_name, 1090s # GError **error, 1090s # gpointer user_data) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1090s # GValue value = G_VALUE_INIT; 1090s # GParamSpec *pspec; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # GVariant *ret; 1090s # ret = NULL; 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1090s # g_assert (info != NULL); 1090s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1090s # if (pspec == NULL) 1090s # { 1090s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1090s # } 1090s # else 1090s # { 1090s # g_value_init (&value, pspec->value_type); 1090s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1090s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1090s # g_value_unset (&value); 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # static gboolean 1090s # _good_types_skeleton_handle_set_property ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name G_GNUC_UNUSED, 1090s # const gchar *property_name, 1090s # GVariant *variant, 1090s # GError **error, 1090s # gpointer user_data) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1090s # GValue value = G_VALUE_INIT; 1090s # GParamSpec *pspec; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # gboolean ret; 1090s # ret = FALSE; 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1090s # g_assert (info != NULL); 1090s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1090s # if (pspec == NULL) 1090s # { 1090s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1090s # } 1090s # else 1090s # { 1090s # if (info->use_gvariant) 1090s # g_value_set_variant (&value, variant); 1090s # else 1090s # g_dbus_gvariant_to_gvalue (variant, &value); 1090s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1090s # g_value_unset (&value); 1090s # ret = TRUE; 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1090s # { 1090s # _good_types_skeleton_handle_method_call, 1090s # _good_types_skeleton_handle_get_property, 1090s # _good_types_skeleton_handle_set_property, 1090s # {NULL} 1090s # }; 1090s # 1090s # static GDBusInterfaceInfo * 1090s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1090s # { 1090s # return good_types_interface_info (); 1090s # } 1090s # 1090s # static GDBusInterfaceVTable * 1090s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1090s # { 1090s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1090s # } 1090s # 1090s # static GVariant * 1090s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1090s # 1090s # GVariantBuilder builder; 1090s # guint n; 1090s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1090s # if (_good_types_interface_info.parent_struct.properties == NULL) 1090s # goto out; 1090s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1090s # { 1090s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1090s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1090s # { 1090s # GVariant *value; 1090s # 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); 1090s # if (value != NULL) 1090s # { 1090s # g_variant_take_ref (value); 1090s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1090s # g_variant_unref (value); 1090s # } 1090s # } 1090s # } 1090s # out: 1090s # return g_variant_builder_end (&builder); 1090s # } 1090s # 1090s # static gboolean _good_types_emit_changed (gpointer user_data); 1090s # 1090s # static void 1090s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1090s # gboolean emit_changed = FALSE; 1090s # 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # if (skeleton->priv->changed_properties_idle_source != NULL) 1090s # { 1090s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1090s # skeleton->priv->changed_properties_idle_source = NULL; 1090s # emit_changed = TRUE; 1090s # } 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # 1090s # if (emit_changed) 1090s # _good_types_emit_changed (skeleton); 1090s # } 1090s # 1090s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1090s # G_ADD_PRIVATE (GoodTypesSkeleton) 1090s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1090s # 1090s # #else 1090s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1090s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1090s # 1090s # #endif 1090s # static void 1090s # good_types_skeleton_finalize (GObject *object) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # guint n; 1090s # for (n = 0; n < 1; n++) 1090s # g_value_unset (&skeleton->priv->properties[n]); 1090s # g_free (skeleton->priv->properties); 1090s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1090s # if (skeleton->priv->changed_properties_idle_source != NULL) 1090s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1090s # g_main_context_unref (skeleton->priv->context); 1090s # g_mutex_clear (&skeleton->priv->lock); 1090s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_get_property (GObject *object, 1090s # guint prop_id, 1090s # GValue *value, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # } 1090s # 1090s # static gboolean 1090s # _good_types_emit_changed (gpointer user_data) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1090s # GList *l; 1090s # GVariantBuilder builder; 1090s # GVariantBuilder invalidated_builder; 1090s # guint num_changes; 1090s # 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1090s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1090s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1090s # { 1090s # ChangedProperty *cp = l->data; 1090s # GVariant *variant; 1090s # const GValue *cur_value; 1090s # 1090s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1090s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1090s # { 1090s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1090s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1090s # g_variant_unref (variant); 1090s # num_changes++; 1090s # } 1090s # } 1090s # if (num_changes > 0) 1090s # { 1090s # GList *connections, *ll; 1090s # GVariant *signal_variant; 1090s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1090s # &builder, &invalidated_builder)); 1090s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1090s # for (ll = connections; ll != NULL; ll = ll->next) 1090s # { 1090s # GDBusConnection *connection = ll->data; 1090s # 1090s # g_dbus_connection_emit_signal (connection, 1090s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1090s # "org.freedesktop.DBus.Properties", 1090s # "PropertiesChanged", 1090s # signal_variant, 1090s # NULL); 1090s # } 1090s # g_variant_unref (signal_variant); 1090s # g_list_free_full (connections, g_object_unref); 1090s # } 1090s # else 1090s # { 1090s # g_variant_builder_clear (&builder); 1090s # g_variant_builder_clear (&invalidated_builder); 1090s # } 1090s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1090s # skeleton->priv->changed_properties = NULL; 1090s # skeleton->priv->changed_properties_idle_source = NULL; 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # return FALSE; 1090s # } 1090s # 1090s # static void 1090s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1090s # { 1090s # ChangedProperty *cp; 1090s # GList *l; 1090s # cp = NULL; 1090s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1090s # { 1090s # ChangedProperty *i_cp = l->data; 1090s # if (i_cp->info == info) 1090s # { 1090s # cp = i_cp; 1090s # break; 1090s # } 1090s # } 1090s # if (cp == NULL) 1090s # { 1090s # cp = g_new0 (ChangedProperty, 1); 1090s # cp->prop_id = prop_id; 1090s # cp->info = info; 1090s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1090s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1090s # g_value_copy (orig_value, &cp->orig_value); 1090s # } 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_notify (GObject *object, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # if (skeleton->priv->changed_properties != NULL && 1090s # skeleton->priv->changed_properties_idle_source == NULL) 1090s # { 1090s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1090s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1090s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1090s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1090s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1090s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1090s # } 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_set_property (GObject *object, 1090s # guint prop_id, 1090s # const GValue *value, 1090s # GParamSpec *pspec) 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1090s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # g_object_freeze_notify (object); 1090s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1090s # { 1090s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1090s # info->emits_changed_signal) 1090s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1090s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1090s # g_object_notify_by_pspec (object, pspec); 1090s # } 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # g_object_thaw_notify (object); 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1090s # { 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1090s # #else 1090s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1090s # #endif 1090s # 1090s # g_mutex_init (&skeleton->priv->lock); 1090s # skeleton->priv->context = g_main_context_ref_thread_default (); 1090s # skeleton->priv->properties = g_new0 (GValue, 1); 1090s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1090s # } 1090s # 1090s # static GVariant * 1090s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1090s # { 1090s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1090s # GVariant *value; 1090s # g_mutex_lock (&skeleton->priv->lock); 1090s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1090s # g_mutex_unlock (&skeleton->priv->lock); 1090s # return value; 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1090s # { 1090s # GObjectClass *gobject_class; 1090s # GDBusInterfaceSkeletonClass *skeleton_class; 1090s # 1090s # gobject_class = G_OBJECT_CLASS (klass); 1090s # gobject_class->finalize = good_types_skeleton_finalize; 1090s # gobject_class->get_property = good_types_skeleton_get_property; 1090s # gobject_class->set_property = good_types_skeleton_set_property; 1090s # gobject_class->notify = good_types_skeleton_notify; 1090s # 1090s # 1090s # good_types_override_properties (gobject_class, 1); 1090s # 1090s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1090s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1090s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1090s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1090s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1090s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1090s # #endif 1090s # } 1090s # 1090s # static void 1090s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1090s # { 1090s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1090s # } 1090s # 1090s # /** 1090s # * good_types_skeleton_new: 1090s # * 1090s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1090s # * 1090s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1090s # */ 1090s # GoodTypes * 1090s # good_types_skeleton_new (void) 1090s # { 1090s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1090s # } 1090s ok 3 __main__.TestCodegen.test_empty_interface_body 1090s # tmpdir: /tmp/tmp9newoxdk 1090s # codegen: /usr/bin/gdbus-codegen 1090s # /tmp/tmp9newoxdk/tmpmkjq39tv.xml: 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9newoxdk/tmpmkjq39tv.xml', '--output', '-', '--body'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # Output: /* 1090s # * This file is generated by gdbus-codegen, do not modify it. 1090s # * 1090s # * The license of this code is the same as for the D-Bus interface description 1090s # * it was derived from. Note that it links to GLib, so must comply with the 1090s # * LGPL linking clauses. 1090s # */ 1090s # 1090s # #ifdef HAVE_CONFIG_H 1090s # # include "config.h" 1090s # #endif 1090s # 1090s # #include 1090s # #ifdef G_OS_UNIX 1090s # # include 1090s # #endif 1090s # 1090s # #ifdef G_ENABLE_DEBUG 1090s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1090s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1090s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1090s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1090s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1090s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1090s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1090s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1090s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1090s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1090s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1090s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1090s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1090s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1090s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1090s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1090s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1090s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1090s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1090s # #else /* !G_ENABLE_DEBUG */ 1090s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1090s # * Do not access GValues directly in your code. Instead, use the 1090s # * g_value_get_*() functions 1090s # */ 1090s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1090s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1090s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1090s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1090s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1090s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1090s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1090s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1090s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1090s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1090s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1090s # #endif /* !G_ENABLE_DEBUG */ 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusArgInfo parent_struct; 1090s # gboolean use_gvariant; 1090s # } _ExtendedGDBusArgInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusMethodInfo parent_struct; 1090s # const gchar *signal_name; 1090s # gboolean pass_fdlist; 1090s # } _ExtendedGDBusMethodInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusSignalInfo parent_struct; 1090s # const gchar *signal_name; 1090s # } _ExtendedGDBusSignalInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusPropertyInfo parent_struct; 1090s # const gchar *hyphen_name; 1090s # guint use_gvariant : 1; 1090s # guint emits_changed_signal : 1; 1090s # } _ExtendedGDBusPropertyInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusInterfaceInfo parent_struct; 1090s # const gchar *hyphen_name; 1090s # } _ExtendedGDBusInterfaceInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # guint prop_id; 1090s # GValue orig_value; /* the value before the change */ 1090s # } ChangedProperty; 1090s # 1090s # static void 1090s # _changed_property_free (ChangedProperty *data) 1090s # { 1090s # g_value_unset (&data->orig_value); 1090s # g_free (data); 1090s # } 1090s # 1090s # static gboolean 1090s # _g_strv_equal0 (gchar **a, gchar **b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # guint n; 1090s # if (a == NULL && b == NULL) 1090s # { 1090s # ret = TRUE; 1090s # goto out; 1090s # } 1090s # if (a == NULL || b == NULL) 1090s # goto out; 1090s # if (g_strv_length (a) != g_strv_length (b)) 1090s # goto out; 1090s # for (n = 0; a[n] != NULL; n++) 1090s # if (g_strcmp0 (a[n], b[n]) != 0) 1090s # goto out; 1090s # ret = TRUE; 1090s # out: 1090s # return ret; 1090s # } 1090s # 1090s # static gboolean 1090s # _g_variant_equal0 (GVariant *a, GVariant *b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # if (a == NULL && b == NULL) 1090s # { 1090s # ret = TRUE; 1090s # goto out; 1090s # } 1090s # if (a == NULL || b == NULL) 1090s # goto out; 1090s # ret = g_variant_equal (a, b); 1090s # out: 1090s # return ret; 1090s # } 1090s # 1090s # G_GNUC_UNUSED static gboolean 1090s # _g_value_equal (const GValue *a, const GValue *b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1090s # switch (G_VALUE_TYPE (a)) 1090s # { 1090s # case G_TYPE_BOOLEAN: 1090s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1090s # break; 1090s # case G_TYPE_UCHAR: 1090s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1090s # break; 1090s # case G_TYPE_INT: 1090s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1090s # break; 1090s # case G_TYPE_UINT: 1090s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1090s # break; 1090s # case G_TYPE_INT64: 1090s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1090s # break; 1090s # case G_TYPE_UINT64: 1090s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1090s # break; 1090s # case G_TYPE_DOUBLE: 1090s # { 1090s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1090s # gdouble da = g_value_get_double (a); 1090s # gdouble db = g_value_get_double (b); 1090s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1090s # } 1090s # break; 1090s # case G_TYPE_STRING: 1090s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1090s # break; 1090s # case G_TYPE_VARIANT: 1090s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1090s # break; 1090s # default: 1090s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1090s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1090s # else 1090s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1090s # break; 1090s # } 1090s # return ret; 1090s # } 1090s ok 4 __main__.TestCodegen.test_empty_interface_header 1090s # tmpdir: /tmp/tmpin0jc3t1 1090s # codegen: /usr/bin/gdbus-codegen 1090s # /tmp/tmpin0jc3t1/tmp8mn39jbk.xml: 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpin0jc3t1/tmp8mn39jbk.xml', '--output', '-', '--header'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # Output: /* 1090s # * This file is generated by gdbus-codegen, do not modify it. 1090s # * 1090s # * The license of this code is the same as for the D-Bus interface description 1090s # * it was derived from. Note that it links to GLib, so must comply with the 1090s # * LGPL linking clauses. 1090s # */ 1090s # 1090s # #ifndef __STDOUT__ 1090s # #define __STDOUT__ 1090s # 1090s # #include 1090s # 1090s # G_BEGIN_DECLS 1090s # 1090s # 1090s # G_END_DECLS 1090s # 1090s # #endif /* __STDOUT__ */ 1090s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1090s # tmpdir: /tmp/tmpzt6g9ddp 1090s # codegen: /usr/bin/gdbus-codegen 1090s # /tmp/tmpzt6g9ddp/tmpvg2_448h.xml: 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzt6g9ddp/tmpvg2_448h.xml', '--output', '-', '--interface-info-body'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # Output: /* 1090s # * This file is generated by gdbus-codegen, do not modify it. 1090s # * 1090s # * The license of this code is the same as for the D-Bus interface description 1090s # * it was derived from. Note that it links to GLib, so must comply with the 1090s # * LGPL linking clauses. 1090s # */ 1090s # 1090s # #ifdef HAVE_CONFIG_H 1090s # # include "config.h" 1090s # #endif 1090s # 1090s # #include 1090s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1090s # tmpdir: /tmp/tmpv_u4wg0b 1090s # codegen: /usr/bin/gdbus-codegen 1090s # /tmp/tmpv_u4wg0b/tmpr91dqipa.xml: 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv_u4wg0b/tmpr91dqipa.xml', '--output', '-', '--interface-info-header'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # Output: /* 1090s # * This file is generated by gdbus-codegen, do not modify it. 1090s # * 1090s # * The license of this code is the same as for the D-Bus interface description 1090s # * it was derived from. Note that it links to GLib, so must comply with the 1090s # * LGPL linking clauses. 1090s # */ 1090s # 1090s # #ifndef __STDOUT__ 1090s # #define __STDOUT__ 1090s # 1090s # #include 1090s # 1090s # G_BEGIN_DECLS 1090s # 1090s # 1090s # G_END_DECLS 1090s # 1090s # #endif /* __STDOUT__ */ 1090s ok 7 __main__.TestCodegen.test_generate_docbook 1090s # tmpdir: /tmp/tmpfuq2nlet 1090s # codegen: /usr/bin/gdbus-codegen 1090s # /tmp/tmpfuq2nlet/tmpu423781i.xml: 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfuq2nlet/tmpu423781i.xml', '--generate-docbook', 'test'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # Output: 1090s ok 8 __main__.TestCodegen.test_generate_md 1090s # tmpdir: /tmp/tmpd_ogwg1r 1090s # codegen: /usr/bin/gdbus-codegen 1090s # /tmp/tmpd_ogwg1r/tmpw1_idyan.xml: 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd_ogwg1r/tmpw1_idyan.xml', '--generate-md', 'test'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # Output: 1090s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1090s # tmpdir: /tmp/tmplto91v8_ 1090s # codegen: /usr/bin/gdbus-codegen 1090s # /tmp/tmplto91v8_/tmp51lwrpi8.xml: 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # 1090s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplto91v8_/tmp51lwrpi8.xml', '--output', '-', '--body'] 1090s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1090s # Output: /* 1090s # * This file is generated by gdbus-codegen, do not modify it. 1090s # * 1090s # * The license of this code is the same as for the D-Bus interface description 1090s # * it was derived from. Note that it links to GLib, so must comply with the 1090s # * LGPL linking clauses. 1090s # */ 1090s # 1090s # #ifdef HAVE_CONFIG_H 1090s # # include "config.h" 1090s # #endif 1090s # 1090s # #include 1090s # #ifdef G_OS_UNIX 1090s # # include 1090s # #endif 1090s # 1090s # #ifdef G_ENABLE_DEBUG 1090s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1090s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1090s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1090s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1090s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1090s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1090s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1090s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1090s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1090s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1090s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1090s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1090s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1090s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1090s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1090s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1090s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1090s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1090s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1090s # #else /* !G_ENABLE_DEBUG */ 1090s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1090s # * Do not access GValues directly in your code. Instead, use the 1090s # * g_value_get_*() functions 1090s # */ 1090s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1090s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1090s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1090s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1090s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1090s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1090s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1090s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1090s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1090s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1090s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1090s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1090s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1090s # #endif /* !G_ENABLE_DEBUG */ 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusArgInfo parent_struct; 1090s # gboolean use_gvariant; 1090s # } _ExtendedGDBusArgInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusMethodInfo parent_struct; 1090s # const gchar *signal_name; 1090s # gboolean pass_fdlist; 1090s # } _ExtendedGDBusMethodInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusSignalInfo parent_struct; 1090s # const gchar *signal_name; 1090s # } _ExtendedGDBusSignalInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusPropertyInfo parent_struct; 1090s # const gchar *hyphen_name; 1090s # guint use_gvariant : 1; 1090s # guint emits_changed_signal : 1; 1090s # } _ExtendedGDBusPropertyInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # GDBusInterfaceInfo parent_struct; 1090s # const gchar *hyphen_name; 1090s # } _ExtendedGDBusInterfaceInfo; 1090s # 1090s # typedef struct 1090s # { 1090s # const _ExtendedGDBusPropertyInfo *info; 1090s # guint prop_id; 1090s # GValue orig_value; /* the value before the change */ 1090s # } ChangedProperty; 1090s # 1090s # static void 1090s # _changed_property_free (ChangedProperty *data) 1090s # { 1090s # g_value_unset (&data->orig_value); 1090s # g_free (data); 1090s # } 1090s # 1090s # static gboolean 1090s # _g_strv_equal0 (gchar **a, gchar **b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # guint n; 1090s # if (a == NULL && b == NULL) 1090s # { 1090s # ret = TRUE; 1090s # goto out; 1090s # } 1090s # if (a == NULL || b == NULL) 1090s # goto out; 1090s # if (g_strv_length (a) != g_strv_length (b)) 1090s # goto out; 1090s # for (n = 0; a[n] != NULL; n++) 1090s # if (g_strcmp0 (a[n], b[n]) != 0) 1090s # goto out; 1090s # ret = TRUE; 1090s # out: 1090s # return ret; 1090s # } 1090s # 1090s # static gboolean 1090s # _g_variant_equal0 (GVariant *a, GVariant *b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # if (a == NULL && b == NULL) 1090s # { 1090s # ret = TRUE; 1090s # goto out; 1090s # } 1090s # if (a == NULL || b == NULL) 1090s # goto out; 1090s # ret = g_variant_equal (a, b); 1090s # out: 1090s # return ret; 1090s # } 1090s # 1090s # G_GNUC_UNUSED static gboolean 1090s # _g_value_equal (const GValue *a, const GValue *b) 1090s # { 1090s # gboolean ret = FALSE; 1090s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1090s # switch (G_VALUE_TYPE (a)) 1090s # { 1090s # case G_TYPE_BOOLEAN: 1090s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1090s # break; 1090s # case G_TYPE_UCHAR: 1090s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1090s # break; 1090s # case G_TYPE_INT: 1090s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1090s # break; 1090s # case G_TYPE_UINT: 1090s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1090s # break; 1090s # case G_TYPE_INT64: 1090s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1090s # break; 1090s # case G_TYPE_UINT64: 1090s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1090s # break; 1090s # case G_TYPE_DOUBLE: 1090s # { 1090s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1090s # gdouble da = g_value_get_double (a); 1090s # gdouble db = g_value_get_double (b); 1090s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1090s # } 1090s # break; 1090s # case G_TYPE_STRING: 1090s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1090s # break; 1090s # case G_TYPE_VARIANT: 1090s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1090s # break; 1090s # default: 1090s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1090s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1090s # else 1090s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1090s # break; 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # static void 1090s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1090s # GClosure *closure, 1090s # GValue *return_value, 1090s # unsigned int n_param_values, 1090s # const GValue *param_values, 1090s # void *invocation_hint G_GNUC_UNUSED, 1090s # void *marshal_data) 1090s # { 1090s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1090s # (void *data1, 1090s # GDBusMethodInvocation *arg_method_invocation, 1090s # void *data2); 1090s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1090s # GCClosure *cc = (GCClosure*) closure; 1090s # void *data1, *data2; 1090s # gboolean v_return; 1090s # 1090s # g_return_if_fail (return_value != NULL); 1090s # g_return_if_fail (n_param_values == 2); 1090s # 1090s # if (G_CCLOSURE_SWAP_DATA (closure)) 1090s # { 1090s # data1 = closure->data; 1090s # data2 = g_value_peek_pointer (param_values + 0); 1090s # } 1090s # else 1090s # { 1090s # data1 = g_value_peek_pointer (param_values + 0); 1090s # data2 = closure->data; 1090s # } 1090s # 1090s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1090s # (marshal_data ? marshal_data : cc->callback); 1090s # 1090s # v_return = 1090s # callback (data1, 1090s # g_marshal_value_peek_object (param_values + 1), 1090s # data2); 1090s # 1090s # g_value_set_boolean (return_value, v_return); 1090s # } 1090s # 1090s # /* ------------------------------------------------------------------------ 1090s # * Code for interface org.project.CallableIface 1090s # * ------------------------------------------------------------------------ 1090s # */ 1090s # 1090s # /** 1090s # * SECTION:OrgProjectCallableIface 1090s # * @title: OrgProjectCallableIface 1090s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1090s # * 1090s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1090s # */ 1090s # 1090s # /* ---- Introspection data for org.project.CallableIface ---- */ 1090s # 1090s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "SimpleMethod", 1090s # NULL, 1090s # NULL, 1090s # NULL 1090s # }, 1090s # "handle-simple-method", 1090s # FALSE 1090s # }; 1090s # 1090s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1090s # { 1090s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1090s # NULL 1090s # }; 1090s # 1090s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "org.project.CallableIface", 1090s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1090s # NULL, 1090s # NULL, 1090s # NULL 1090s # }, 1090s # "org-project-callable-iface", 1090s # }; 1090s # 1090s # 1090s # /** 1090s # * org_project_callable_iface_interface_info: 1090s # * 1090s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1090s # * 1090s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1090s # */ 1090s # GDBusInterfaceInfo * 1090s # org_project_callable_iface_interface_info (void) 1090s # { 1090s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1090s # } 1090s # 1090s # /** 1090s # * org_project_callable_iface_override_properties: 1090s # * @klass: The class structure for a #GObject derived class. 1090s # * @property_id_begin: The property id to assign to the first overridden property. 1090s # * 1090s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1090s # * The properties are overridden in the order they are defined. 1090s # * 1090s # * Returns: The last property id. 1090s # */ 1090s # guint 1090s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1090s # { 1090s # return property_id_begin - 1; 1090s # } 1090s # 1090s # 1090s # inline static void 1090s # org_project_callable_iface_method_marshal_simple_method ( 1090s # GClosure *closure, 1090s # GValue *return_value, 1090s # unsigned int n_param_values, 1090s # const GValue *param_values, 1090s # void *invocation_hint, 1090s # void *marshal_data) 1090s # { 1090s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1090s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1090s # } 1090s # 1090s # 1090s # /** 1090s # * OrgProjectCallableIface: 1090s # * 1090s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1090s # */ 1090s # 1090s # /** 1090s # * OrgProjectCallableIfaceIface: 1090s # * @parent_iface: The parent interface. 1090s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1090s # * 1090s # * Virtual table for the D-Bus interface org.project.CallableIface. 1090s # */ 1090s # 1090s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1090s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1090s # 1090s # static void 1090s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1090s # { 1090s # /* GObject signals for incoming D-Bus method calls: */ 1090s # /** 1090s # * OrgProjectCallableIface::handle-simple-method: 1090s # * @object: A #OrgProjectCallableIface. 1090s # * @invocation: A #GDBusMethodInvocation. 1090s # * 1090s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1090s # * 1090s # * 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. 1090s # * 1090s # * 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. 1090s # */ 1090s # g_signal_new ("handle-simple-method", 1090s # G_TYPE_FROM_INTERFACE (iface), 1090s # G_SIGNAL_RUN_LAST, 1090s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1090s # g_signal_accumulator_true_handled, 1090s # NULL, 1090s # org_project_callable_iface_method_marshal_simple_method, 1090s # G_TYPE_BOOLEAN, 1090s # 1, 1090s # G_TYPE_DBUS_METHOD_INVOCATION); 1090s # 1090s # } 1090s # 1090s # /** 1090s # * org_project_callable_iface_call_simple_method: 1090s # * @proxy: A #OrgProjectCallableIfaceProxy. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1090s # * 1090s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1090s # */ 1090s # void 1090s # org_project_callable_iface_call_simple_method ( 1090s # OrgProjectCallableIface *proxy, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1090s # "SimpleMethod", 1090s # g_variant_new ("()"), 1090s # G_DBUS_CALL_FLAGS_NONE, 1090s # -1, 1090s # cancellable, 1090s # callback, 1090s # user_data); 1090s # } 1090s # 1090s # /** 1090s # * org_project_callable_iface_call_simple_method_finish: 1090s # * @proxy: A #OrgProjectCallableIfaceProxy. 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1090s # * @error: Return location for error or %NULL. 1090s # * 1090s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1090s # * 1090s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1090s # */ 1090s # gboolean 1090s # org_project_callable_iface_call_simple_method_finish ( 1090s # OrgProjectCallableIface *proxy, 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GVariant *_ret; 1090s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1090s # if (_ret == NULL) 1090s # goto _out; 1090s # g_variant_get (_ret, 1090s # "()"); 1090s # g_variant_unref (_ret); 1090s # _out: 1090s # return _ret != NULL; 1090s # } 1090s # 1090s # /** 1090s # * org_project_callable_iface_call_simple_method_sync: 1090s # * @proxy: A #OrgProjectCallableIfaceProxy. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL. 1090s # * 1090s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1090s # * 1090s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1090s # * 1090s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1090s # */ 1090s # gboolean 1090s # org_project_callable_iface_call_simple_method_sync ( 1090s # OrgProjectCallableIface *proxy, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GVariant *_ret; 1090s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1090s # "SimpleMethod", 1090s # g_variant_new ("()"), 1090s # G_DBUS_CALL_FLAGS_NONE, 1090s # -1, 1090s # cancellable, 1090s # error); 1090s # if (_ret == NULL) 1090s # goto _out; 1090s # g_variant_get (_ret, 1090s # "()"); 1090s # g_variant_unref (_ret); 1090s # _out: 1090s # return _ret != NULL; 1090s # } 1090s # 1090s # /** 1090s # * org_project_callable_iface_complete_simple_method: 1090s # * @object: A #OrgProjectCallableIface. 1090s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1090s # * 1090s # * 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. 1090s # * 1090s # * This method will free @invocation, you cannot use it afterwards. 1090s # */ 1090s # void 1090s # org_project_callable_iface_complete_simple_method ( 1090s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1090s # GDBusMethodInvocation *invocation) 1090s # { 1090s # g_dbus_method_invocation_return_value (invocation, 1090s # g_variant_new ("()")); 1090s # } 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # 1090s # /** 1090s # * OrgProjectCallableIfaceProxy: 1090s # * 1090s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1090s # */ 1090s # 1090s # /** 1090s # * OrgProjectCallableIfaceProxyClass: 1090s # * @parent_class: The parent class. 1090s # * 1090s # * Class structure for #OrgProjectCallableIfaceProxy. 1090s # */ 1090s # 1090s # struct _OrgProjectCallableIfaceProxyPrivate 1090s # { 1090s # GData *qdata; 1090s # }; 1090s # 1090s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1090s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1090s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1090s # 1090s # #else 1090s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1090s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1090s # 1090s # #endif 1090s # static void 1090s # org_project_callable_iface_proxy_finalize (GObject *object) 1090s # { 1090s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1090s # g_datalist_clear (&proxy->priv->qdata); 1090s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1090s # } 1090s # 1090s # static void 1090s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1090s # guint prop_id G_GNUC_UNUSED, 1090s # GValue *value G_GNUC_UNUSED, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # } 1090s # 1090s # static void 1090s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1090s # guint prop_id G_GNUC_UNUSED, 1090s # const GValue *value G_GNUC_UNUSED, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # } 1090s # 1090s # static void 1090s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1090s # const gchar *sender_name G_GNUC_UNUSED, 1090s # const gchar *signal_name, 1090s # GVariant *parameters) 1090s # { 1090s # _ExtendedGDBusSignalInfo *info; 1090s # GVariantIter iter; 1090s # GVariant *child; 1090s # GValue *paramv; 1090s # gsize num_params; 1090s # gsize n; 1090s # guint signal_id; 1090s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1090s # if (info == NULL) 1090s # return; 1090s # num_params = g_variant_n_children (parameters); 1090s # paramv = g_new0 (GValue, num_params + 1); 1090s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1090s # g_value_set_object (¶mv[0], proxy); 1090s # g_variant_iter_init (&iter, parameters); 1090s # n = 1; 1090s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1090s # { 1090s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1090s # if (arg_info->use_gvariant) 1090s # { 1090s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1090s # g_value_set_variant (¶mv[n], child); 1090s # n++; 1090s # } 1090s # else 1090s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1090s # g_variant_unref (child); 1090s # } 1090s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1090s # g_signal_emitv (paramv, signal_id, 0, NULL); 1090s # for (n = 0; n < num_params + 1; n++) 1090s # g_value_unset (¶mv[n]); 1090s # g_free (paramv); 1090s # } 1090s # 1090s # static void 1090s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1090s # GVariant *changed_properties, 1090s # const gchar *const *invalidated_properties) 1090s # { 1090s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1090s # guint n; 1090s # const gchar *key; 1090s # GVariantIter *iter; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # g_variant_get (changed_properties, "a{sv}", &iter); 1090s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1090s # { 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1090s # g_datalist_remove_data (&proxy->priv->qdata, key); 1090s # if (info != NULL) 1090s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1090s # } 1090s # g_variant_iter_free (iter); 1090s # for (n = 0; invalidated_properties[n] != NULL; n++) 1090s # { 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1090s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1090s # if (info != NULL) 1090s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1090s # } 1090s # } 1090s # 1090s # static void 1090s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1090s # { 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1090s # #else 1090s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1090s # #endif 1090s # 1090s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1090s # } 1090s # 1090s # static void 1090s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1090s # { 1090s # GObjectClass *gobject_class; 1090s # GDBusProxyClass *proxy_class; 1090s # 1090s # gobject_class = G_OBJECT_CLASS (klass); 1090s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1090s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1090s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1090s # 1090s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1090s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1090s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1090s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1090s # #endif 1090s # } 1090s # 1090s # static void 1090s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1090s # { 1090s # } 1090s # 1090s # /** 1090s # * org_project_callable_iface_proxy_new: 1090s # * @connection: A #GDBusConnection. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1090s # * 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1090s # * 1090s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1090s # */ 1090s # void 1090s # org_project_callable_iface_proxy_new ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # 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); 1090s # } 1090s # 1090s # /** 1090s # * org_project_callable_iface_proxy_new_finish: 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1090s # * 1090s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # OrgProjectCallableIface * 1090s # org_project_callable_iface_proxy_new_finish ( 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GObject *ret; 1090s # GObject *source_object; 1090s # source_object = g_async_result_get_source_object (res); 1090s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1090s # g_object_unref (source_object); 1090s # if (ret != NULL) 1090s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # /** 1090s # * org_project_callable_iface_proxy_new_sync: 1090s # * @connection: A #GDBusConnection. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1090s # * 1090s # * The calling thread is blocked until a reply is received. 1090s # * 1090s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1090s # * 1090s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # OrgProjectCallableIface * 1090s # org_project_callable_iface_proxy_new_sync ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GInitable *ret; 1090s # 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); 1090s # if (ret != NULL) 1090s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # 1090s # /** 1090s # * org_project_callable_iface_proxy_new_for_bus: 1090s # * @bus_type: A #GBusType. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: A bus name (well-known or unique). 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1090s # * 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1090s # * 1090s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1090s # */ 1090s # void 1090s # org_project_callable_iface_proxy_new_for_bus ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # 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); 1090s # } 1090s # 1090s # /** 1090s # * org_project_callable_iface_proxy_new_for_bus_finish: 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1090s # * 1090s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # OrgProjectCallableIface * 1090s # org_project_callable_iface_proxy_new_for_bus_finish ( 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GObject *ret; 1090s # GObject *source_object; 1090s # source_object = g_async_result_get_source_object (res); 1090s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1090s # g_object_unref (source_object); 1090s # if (ret != NULL) 1090s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # /** 1090s # * org_project_callable_iface_proxy_new_for_bus_sync: 1090s # * @bus_type: A #GBusType. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: A bus name (well-known or unique). 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1090s # * 1090s # * The calling thread is blocked until a reply is received. 1090s # * 1090s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1090s # * 1090s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # OrgProjectCallableIface * 1090s # org_project_callable_iface_proxy_new_for_bus_sync ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GInitable *ret; 1090s # 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); 1090s # if (ret != NULL) 1090s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # 1090s # /** 1090s # * OrgProjectCallableIfaceSkeleton: 1090s # * 1090s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1090s # */ 1090s # 1090s # /** 1090s # * OrgProjectCallableIfaceSkeletonClass: 1090s # * @parent_class: The parent class. 1090s # * 1090s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1090s # */ 1090s # 1090s # struct _OrgProjectCallableIfaceSkeletonPrivate 1090s # { 1090s # GValue *properties; 1090s # GList *changed_properties; 1090s # GSource *changed_properties_idle_source; 1090s # GMainContext *context; 1090s # GMutex lock; 1090s # }; 1090s # 1090s # static void 1090s # _org_project_callable_iface_skeleton_handle_method_call ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name, 1090s # const gchar *method_name, 1090s # GVariant *parameters, 1090s # GDBusMethodInvocation *invocation, 1090s # gpointer user_data) 1090s # { 1090s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1090s # _ExtendedGDBusMethodInfo *info; 1090s # GVariantIter iter; 1090s # GVariant *child; 1090s # GValue *paramv; 1090s # gsize num_params; 1090s # guint num_extra; 1090s # gsize n; 1090s # guint signal_id; 1090s # GValue return_value = G_VALUE_INIT; 1090s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1090s # g_assert (info != NULL); 1090s # num_params = g_variant_n_children (parameters); 1090s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1090s # n = 0; 1090s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1090s # g_value_set_object (¶mv[n++], skeleton); 1090s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1090s # g_value_set_object (¶mv[n++], invocation); 1090s # if (info->pass_fdlist) 1090s # { 1090s # #ifdef G_OS_UNIX 1090s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1090s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1090s # #else 1090s # g_assert_not_reached (); 1090s # #endif 1090s # } 1090s # g_variant_iter_init (&iter, parameters); 1090s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1090s # { 1090s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1090s # if (arg_info->use_gvariant) 1090s # { 1090s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1090s # g_value_set_variant (¶mv[n], child); 1090s # n++; 1090s # } 1090s # else 1090s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1090s # g_variant_unref (child); 1090s # } 1090s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1090s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1090s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1090s # if (!g_value_get_boolean (&return_value)) 1090s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1090s # g_value_unset (&return_value); 1090s # for (n = 0; n < num_params + num_extra; n++) 1090s # g_value_unset (¶mv[n]); 1090s # g_free (paramv); 1090s # } 1090s # 1090s # static GVariant * 1090s # _org_project_callable_iface_skeleton_handle_get_property ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name G_GNUC_UNUSED, 1090s # const gchar *property_name, 1090s # GError **error, 1090s # gpointer user_data) 1090s # { 1090s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1090s # GValue value = G_VALUE_INIT; 1090s # GParamSpec *pspec; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # GVariant *ret; 1090s # ret = NULL; 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1090s # g_assert (info != NULL); 1090s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1090s # if (pspec == NULL) 1090s # { 1090s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1090s # } 1090s # else 1090s # { 1090s # g_value_init (&value, pspec->value_type); 1090s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1090s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1090s # g_value_unset (&value); 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # static gboolean 1090s # _org_project_callable_iface_skeleton_handle_set_property ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name G_GNUC_UNUSED, 1090s # const gchar *property_name, 1090s # GVariant *variant, 1090s # GError **error, 1090s # gpointer user_data) 1090s # { 1090s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1090s # GValue value = G_VALUE_INIT; 1090s # GParamSpec *pspec; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # gboolean ret; 1090s # ret = FALSE; 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1090s # g_assert (info != NULL); 1090s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1090s # if (pspec == NULL) 1090s # { 1090s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1090s # } 1090s # else 1090s # { 1090s # if (info->use_gvariant) 1090s # g_value_set_variant (&value, variant); 1090s # else 1090s # g_dbus_gvariant_to_gvalue (variant, &value); 1090s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1090s # g_value_unset (&value); 1090s # ret = TRUE; 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1090s # { 1090s # _org_project_callable_iface_skeleton_handle_method_call, 1090s # _org_project_callable_iface_skeleton_handle_get_property, 1090s # _org_project_callable_iface_skeleton_handle_set_property, 1090s # {NULL} 1090s # }; 1090s # 1090s # static GDBusInterfaceInfo * 1090s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1090s # { 1090s # return org_project_callable_iface_interface_info (); 1090s # } 1090s # 1090s # static GDBusInterfaceVTable * 1090s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1090s # { 1090s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1090s # } 1090s # 1090s # static GVariant * 1090s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1090s # { 1090s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1090s # 1090s # GVariantBuilder builder; 1090s # guint n; 1090s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1090s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1090s # goto out; 1090s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1090s # { 1090s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1090s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1090s # { 1090s # GVariant *value; 1090s # 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); 1090s # if (value != NULL) 1090s # { 1090s # g_variant_take_ref (value); 1090s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1090s # g_variant_unref (value); 1090s # } 1090s # } 1090s # } 1090s # out: 1090s # return g_variant_builder_end (&builder); 1090s # } 1090s # 1090s # static void 1090s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1090s # { 1090s # } 1090s # 1090s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1090s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1090s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1090s # 1090s # #else 1090s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1090s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1090s # 1090s # #endif 1090s # static void 1090s # org_project_callable_iface_skeleton_finalize (GObject *object) 1090s # { 1090s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1090s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1090s # if (skeleton->priv->changed_properties_idle_source != NULL) 1090s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1090s # g_main_context_unref (skeleton->priv->context); 1090s # g_mutex_clear (&skeleton->priv->lock); 1090s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1090s # } 1090s # 1090s # static void 1090s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1090s # { 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1090s # #else 1090s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1090s # #endif 1090s # 1090s # g_mutex_init (&skeleton->priv->lock); 1090s # skeleton->priv->context = g_main_context_ref_thread_default (); 1090s # } 1090s # 1090s # static void 1090s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1090s # { 1090s # GObjectClass *gobject_class; 1090s # GDBusInterfaceSkeletonClass *skeleton_class; 1090s # 1090s # gobject_class = G_OBJECT_CLASS (klass); 1090s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1090s # 1090s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1090s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1090s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1090s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1090s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1090s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1090s # #endif 1090s # } 1090s # 1090s # static void 1090s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1090s # { 1090s # } 1090s # 1090s # /** 1090s # * org_project_callable_iface_skeleton_new: 1090s # * 1090s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1090s # * 1090s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1090s # */ 1090s # OrgProjectCallableIface * 1090s # org_project_callable_iface_skeleton_new (void) 1090s # { 1090s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1090s # } 1090s # 1090s # /* ------------------------------------------------------------------------ 1090s # * Code for interface org.project.OtherCallableIface 1090s # * ------------------------------------------------------------------------ 1090s # */ 1090s # 1090s # /** 1090s # * SECTION:OrgProjectOtherCallableIface 1090s # * @title: OrgProjectOtherCallableIface 1090s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1090s # * 1090s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1090s # */ 1090s # 1090s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1090s # 1090s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "SimpleMethod", 1090s # NULL, 1090s # NULL, 1090s # NULL 1090s # }, 1090s # "handle-simple-method", 1090s # FALSE 1090s # }; 1090s # 1090s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1090s # { 1090s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1090s # NULL 1090s # }; 1090s # 1090s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1090s # { 1090s # { 1090s # -1, 1090s # (gchar *) "org.project.OtherCallableIface", 1090s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1090s # NULL, 1090s # NULL, 1090s # NULL 1090s # }, 1090s # "org-project-other-callable-iface", 1090s # }; 1090s # 1090s # 1090s # /** 1090s # * org_project_other_callable_iface_interface_info: 1090s # * 1090s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1090s # * 1090s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1090s # */ 1090s # GDBusInterfaceInfo * 1090s # org_project_other_callable_iface_interface_info (void) 1090s # { 1090s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1090s # } 1090s # 1090s # /** 1090s # * org_project_other_callable_iface_override_properties: 1090s # * @klass: The class structure for a #GObject derived class. 1090s # * @property_id_begin: The property id to assign to the first overridden property. 1090s # * 1090s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1090s # * The properties are overridden in the order they are defined. 1090s # * 1090s # * Returns: The last property id. 1090s # */ 1090s # guint 1090s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1090s # { 1090s # return property_id_begin - 1; 1090s # } 1090s # 1090s # 1090s # inline static void 1090s # org_project_other_callable_iface_method_marshal_simple_method ( 1090s # GClosure *closure, 1090s # GValue *return_value, 1090s # unsigned int n_param_values, 1090s # const GValue *param_values, 1090s # void *invocation_hint, 1090s # void *marshal_data) 1090s # { 1090s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1090s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1090s # } 1090s # 1090s # 1090s # /** 1090s # * OrgProjectOtherCallableIface: 1090s # * 1090s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1090s # */ 1090s # 1090s # /** 1090s # * OrgProjectOtherCallableIfaceIface: 1090s # * @parent_iface: The parent interface. 1090s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1090s # * 1090s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1090s # */ 1090s # 1090s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1090s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1090s # 1090s # static void 1090s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1090s # { 1090s # /* GObject signals for incoming D-Bus method calls: */ 1090s # /** 1090s # * OrgProjectOtherCallableIface::handle-simple-method: 1090s # * @object: A #OrgProjectOtherCallableIface. 1090s # * @invocation: A #GDBusMethodInvocation. 1090s # * 1090s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1090s # * 1090s # * 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. 1090s # * 1090s # * 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. 1090s # */ 1090s # g_signal_new ("handle-simple-method", 1090s # G_TYPE_FROM_INTERFACE (iface), 1090s # G_SIGNAL_RUN_LAST, 1090s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1090s # g_signal_accumulator_true_handled, 1090s # NULL, 1090s # org_project_other_callable_iface_method_marshal_simple_method, 1090s # G_TYPE_BOOLEAN, 1090s # 1, 1090s # G_TYPE_DBUS_METHOD_INVOCATION); 1090s # 1090s # } 1090s # 1090s # /** 1090s # * org_project_other_callable_iface_call_simple_method: 1090s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1090s # * 1090s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1090s # */ 1090s # void 1090s # org_project_other_callable_iface_call_simple_method ( 1090s # OrgProjectOtherCallableIface *proxy, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1090s # "SimpleMethod", 1090s # g_variant_new ("()"), 1090s # G_DBUS_CALL_FLAGS_NONE, 1090s # -1, 1090s # cancellable, 1090s # callback, 1090s # user_data); 1090s # } 1090s # 1090s # /** 1090s # * org_project_other_callable_iface_call_simple_method_finish: 1090s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1090s # * @error: Return location for error or %NULL. 1090s # * 1090s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1090s # * 1090s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1090s # */ 1090s # gboolean 1090s # org_project_other_callable_iface_call_simple_method_finish ( 1090s # OrgProjectOtherCallableIface *proxy, 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GVariant *_ret; 1090s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1090s # if (_ret == NULL) 1090s # goto _out; 1090s # g_variant_get (_ret, 1090s # "()"); 1090s # g_variant_unref (_ret); 1090s # _out: 1090s # return _ret != NULL; 1090s # } 1090s # 1090s # /** 1090s # * org_project_other_callable_iface_call_simple_method_sync: 1090s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL. 1090s # * 1090s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1090s # * 1090s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1090s # * 1090s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1090s # */ 1090s # gboolean 1090s # org_project_other_callable_iface_call_simple_method_sync ( 1090s # OrgProjectOtherCallableIface *proxy, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GVariant *_ret; 1090s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1090s # "SimpleMethod", 1090s # g_variant_new ("()"), 1090s # G_DBUS_CALL_FLAGS_NONE, 1090s # -1, 1090s # cancellable, 1090s # error); 1090s # if (_ret == NULL) 1090s # goto _out; 1090s # g_variant_get (_ret, 1090s # "()"); 1090s # g_variant_unref (_ret); 1090s # _out: 1090s # return _ret != NULL; 1090s # } 1090s # 1090s # /** 1090s # * org_project_other_callable_iface_complete_simple_method: 1090s # * @object: A #OrgProjectOtherCallableIface. 1090s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1090s # * 1090s # * 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. 1090s # * 1090s # * This method will free @invocation, you cannot use it afterwards. 1090s # */ 1090s # void 1090s # org_project_other_callable_iface_complete_simple_method ( 1090s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1090s # GDBusMethodInvocation *invocation) 1090s # { 1090s # g_dbus_method_invocation_return_value (invocation, 1090s # g_variant_new ("()")); 1090s # } 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # 1090s # /** 1090s # * OrgProjectOtherCallableIfaceProxy: 1090s # * 1090s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1090s # */ 1090s # 1090s # /** 1090s # * OrgProjectOtherCallableIfaceProxyClass: 1090s # * @parent_class: The parent class. 1090s # * 1090s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1090s # */ 1090s # 1090s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1090s # { 1090s # GData *qdata; 1090s # }; 1090s # 1090s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1090s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1090s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1090s # 1090s # #else 1090s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1090s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1090s # 1090s # #endif 1090s # static void 1090s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1090s # { 1090s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1090s # g_datalist_clear (&proxy->priv->qdata); 1090s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1090s # } 1090s # 1090s # static void 1090s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1090s # guint prop_id G_GNUC_UNUSED, 1090s # GValue *value G_GNUC_UNUSED, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # } 1090s # 1090s # static void 1090s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1090s # guint prop_id G_GNUC_UNUSED, 1090s # const GValue *value G_GNUC_UNUSED, 1090s # GParamSpec *pspec G_GNUC_UNUSED) 1090s # { 1090s # } 1090s # 1090s # static void 1090s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1090s # const gchar *sender_name G_GNUC_UNUSED, 1090s # const gchar *signal_name, 1090s # GVariant *parameters) 1090s # { 1090s # _ExtendedGDBusSignalInfo *info; 1090s # GVariantIter iter; 1090s # GVariant *child; 1090s # GValue *paramv; 1090s # gsize num_params; 1090s # gsize n; 1090s # guint signal_id; 1090s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1090s # if (info == NULL) 1090s # return; 1090s # num_params = g_variant_n_children (parameters); 1090s # paramv = g_new0 (GValue, num_params + 1); 1090s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1090s # g_value_set_object (¶mv[0], proxy); 1090s # g_variant_iter_init (&iter, parameters); 1090s # n = 1; 1090s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1090s # { 1090s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1090s # if (arg_info->use_gvariant) 1090s # { 1090s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1090s # g_value_set_variant (¶mv[n], child); 1090s # n++; 1090s # } 1090s # else 1090s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1090s # g_variant_unref (child); 1090s # } 1090s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1090s # g_signal_emitv (paramv, signal_id, 0, NULL); 1090s # for (n = 0; n < num_params + 1; n++) 1090s # g_value_unset (¶mv[n]); 1090s # g_free (paramv); 1090s # } 1090s # 1090s # static void 1090s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1090s # GVariant *changed_properties, 1090s # const gchar *const *invalidated_properties) 1090s # { 1090s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1090s # guint n; 1090s # const gchar *key; 1090s # GVariantIter *iter; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # g_variant_get (changed_properties, "a{sv}", &iter); 1090s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1090s # { 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1090s # g_datalist_remove_data (&proxy->priv->qdata, key); 1090s # if (info != NULL) 1090s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1090s # } 1090s # g_variant_iter_free (iter); 1090s # for (n = 0; invalidated_properties[n] != NULL; n++) 1090s # { 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1090s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1090s # if (info != NULL) 1090s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1090s # } 1090s # } 1090s # 1090s # static void 1090s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1090s # { 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1090s # #else 1090s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1090s # #endif 1090s # 1090s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1090s # } 1090s # 1090s # static void 1090s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1090s # { 1090s # GObjectClass *gobject_class; 1090s # GDBusProxyClass *proxy_class; 1090s # 1090s # gobject_class = G_OBJECT_CLASS (klass); 1090s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1090s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1090s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1090s # 1090s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1090s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1090s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1090s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1090s # #endif 1090s # } 1090s # 1090s # static void 1090s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1090s # { 1090s # } 1090s # 1090s # /** 1090s # * org_project_other_callable_iface_proxy_new: 1090s # * @connection: A #GDBusConnection. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1090s # * 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1090s # * 1090s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1090s # */ 1090s # void 1090s # org_project_other_callable_iface_proxy_new ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # 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); 1090s # } 1090s # 1090s # /** 1090s # * org_project_other_callable_iface_proxy_new_finish: 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1090s # * 1090s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # OrgProjectOtherCallableIface * 1090s # org_project_other_callable_iface_proxy_new_finish ( 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GObject *ret; 1090s # GObject *source_object; 1090s # source_object = g_async_result_get_source_object (res); 1090s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1090s # g_object_unref (source_object); 1090s # if (ret != NULL) 1090s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # /** 1090s # * org_project_other_callable_iface_proxy_new_sync: 1090s # * @connection: A #GDBusConnection. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1090s # * 1090s # * The calling thread is blocked until a reply is received. 1090s # * 1090s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1090s # * 1090s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # OrgProjectOtherCallableIface * 1090s # org_project_other_callable_iface_proxy_new_sync ( 1090s # GDBusConnection *connection, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GInitable *ret; 1090s # 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); 1090s # if (ret != NULL) 1090s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # 1090s # /** 1090s # * org_project_other_callable_iface_proxy_new_for_bus: 1090s # * @bus_type: A #GBusType. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: A bus name (well-known or unique). 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1090s # * @user_data: User data to pass to @callback. 1090s # * 1090s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1090s # * 1090s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1090s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1090s # * 1090s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1090s # */ 1090s # void 1090s # org_project_other_callable_iface_proxy_new_for_bus ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GAsyncReadyCallback callback, 1090s # gpointer user_data) 1090s # { 1090s # 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); 1090s # } 1090s # 1090s # /** 1090s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1090s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1090s # * 1090s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # OrgProjectOtherCallableIface * 1090s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1090s # GAsyncResult *res, 1090s # GError **error) 1090s # { 1090s # GObject *ret; 1090s # GObject *source_object; 1090s # source_object = g_async_result_get_source_object (res); 1090s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1090s # g_object_unref (source_object); 1090s # if (ret != NULL) 1090s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # /** 1090s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1090s # * @bus_type: A #GBusType. 1090s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1090s # * @name: A bus name (well-known or unique). 1090s # * @object_path: An object path. 1090s # * @cancellable: (nullable): A #GCancellable or %NULL. 1090s # * @error: Return location for error or %NULL 1090s # * 1090s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1090s # * 1090s # * The calling thread is blocked until a reply is received. 1090s # * 1090s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1090s # * 1090s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1090s # */ 1090s # OrgProjectOtherCallableIface * 1090s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1090s # GBusType bus_type, 1090s # GDBusProxyFlags flags, 1090s # const gchar *name, 1090s # const gchar *object_path, 1090s # GCancellable *cancellable, 1090s # GError **error) 1090s # { 1090s # GInitable *ret; 1090s # 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); 1090s # if (ret != NULL) 1090s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1090s # else 1090s # return NULL; 1090s # } 1090s # 1090s # 1090s # /* ------------------------------------------------------------------------ */ 1090s # 1090s # /** 1090s # * OrgProjectOtherCallableIfaceSkeleton: 1090s # * 1090s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1090s # */ 1090s # 1090s # /** 1090s # * OrgProjectOtherCallableIfaceSkeletonClass: 1090s # * @parent_class: The parent class. 1090s # * 1090s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1090s # */ 1090s # 1090s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1090s # { 1090s # GValue *properties; 1090s # GList *changed_properties; 1090s # GSource *changed_properties_idle_source; 1090s # GMainContext *context; 1090s # GMutex lock; 1090s # }; 1090s # 1090s # static void 1090s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name, 1090s # const gchar *method_name, 1090s # GVariant *parameters, 1090s # GDBusMethodInvocation *invocation, 1090s # gpointer user_data) 1090s # { 1090s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1090s # _ExtendedGDBusMethodInfo *info; 1090s # GVariantIter iter; 1090s # GVariant *child; 1090s # GValue *paramv; 1090s # gsize num_params; 1090s # guint num_extra; 1090s # gsize n; 1090s # guint signal_id; 1090s # GValue return_value = G_VALUE_INIT; 1090s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1090s # g_assert (info != NULL); 1090s # num_params = g_variant_n_children (parameters); 1090s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1090s # n = 0; 1090s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1090s # g_value_set_object (¶mv[n++], skeleton); 1090s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1090s # g_value_set_object (¶mv[n++], invocation); 1090s # if (info->pass_fdlist) 1090s # { 1090s # #ifdef G_OS_UNIX 1090s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1090s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1090s # #else 1090s # g_assert_not_reached (); 1090s # #endif 1090s # } 1090s # g_variant_iter_init (&iter, parameters); 1090s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1090s # { 1090s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1090s # if (arg_info->use_gvariant) 1090s # { 1090s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1090s # g_value_set_variant (¶mv[n], child); 1090s # n++; 1090s # } 1090s # else 1090s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1090s # g_variant_unref (child); 1090s # } 1090s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1090s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1090s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1090s # if (!g_value_get_boolean (&return_value)) 1090s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1090s # g_value_unset (&return_value); 1090s # for (n = 0; n < num_params + num_extra; n++) 1090s # g_value_unset (¶mv[n]); 1090s # g_free (paramv); 1090s # } 1090s # 1090s # static GVariant * 1090s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name G_GNUC_UNUSED, 1090s # const gchar *property_name, 1090s # GError **error, 1090s # gpointer user_data) 1090s # { 1090s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1090s # GValue value = G_VALUE_INIT; 1090s # GParamSpec *pspec; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # GVariant *ret; 1090s # ret = NULL; 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1090s # g_assert (info != NULL); 1090s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1090s # if (pspec == NULL) 1090s # { 1090s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1090s # } 1090s # else 1090s # { 1090s # g_value_init (&value, pspec->value_type); 1090s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1090s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1090s # g_value_unset (&value); 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # static gboolean 1090s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1090s # GDBusConnection *connection G_GNUC_UNUSED, 1090s # const gchar *sender G_GNUC_UNUSED, 1090s # const gchar *object_path G_GNUC_UNUSED, 1090s # const gchar *interface_name G_GNUC_UNUSED, 1090s # const gchar *property_name, 1090s # GVariant *variant, 1090s # GError **error, 1090s # gpointer user_data) 1090s # { 1090s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1090s # GValue value = G_VALUE_INIT; 1090s # GParamSpec *pspec; 1090s # _ExtendedGDBusPropertyInfo *info; 1090s # gboolean ret; 1090s # ret = FALSE; 1090s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1090s # g_assert (info != NULL); 1090s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1090s # if (pspec == NULL) 1090s # { 1090s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1090s # } 1090s # else 1090s # { 1090s # if (info->use_gvariant) 1090s # g_value_set_variant (&value, variant); 1090s # else 1090s # g_dbus_gvariant_to_gvalue (variant, &value); 1090s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1090s # g_value_unset (&value); 1090s # ret = TRUE; 1090s # } 1090s # return ret; 1090s # } 1090s # 1090s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1090s # { 1090s # _org_project_other_callable_iface_skeleton_handle_method_call, 1090s # _org_project_other_callable_iface_skeleton_handle_get_property, 1090s # _org_project_other_callable_iface_skeleton_handle_set_property, 1090s # {NULL} 1090s # }; 1090s # 1090s # static GDBusInterfaceInfo * 1090s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1090s # { 1090s # return org_project_other_callable_iface_interface_info (); 1090s # } 1090s # 1090s # static GDBusInterfaceVTable * 1090s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1090s # { 1090s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1090s # } 1090s # 1090s # static GVariant * 1090s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1090s # { 1090s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1090s # 1090s # GVariantBuilder builder; 1090s # guint n; 1090s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1090s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1090s # goto out; 1090s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1090s # { 1090s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1090s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1090s # { 1090s # GVariant *value; 1090s # 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); 1090s # if (value != NULL) 1090s # { 1090s # g_variant_take_ref (value); 1090s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1090s # g_variant_unref (value); 1090s # } 1090s # } 1090s # } 1090s # out: 1090s # return g_variant_builder_end (&builder); 1090s # } 1090s # 1090s # static void 1090s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1090s # { 1090s # } 1090s # 1090s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1090s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1090s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1090s # 1090s # #else 1090s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1090s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1090s # 1090s # #endif 1090s # static void 1090s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1090s # { 1090s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1090s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1090s # if (skeleton->priv->changed_properties_idle_source != NULL) 1090s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1090s # g_main_context_unref (skeleton->priv->context); 1090s # g_mutex_clear (&skeleton->priv->lock); 1090s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1090s # } 1090s # 1090s # static void 1090s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1090s # { 1090s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1090s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1090s # #else 1090s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1090s # #endif 1090s # 1090s # g_mutex_init (&skeleton->priv->lock); 1090s # skeleton->priv->context = g_main_context_ref_thread_default (); 1090s # } 1090s # 1090s # static void 1090s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1090s # { 1090s # GObjectClass *gobject_class; 1090s # GDBusInterfaceSkeletonClass *skeleton_class; 1090s # 1090s # gobject_class = G_OBJECT_CLASS (klass); 1090s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1090s # 1090s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1090s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1090s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1090s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1090s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1090s # 1090s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1090s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1090s # #endif 1090s # } 1090s # 1090s # static void 1090s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1090s # { 1090s # } 1090s # 1090s # /** 1090s # * org_project_other_callable_iface_skeleton_new: 1090s # * 1090s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1090s # * 1090s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1090s # */ 1090s # OrgProjectOtherCallableIface * 1090s # org_project_other_callable_iface_skeleton_new (void) 1090s # { 1090s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1090s # } 1090s # Executing: glib/codegen.py.test 1091s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1091s # tmpdir: /tmp/tmpq87llywd 1091s # codegen: /usr/bin/gdbus-codegen 1091s # /tmp/tmpq87llywd/tmpy4gi0fj2.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmpy4gi0fj2.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # gboolean arg_arg_b, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_boolean (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_b", 1091s # (gchar *) "b", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodB", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-b", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_b: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-b", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_b, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_b: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_b: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_b ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # gboolean arg_arg_b, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodB", 1091s # g_variant_new ("(b)", 1091s # arg_arg_b), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_b_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_b_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_b_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_b: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_b_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # gboolean arg_arg_b, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodB", 1091s # g_variant_new ("(b)", 1091s # arg_arg_b), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_b: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_b ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmpwq1ni6m5.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmpwq1ni6m5.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # guchar arg_arg_y, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_uchar (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_y", 1091s # (gchar *) "y", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodY", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-y", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_y: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-y", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_y, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_y: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_y: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_y ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # guchar arg_arg_y, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodY", 1091s # g_variant_new ("(y)", 1091s # arg_arg_y), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_y_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_y_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_y_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_y: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_y_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # guchar arg_arg_y, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodY", 1091s # g_variant_new ("(y)", 1091s # arg_arg_y), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_y: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_y ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmpk_s9s5wg.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmpk_s9s5wg.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # gint16 arg_arg_n, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_int (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_n", 1091s # (gchar *) "n", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodN", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-n", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_n: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-n", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_n, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_n: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_n: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_n ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # gint16 arg_arg_n, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodN", 1091s # g_variant_new ("(n)", 1091s # arg_arg_n), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_n_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_n_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_n_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_n: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_n_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # gint16 arg_arg_n, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodN", 1091s # g_variant_new ("(n)", 1091s # arg_arg_n), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_n: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_n ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmp_uwlvkmo.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmp_uwlvkmo.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # guint16 arg_arg_q, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_uint (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_q", 1091s # (gchar *) "q", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodQ", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-q", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_q: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-q", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_q, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_q: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_q: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_q ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # guint16 arg_arg_q, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodQ", 1091s # g_variant_new ("(q)", 1091s # arg_arg_q), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_q_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_q_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_q_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_q: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_q_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # guint16 arg_arg_q, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodQ", 1091s # g_variant_new ("(q)", 1091s # arg_arg_q), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_q: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_q ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmpg59t72hb.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmpg59t72hb.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # gint arg_arg_i, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_int (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_i", 1091s # (gchar *) "i", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodI", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-i", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_i: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-i", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_i, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_i: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_i: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_i ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # gint arg_arg_i, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodI", 1091s # g_variant_new ("(i)", 1091s # arg_arg_i), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_i_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_i_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_i_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_i: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_i_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # gint arg_arg_i, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodI", 1091s # g_variant_new ("(i)", 1091s # arg_arg_i), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_i: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_i ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmprde0w7xz.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmprde0w7xz.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # guint arg_arg_u, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_uint (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_u", 1091s # (gchar *) "u", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodU", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-u", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_u: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-u", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_u, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_u: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_u: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_u ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # guint arg_arg_u, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodU", 1091s # g_variant_new ("(u)", 1091s # arg_arg_u), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_u_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_u_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_u_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_u: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_u_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # guint arg_arg_u, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodU", 1091s # g_variant_new ("(u)", 1091s # arg_arg_u), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_u: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_u ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmpnjmtzbqr.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmpnjmtzbqr.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # gint64 arg_arg_x, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_int64 (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_x", 1091s # (gchar *) "x", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodX", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-x", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_x: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-x", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_x, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_x: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_x: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_x ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # gint64 arg_arg_x, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodX", 1091s # g_variant_new ("(x)", 1091s # arg_arg_x), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_x_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_x_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_x_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_x: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_x_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # gint64 arg_arg_x, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodX", 1091s # g_variant_new ("(x)", 1091s # arg_arg_x), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_x: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_x ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmpuoefw4ua.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmpuoefw4ua.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # guint64 arg_arg_t, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_uint64 (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_t", 1091s # (gchar *) "t", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodT", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-t", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_t: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-t", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_t, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_t: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_t: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_t ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # guint64 arg_arg_t, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodT", 1091s # g_variant_new ("(t)", 1091s # arg_arg_t), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_t_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_t_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_t_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_t: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_t_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # guint64 arg_arg_t, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodT", 1091s # g_variant_new ("(t)", 1091s # arg_arg_t), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_t: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_t ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmpausuv8q7.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmpausuv8q7.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # gdouble arg_arg_d, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_double (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_d", 1091s # (gchar *) "d", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodD", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-d", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_d: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-d", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_d, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_d: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_d: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_d ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # gdouble arg_arg_d, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodD", 1091s # g_variant_new ("(d)", 1091s # arg_arg_d), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_d_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_d_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_d_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_d: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_d_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # gdouble arg_arg_d, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodD", 1091s # g_variant_new ("(d)", 1091s # arg_arg_d), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_d: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_d ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmp1o3vrun5.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmp1o3vrun5.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # const gchar *arg_arg_s, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_string (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_s", 1091s # (gchar *) "s", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodS", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-s", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_s: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-s", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_s, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_s: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_s: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_s ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # const gchar *arg_arg_s, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodS", 1091s # g_variant_new ("(s)", 1091s # arg_arg_s), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_s_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_s_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_s_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_s: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_s_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # const gchar *arg_arg_s, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodS", 1091s # g_variant_new ("(s)", 1091s # arg_arg_s), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_s: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_s ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmp_1gkv36k.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmp_1gkv36k.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # const gchar *arg_arg_o, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_string (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_o", 1091s # (gchar *) "o", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodO", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-o", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_o: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-o", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_o, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_o: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_o: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_o ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # const gchar *arg_arg_o, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodO", 1091s # g_variant_new ("(o)", 1091s # arg_arg_o), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_o_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_o_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_o_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_o: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_o_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # const gchar *arg_arg_o, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodO", 1091s # g_variant_new ("(o)", 1091s # arg_arg_o), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_o: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_o ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmp8_1oo427.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmp8_1oo427.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # const gchar *arg_arg_g, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_string (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_g", 1091s # (gchar *) "g", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodG", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-g", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_g: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-g", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_g, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_g: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_g: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_g ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # const gchar *arg_arg_g, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodG", 1091s # g_variant_new ("(g)", 1091s # arg_arg_g), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_g_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_g_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_g_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_g: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_g_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # const gchar *arg_arg_g, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodG", 1091s # g_variant_new ("(g)", 1091s # arg_arg_g), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_g: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_g ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmpzbxe3xhj.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmpzbxe3xhj.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # GVariant *arg_arg_h, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_variant (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_h", 1091s # (gchar *) "h", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodH", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-h", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_h: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-h", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_h, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_h: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_h: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_h ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GVariant *arg_arg_h, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodH", 1091s # g_variant_new ("(@h)", 1091s # arg_arg_h), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_h_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_h_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_h_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_h: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_h_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GVariant *arg_arg_h, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodH", 1091s # g_variant_new ("(@h)", 1091s # arg_arg_h), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_h: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_h ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmpeyipqqrn.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmpeyipqqrn.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # const gchar *arg_arg_ay, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_string (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_ay", 1091s # (gchar *) "ay", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodAy", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-ay", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_ay: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-ay", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_ay: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_ay: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_ay ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # const gchar *arg_arg_ay, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodAy", 1091s # g_variant_new ("(^ay)", 1091s # arg_arg_ay), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_ay: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # const gchar *arg_arg_ay, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodAy", 1091s # g_variant_new ("(^ay)", 1091s # arg_arg_ay), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_ay: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_ay ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmpc20q9bo_.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmpc20q9bo_.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # const gchar *const *arg_arg_as, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_boxed (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_as", 1091s # (gchar *) "as", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodAs", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-as", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_as: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-as", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_as, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_as: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_as: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_as ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # const gchar *const *arg_arg_as, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodAs", 1091s # g_variant_new ("(^as)", 1091s # arg_arg_as), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_as_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_as_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_as_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_as: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_as_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # const gchar *const *arg_arg_as, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodAs", 1091s # g_variant_new ("(^as)", 1091s # arg_arg_as), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_as: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_as ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmprskel28e.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmprskel28e.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # const gchar *const *arg_arg_ao, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_boxed (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_ao", 1091s # (gchar *) "ao", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodAo", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-ao", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_ao: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-ao", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_ao: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_ao: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_ao ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # const gchar *const *arg_arg_ao, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodAo", 1091s # g_variant_new ("(^ao)", 1091s # arg_arg_ao), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_ao: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # const gchar *const *arg_arg_ao, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodAo", 1091s # g_variant_new ("(^ao)", 1091s # arg_arg_ao), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_ao: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_ao ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmpaa9p8rat.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmpaa9p8rat.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # const gchar *const *arg_arg_aay, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_boxed (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_aay", 1091s # (gchar *) "aay", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodAay", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-aay", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_aay: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-aay", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_aay: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_aay: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_aay ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # const gchar *const *arg_arg_aay, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodAay", 1091s # g_variant_new ("(^aay)", 1091s # arg_arg_aay), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_aay: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # const gchar *const *arg_arg_aay, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodAay", 1091s # g_variant_new ("(^aay)", 1091s # arg_arg_aay), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_aay: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_aay ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmpq87llywd/tmp9cz0z3cb.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq87llywd/tmp9cz0z3cb.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # GVariant *arg_arg_asv, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 3); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # g_marshal_value_peek_variant (param_values + 2), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_asv", 1091s # (gchar *) "a{sv}", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodAsv", 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-asv", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * @arg_arg_asv: Argument passed by remote caller. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-asv", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1091s # G_TYPE_BOOLEAN, 1091s # 2, 1091s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_asv: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_asv: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_asv ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GVariant *arg_arg_asv, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodAsv", 1091s # g_variant_new ("(@a{sv})", 1091s # arg_arg_asv), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @arg_arg_asv: Argument to pass with the method invocation. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GVariant *arg_arg_asv, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodAsv", 1091s # g_variant_new ("(@a{sv})", 1091s # arg_arg_asv), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "()"); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_asv: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_asv ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("()")); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1091s # tmpdir: /tmp/tmp2uqafl0i 1091s # codegen: /usr/bin/gdbus-codegen 1091s # /tmp/tmp2uqafl0i/tmp7939patx.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmp7939patx.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 2); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_b", 1091s # (gchar *) "b", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodB", 1091s # NULL, 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-b", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-b", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_b, 1091s # G_TYPE_BOOLEAN, 1091s # 1, 1091s # G_TYPE_DBUS_METHOD_INVOCATION); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_b: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_b ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodB", 1091s # g_variant_new ("()"), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_b_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_b_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # gboolean *out_arg_b, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "(b)", 1091s # out_arg_b); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_b_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_b_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # gboolean *out_arg_b, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodB", 1091s # g_variant_new ("()"), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "(b)", 1091s # out_arg_b); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_b: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * @arg_b: Parameter to return. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_b ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation, 1091s # gboolean arg_b) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("(b)", 1091s # arg_b)); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmp2uqafl0i/tmpq4yzy1gj.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmpq4yzy1gj.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 2); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_y", 1091s # (gchar *) "y", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodY", 1091s # NULL, 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-y", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-y", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_y, 1091s # G_TYPE_BOOLEAN, 1091s # 1, 1091s # G_TYPE_DBUS_METHOD_INVOCATION); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_y: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_y ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodY", 1091s # g_variant_new ("()"), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_y_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_y_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # guchar *out_arg_y, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "(y)", 1091s # out_arg_y); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_y_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_y_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # guchar *out_arg_y, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodY", 1091s # g_variant_new ("()"), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "(y)", 1091s # out_arg_y); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_y: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * @arg_y: Parameter to return. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_y ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation, 1091s # guchar arg_y) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("(y)", 1091s # arg_y)); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmp2uqafl0i/tmp85qxckm9.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmp85qxckm9.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1091s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1091s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1091s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1091s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1091s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1091s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1091s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1091s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1091s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1091s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1091s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1091s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1091s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1091s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1091s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1091s # #else /* !G_ENABLE_DEBUG */ 1091s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1091s # * Do not access GValues directly in your code. Instead, use the 1091s # * g_value_get_*() functions 1091s # */ 1091s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1091s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1091s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1091s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1091s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1091s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1091s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1091s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1091s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1091s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1091s # #endif /* !G_ENABLE_DEBUG */ 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusArgInfo parent_struct; 1091s # gboolean use_gvariant; 1091s # } _ExtendedGDBusArgInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusMethodInfo parent_struct; 1091s # const gchar *signal_name; 1091s # gboolean pass_fdlist; 1091s # } _ExtendedGDBusMethodInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusSignalInfo parent_struct; 1091s # const gchar *signal_name; 1091s # } _ExtendedGDBusSignalInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusPropertyInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # guint use_gvariant : 1; 1091s # guint emits_changed_signal : 1; 1091s # } _ExtendedGDBusPropertyInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # GDBusInterfaceInfo parent_struct; 1091s # const gchar *hyphen_name; 1091s # } _ExtendedGDBusInterfaceInfo; 1091s # 1091s # typedef struct 1091s # { 1091s # const _ExtendedGDBusPropertyInfo *info; 1091s # guint prop_id; 1091s # GValue orig_value; /* the value before the change */ 1091s # } ChangedProperty; 1091s # 1091s # static void 1091s # _changed_property_free (ChangedProperty *data) 1091s # { 1091s # g_value_unset (&data->orig_value); 1091s # g_free (data); 1091s # } 1091s # 1091s # static gboolean 1091s # _g_strv_equal0 (gchar **a, gchar **b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # guint n; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # if (g_strv_length (a) != g_strv_length (b)) 1091s # goto out; 1091s # for (n = 0; a[n] != NULL; n++) 1091s # if (g_strcmp0 (a[n], b[n]) != 0) 1091s # goto out; 1091s # ret = TRUE; 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _g_variant_equal0 (GVariant *a, GVariant *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # if (a == NULL && b == NULL) 1091s # { 1091s # ret = TRUE; 1091s # goto out; 1091s # } 1091s # if (a == NULL || b == NULL) 1091s # goto out; 1091s # ret = g_variant_equal (a, b); 1091s # out: 1091s # return ret; 1091s # } 1091s # 1091s # G_GNUC_UNUSED static gboolean 1091s # _g_value_equal (const GValue *a, const GValue *b) 1091s # { 1091s # gboolean ret = FALSE; 1091s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1091s # switch (G_VALUE_TYPE (a)) 1091s # { 1091s # case G_TYPE_BOOLEAN: 1091s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1091s # break; 1091s # case G_TYPE_UCHAR: 1091s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1091s # break; 1091s # case G_TYPE_INT: 1091s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1091s # break; 1091s # case G_TYPE_UINT: 1091s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1091s # break; 1091s # case G_TYPE_INT64: 1091s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1091s # break; 1091s # case G_TYPE_UINT64: 1091s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1091s # break; 1091s # case G_TYPE_DOUBLE: 1091s # { 1091s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1091s # gdouble da = g_value_get_double (a); 1091s # gdouble db = g_value_get_double (b); 1091s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1091s # } 1091s # break; 1091s # case G_TYPE_STRING: 1091s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1091s # break; 1091s # case G_TYPE_VARIANT: 1091s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1091s # break; 1091s # default: 1091s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1091s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1091s # else 1091s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1091s # break; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static void 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint G_GNUC_UNUSED, 1091s # void *marshal_data) 1091s # { 1091s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1091s # (void *data1, 1091s # GDBusMethodInvocation *arg_method_invocation, 1091s # void *data2); 1091s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1091s # GCClosure *cc = (GCClosure*) closure; 1091s # void *data1, *data2; 1091s # gboolean v_return; 1091s # 1091s # g_return_if_fail (return_value != NULL); 1091s # g_return_if_fail (n_param_values == 2); 1091s # 1091s # if (G_CCLOSURE_SWAP_DATA (closure)) 1091s # { 1091s # data1 = closure->data; 1091s # data2 = g_value_peek_pointer (param_values + 0); 1091s # } 1091s # else 1091s # { 1091s # data1 = g_value_peek_pointer (param_values + 0); 1091s # data2 = closure->data; 1091s # } 1091s # 1091s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1091s # (marshal_data ? marshal_data : cc->callback); 1091s # 1091s # v_return = 1091s # callback (data1, 1091s # g_marshal_value_peek_object (param_values + 1), 1091s # data2); 1091s # 1091s # g_value_set_boolean (return_value, v_return); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ 1091s # * Code for interface org.project.UsefulInterface 1091s # * ------------------------------------------------------------------------ 1091s # */ 1091s # 1091s # /** 1091s # * SECTION:OrgProjectUsefulInterface 1091s # * @title: OrgProjectUsefulInterface 1091s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1091s # * 1091s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1091s # */ 1091s # 1091s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1091s # 1091s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "arg_n", 1091s # (gchar *) "n", 1091s # NULL 1091s # }, 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "SingleArgMethodN", 1091s # NULL, 1091s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1091s # NULL 1091s # }, 1091s # "handle-single-arg-method-n", 1091s # FALSE 1091s # }; 1091s # 1091s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1091s # { 1091s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1091s # NULL 1091s # }; 1091s # 1091s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1091s # { 1091s # { 1091s # -1, 1091s # (gchar *) "org.project.UsefulInterface", 1091s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1091s # NULL, 1091s # NULL, 1091s # NULL 1091s # }, 1091s # "org-project-useful-interface", 1091s # }; 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_interface_info: 1091s # * 1091s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1091s # * 1091s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1091s # */ 1091s # GDBusInterfaceInfo * 1091s # org_project_useful_interface_interface_info (void) 1091s # { 1091s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_override_properties: 1091s # * @klass: The class structure for a #GObject derived class. 1091s # * @property_id_begin: The property id to assign to the first overridden property. 1091s # * 1091s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1091s # * The properties are overridden in the order they are defined. 1091s # * 1091s # * Returns: The last property id. 1091s # */ 1091s # guint 1091s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1091s # { 1091s # return property_id_begin - 1; 1091s # } 1091s # 1091s # 1091s # inline static void 1091s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1091s # GClosure *closure, 1091s # GValue *return_value, 1091s # unsigned int n_param_values, 1091s # const GValue *param_values, 1091s # void *invocation_hint, 1091s # void *marshal_data) 1091s # { 1091s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1091s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1091s # } 1091s # 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterface: 1091s # * 1091s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceIface: 1091s # * @parent_iface: The parent interface. 1091s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1091s # * 1091s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1091s # */ 1091s # 1091s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1091s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1091s # 1091s # static void 1091s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1091s # { 1091s # /* GObject signals for incoming D-Bus method calls: */ 1091s # /** 1091s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: A #GDBusMethodInvocation. 1091s # * 1091s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1091s # * 1091s # * 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. 1091s # * 1091s # * 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. 1091s # */ 1091s # g_signal_new ("handle-single-arg-method-n", 1091s # G_TYPE_FROM_INTERFACE (iface), 1091s # G_SIGNAL_RUN_LAST, 1091s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1091s # g_signal_accumulator_true_handled, 1091s # NULL, 1091s # org_project_useful_interface_method_marshal_single_arg_method_n, 1091s # G_TYPE_BOOLEAN, 1091s # 1, 1091s # G_TYPE_DBUS_METHOD_INVOCATION); 1091s # 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_n: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1091s # */ 1091s # void 1091s # org_project_useful_interface_call_single_arg_method_n ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodN", 1091s # g_variant_new ("()"), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # callback, 1091s # user_data); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_n_finish: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_n_finish ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # gint16 *out_arg_n, 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "(n)", 1091s # out_arg_n); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_call_single_arg_method_n_sync: 1091s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1091s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL. 1091s # * 1091s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1091s # * 1091s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1091s # */ 1091s # gboolean 1091s # org_project_useful_interface_call_single_arg_method_n_sync ( 1091s # OrgProjectUsefulInterface *proxy, 1091s # gint16 *out_arg_n, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GVariant *_ret; 1091s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1091s # "SingleArgMethodN", 1091s # g_variant_new ("()"), 1091s # G_DBUS_CALL_FLAGS_NONE, 1091s # -1, 1091s # cancellable, 1091s # error); 1091s # if (_ret == NULL) 1091s # goto _out; 1091s # g_variant_get (_ret, 1091s # "(n)", 1091s # out_arg_n); 1091s # g_variant_unref (_ret); 1091s # _out: 1091s # return _ret != NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_complete_single_arg_method_n: 1091s # * @object: A #OrgProjectUsefulInterface. 1091s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1091s # * @arg_n: Parameter to return. 1091s # * 1091s # * 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. 1091s # * 1091s # * This method will free @invocation, you cannot use it afterwards. 1091s # */ 1091s # void 1091s # org_project_useful_interface_complete_single_arg_method_n ( 1091s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1091s # GDBusMethodInvocation *invocation, 1091s # gint16 arg_n) 1091s # { 1091s # g_dbus_method_invocation_return_value (invocation, 1091s # g_variant_new ("(n)", 1091s # arg_n)); 1091s # } 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxy: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceProxyClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceProxyPrivate 1091s # { 1091s # GData *qdata; 1091s # }; 1091s # 1091s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_proxy_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1091s # g_datalist_clear (&proxy->priv->qdata); 1091s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1091s # guint prop_id G_GNUC_UNUSED, 1091s # const GValue *value G_GNUC_UNUSED, 1091s # GParamSpec *pspec G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1091s # const gchar *sender_name G_GNUC_UNUSED, 1091s # const gchar *signal_name, 1091s # GVariant *parameters) 1091s # { 1091s # _ExtendedGDBusSignalInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # gsize n; 1091s # guint signal_id; 1091s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1091s # if (info == NULL) 1091s # return; 1091s # num_params = g_variant_n_children (parameters); 1091s # paramv = g_new0 (GValue, num_params + 1); 1091s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[0], proxy); 1091s # g_variant_iter_init (&iter, parameters); 1091s # n = 1; 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_signal_emitv (paramv, signal_id, 0, NULL); 1091s # for (n = 0; n < num_params + 1; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1091s # GVariant *changed_properties, 1091s # const gchar *const *invalidated_properties) 1091s # { 1091s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1091s # guint n; 1091s # const gchar *key; 1091s # GVariantIter *iter; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # g_variant_get (changed_properties, "a{sv}", &iter); 1091s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1091s # g_datalist_remove_data (&proxy->priv->qdata, key); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # g_variant_iter_free (iter); 1091s # for (n = 0; invalidated_properties[n] != NULL; n++) 1091s # { 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1091s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1091s # if (info != NULL) 1091s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1091s # } 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1091s # #else 1091s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1091s # #endif 1091s # 1091s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusProxyClass *proxy_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1091s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1091s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1091s # 1091s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1091s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1091s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_sync: 1091s # * @connection: A #GDBusConnection. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_sync ( 1091s # GDBusConnection *connection, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1091s # * @user_data: User data to pass to @callback. 1091s # * 1091s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1091s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1091s # */ 1091s # void 1091s # org_project_useful_interface_proxy_new_for_bus ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GAsyncReadyCallback callback, 1091s # gpointer user_data) 1091s # { 1091s # g_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); 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_finish: 1091s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_finish ( 1091s # GAsyncResult *res, 1091s # GError **error) 1091s # { 1091s # GObject *ret; 1091s # GObject *source_object; 1091s # source_object = g_async_result_get_source_object (res); 1091s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1091s # g_object_unref (source_object); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_proxy_new_for_bus_sync: 1091s # * @bus_type: A #GBusType. 1091s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1091s # * @name: A bus name (well-known or unique). 1091s # * @object_path: An object path. 1091s # * @cancellable: (nullable): A #GCancellable or %NULL. 1091s # * @error: Return location for error or %NULL 1091s # * 1091s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1091s # * 1091s # * The calling thread is blocked until a reply is received. 1091s # * 1091s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_proxy_new_for_bus_sync ( 1091s # GBusType bus_type, 1091s # GDBusProxyFlags flags, 1091s # const gchar *name, 1091s # const gchar *object_path, 1091s # GCancellable *cancellable, 1091s # GError **error) 1091s # { 1091s # GInitable *ret; 1091s # 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); 1091s # if (ret != NULL) 1091s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1091s # else 1091s # return NULL; 1091s # } 1091s # 1091s # 1091s # /* ------------------------------------------------------------------------ */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeleton: 1091s # * 1091s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1091s # */ 1091s # 1091s # /** 1091s # * OrgProjectUsefulInterfaceSkeletonClass: 1091s # * @parent_class: The parent class. 1091s # * 1091s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1091s # */ 1091s # 1091s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1091s # { 1091s # GValue *properties; 1091s # GList *changed_properties; 1091s # GSource *changed_properties_idle_source; 1091s # GMainContext *context; 1091s # GMutex lock; 1091s # }; 1091s # 1091s # static void 1091s # _org_project_useful_interface_skeleton_handle_method_call ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name, 1091s # const gchar *method_name, 1091s # GVariant *parameters, 1091s # GDBusMethodInvocation *invocation, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # _ExtendedGDBusMethodInfo *info; 1091s # GVariantIter iter; 1091s # GVariant *child; 1091s # GValue *paramv; 1091s # gsize num_params; 1091s # guint num_extra; 1091s # gsize n; 1091s # guint signal_id; 1091s # GValue return_value = G_VALUE_INIT; 1091s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1091s # g_assert (info != NULL); 1091s # num_params = g_variant_n_children (parameters); 1091s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1091s # n = 0; 1091s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_set_object (¶mv[n++], skeleton); 1091s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1091s # g_value_set_object (¶mv[n++], invocation); 1091s # if (info->pass_fdlist) 1091s # { 1091s # #ifdef G_OS_UNIX 1091s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1091s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1091s # #else 1091s # g_assert_not_reached (); 1091s # #endif 1091s # } 1091s # g_variant_iter_init (&iter, parameters); 1091s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1091s # { 1091s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1091s # if (arg_info->use_gvariant) 1091s # { 1091s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1091s # g_value_set_variant (¶mv[n], child); 1091s # n++; 1091s # } 1091s # else 1091s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1091s # g_variant_unref (child); 1091s # } 1091s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1091s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1091s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1091s # if (!g_value_get_boolean (&return_value)) 1091s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1091s # g_value_unset (&return_value); 1091s # for (n = 0; n < num_params + num_extra; n++) 1091s # g_value_unset (¶mv[n]); 1091s # g_free (paramv); 1091s # } 1091s # 1091s # static GVariant * 1091s # _org_project_useful_interface_skeleton_handle_get_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # GVariant *ret; 1091s # ret = NULL; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # g_value_init (&value, pspec->value_type); 1091s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1091s # g_value_unset (&value); 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static gboolean 1091s # _org_project_useful_interface_skeleton_handle_set_property ( 1091s # GDBusConnection *connection G_GNUC_UNUSED, 1091s # const gchar *sender G_GNUC_UNUSED, 1091s # const gchar *object_path G_GNUC_UNUSED, 1091s # const gchar *interface_name G_GNUC_UNUSED, 1091s # const gchar *property_name, 1091s # GVariant *variant, 1091s # GError **error, 1091s # gpointer user_data) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1091s # GValue value = G_VALUE_INIT; 1091s # GParamSpec *pspec; 1091s # _ExtendedGDBusPropertyInfo *info; 1091s # gboolean ret; 1091s # ret = FALSE; 1091s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1091s # g_assert (info != NULL); 1091s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1091s # if (pspec == NULL) 1091s # { 1091s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1091s # } 1091s # else 1091s # { 1091s # if (info->use_gvariant) 1091s # g_value_set_variant (&value, variant); 1091s # else 1091s # g_dbus_gvariant_to_gvalue (variant, &value); 1091s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1091s # g_value_unset (&value); 1091s # ret = TRUE; 1091s # } 1091s # return ret; 1091s # } 1091s # 1091s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1091s # { 1091s # _org_project_useful_interface_skeleton_handle_method_call, 1091s # _org_project_useful_interface_skeleton_handle_get_property, 1091s # _org_project_useful_interface_skeleton_handle_set_property, 1091s # {NULL} 1091s # }; 1091s # 1091s # static GDBusInterfaceInfo * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return org_project_useful_interface_interface_info (); 1091s # } 1091s # 1091s # static GDBusInterfaceVTable * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1091s # { 1091s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1091s # } 1091s # 1091s # static GVariant * 1091s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1091s # 1091s # GVariantBuilder builder; 1091s # guint n; 1091s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1091s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1091s # goto out; 1091s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1091s # { 1091s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1091s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1091s # { 1091s # GVariant *value; 1091s # 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); 1091s # if (value != NULL) 1091s # { 1091s # g_variant_take_ref (value); 1091s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1091s # g_variant_unref (value); 1091s # } 1091s # } 1091s # } 1091s # out: 1091s # return g_variant_builder_end (&builder); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #else 1091s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1091s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1091s # 1091s # #endif 1091s # static void 1091s # org_project_useful_interface_skeleton_finalize (GObject *object) 1091s # { 1091s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1091s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1091s # if (skeleton->priv->changed_properties_idle_source != NULL) 1091s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1091s # g_main_context_unref (skeleton->priv->context); 1091s # g_mutex_clear (&skeleton->priv->lock); 1091s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1091s # { 1091s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1091s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1091s # #else 1091s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1091s # #endif 1091s # 1091s # g_mutex_init (&skeleton->priv->lock); 1091s # skeleton->priv->context = g_main_context_ref_thread_default (); 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1091s # { 1091s # GObjectClass *gobject_class; 1091s # GDBusInterfaceSkeletonClass *skeleton_class; 1091s # 1091s # gobject_class = G_OBJECT_CLASS (klass); 1091s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1091s # 1091s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1091s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1091s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1091s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1091s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1091s # 1091s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1091s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1091s # #endif 1091s # } 1091s # 1091s # static void 1091s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1091s # { 1091s # } 1091s # 1091s # /** 1091s # * org_project_useful_interface_skeleton_new: 1091s # * 1091s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1091s # * 1091s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1091s # */ 1091s # OrgProjectUsefulInterface * 1091s # org_project_useful_interface_skeleton_new (void) 1091s # { 1091s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1091s # } 1091s # /tmp/tmp2uqafl0i/tmpm69t_jxz.xml: 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # 1091s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmpm69t_jxz.xml', '--output', '-', '--body'] 1091s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1091s # Output: /* 1091s # * This file is generated by gdbus-codegen, do not modify it. 1091s # * 1091s # * The license of this code is the same as for the D-Bus interface description 1091s # * it was derived from. Note that it links to GLib, so must comply with the 1091s # * LGPL linking clauses. 1091s # */ 1091s # 1091s # #ifdef HAVE_CONFIG_H 1091s # # include "config.h" 1091s # #endif 1091s # 1091s # #include 1091s # #ifdef G_OS_UNIX 1091s # # include 1091s # #endif 1091s # 1091s # #ifdef G_ENABLE_DEBUG 1091s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1091s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1091s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1091s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_q", 1092s # (gchar *) "q", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodQ", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-q", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-q", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_q, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_q: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_q ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodQ", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_q_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_q_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # guint16 *out_arg_q, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(q)", 1092s # out_arg_q); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_q_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_q_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # guint16 *out_arg_q, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodQ", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(q)", 1092s # out_arg_q); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_q: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_q: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_q ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # guint16 arg_q) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(q)", 1092s # arg_q)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # /tmp/tmp2uqafl0i/tmps2rh40db.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmps2rh40db.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_i", 1092s # (gchar *) "i", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodI", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-i", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-i", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_i, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_i: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_i ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodI", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_i_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_i_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gint *out_arg_i, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(i)", 1092s # out_arg_i); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_i_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_i_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gint *out_arg_i, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodI", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(i)", 1092s # out_arg_i); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_i: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_i: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_i ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # gint arg_i) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(i)", 1092s # arg_i)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # /tmp/tmp2uqafl0i/tmpf0byu_pq.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmpf0byu_pq.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_u", 1092s # (gchar *) "u", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodU", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-u", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-u", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_u, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_u: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_u ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodU", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_u_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_u_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # guint *out_arg_u, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(u)", 1092s # out_arg_u); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_u_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_u_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # guint *out_arg_u, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodU", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(u)", 1092s # out_arg_u); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_u: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_u: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_u ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # guint arg_u) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(u)", 1092s # arg_u)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # /tmp/tmp2uqafl0i/tmpoyjzjnws.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmpoyjzjnws.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_x", 1092s # (gchar *) "x", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodX", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-x", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-x", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_x, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_x: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_x ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodX", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_x_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_x_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gint64 *out_arg_x, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(x)", 1092s # out_arg_x); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_x_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_x_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gint64 *out_arg_x, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodX", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(x)", 1092s # out_arg_x); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_x: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_x: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_x ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # gint64 arg_x) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(x)", 1092s # arg_x)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # /tmp/tmp2uqafl0i/tmppgbagexx.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmppgbagexx.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_t", 1092s # (gchar *) "t", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodT", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-t", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-t", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_t, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_t: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_t ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodT", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_t_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_t_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # guint64 *out_arg_t, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(t)", 1092s # out_arg_t); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_t_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_t_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # guint64 *out_arg_t, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodT", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(t)", 1092s # out_arg_t); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_t: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_t: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_t ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # guint64 arg_t) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(t)", 1092s # arg_t)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # /tmp/tmp2uqafl0i/tmp6wz7odx3.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmp6wz7odx3.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_d", 1092s # (gchar *) "d", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodD", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-d", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-d", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_d, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_d: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_d ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodD", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_d_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_d_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gdouble *out_arg_d, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(d)", 1092s # out_arg_d); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_d_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_d_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gdouble *out_arg_d, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodD", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(d)", 1092s # out_arg_d); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_d: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_d: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_d ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # gdouble arg_d) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(d)", 1092s # arg_d)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # /tmp/tmp2uqafl0i/tmp7e6u1a4p.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmp7e6u1a4p.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_s", 1092s # (gchar *) "s", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodS", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-s", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-s", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_s, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_s: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_s ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodS", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_s_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_s_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gchar **out_arg_s, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(s)", 1092s # out_arg_s); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_s_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_s_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gchar **out_arg_s, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodS", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(s)", 1092s # out_arg_s); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_s: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_s: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_s ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # const gchar *arg_s) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(s)", 1092s # arg_s)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # /tmp/tmp2uqafl0i/tmpadha3jwm.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmpadha3jwm.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_o", 1092s # (gchar *) "o", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodO", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-o", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-o", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_o, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_o: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_o ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodO", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_o_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_o_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gchar **out_arg_o, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(o)", 1092s # out_arg_o); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_o_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_o_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gchar **out_arg_o, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodO", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(o)", 1092s # out_arg_o); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_o: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_o: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_o ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # const gchar *arg_o) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(o)", 1092s # arg_o)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # /tmp/tmp2uqafl0i/tmp543vgqj5.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmp543vgqj5.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_g", 1092s # (gchar *) "g", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodG", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-g", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-g", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_g, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_g: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_g ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodG", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_g_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_g_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gchar **out_arg_g, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(g)", 1092s # out_arg_g); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_g_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_g_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gchar **out_arg_g, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodG", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(g)", 1092s # out_arg_g); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_g: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_g: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_g ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # const gchar *arg_g) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(g)", 1092s # arg_g)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # /tmp/tmp2uqafl0i/tmphtb0iobx.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmphtb0iobx.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_h", 1092s # (gchar *) "h", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodH", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-h", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-h", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_h, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_h: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_h ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodH", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_h_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_h_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GVariant **out_arg_h, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(@h)", 1092s # out_arg_h); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_h_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_h_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GVariant **out_arg_h, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodH", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(@h)", 1092s # out_arg_h); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_h: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_h: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_h ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # GVariant *arg_h) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(@h)", 1092s # arg_h)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # /tmp/tmp2uqafl0i/tmpc9859jw8.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmpc9859jw8.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_ay", 1092s # (gchar *) "ay", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodAy", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-ay", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-ay", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_ay: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_ay ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodAy", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gchar **out_arg_ay, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(^ay)", 1092s # out_arg_ay); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gchar **out_arg_ay, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodAy", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(^ay)", 1092s # out_arg_ay); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_ay: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_ay: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_ay ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # const gchar *arg_ay) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(^ay)", 1092s # arg_ay)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # /tmp/tmp2uqafl0i/tmpy20_1s78.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmpy20_1s78.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_as", 1092s # (gchar *) "as", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodAs", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-as", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-as", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_as, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_as: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_as ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodAs", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_as_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_as_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gchar ***out_arg_as, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(^as)", 1092s # out_arg_as); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_as_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_as_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gchar ***out_arg_as, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodAs", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(^as)", 1092s # out_arg_as); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_as: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_as: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_as ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # const gchar *const *arg_as) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(^as)", 1092s # arg_as)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # /tmp/tmp2uqafl0i/tmphccghqh5.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmphccghqh5.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_ao", 1092s # (gchar *) "ao", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodAo", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-ao", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-ao", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_ao: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_ao ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodAo", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gchar ***out_arg_ao, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(^ao)", 1092s # out_arg_ao); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gchar ***out_arg_ao, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodAo", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(^ao)", 1092s # out_arg_ao); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_ao: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_ao: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_ao ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # const gchar *const *arg_ao) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(^ao)", 1092s # arg_ao)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # /tmp/tmp2uqafl0i/tmpxljqxbgv.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmpxljqxbgv.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_aay", 1092s # (gchar *) "aay", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodAay", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-aay", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-aay", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_aay: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_aay ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodAay", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gchar ***out_arg_aay, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(^aay)", 1092s # out_arg_aay); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # gchar ***out_arg_aay, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodAay", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(^aay)", 1092s # out_arg_aay); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_aay: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_aay: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_aay ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # const gchar *const *arg_aay) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(^aay)", 1092s # arg_aay)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # /tmp/tmp2uqafl0i/tmp0_sk8z82.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uqafl0i/tmp0_sk8z82.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "arg_asv", 1092s # (gchar *) "a{sv}", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgMethodAsv", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-single-arg-method-asv", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-single-arg-method-asv", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_asv: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_useful_interface_call_single_arg_method_asv ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodAsv", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GVariant **out_arg_asv, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(@a{sv})", 1092s # out_arg_asv); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1092s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1092s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1092s # OrgProjectUsefulInterface *proxy, 1092s # GVariant **out_arg_asv, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SingleArgMethodAsv", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(@a{sv})", 1092s # out_arg_asv); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_complete_single_arg_method_asv: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @arg_asv: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_useful_interface_complete_single_arg_method_asv ( 1092s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # GVariant *arg_asv) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(@a{sv})", 1092s # arg_asv)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1092s # tmpdir: /tmp/tmp00fwfgm3 1092s # codegen: /usr/bin/gdbus-codegen 1092s # /tmp/tmp00fwfgm3/tmp4vrhnmnn.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp00fwfgm3/tmp4vrhnmnn.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # gboolean arg_an_b, 1092s # guchar arg_an_y, 1092s # gint16 arg_an_n, 1092s # guint16 arg_an_q, 1092s # gint arg_an_i, 1092s # guint arg_an_u, 1092s # gint64 arg_an_x, 1092s # guint64 arg_an_t, 1092s # gdouble arg_an_d, 1092s # const gchar *arg_an_s, 1092s # const gchar *arg_an_o, 1092s # const gchar *arg_an_g, 1092s # GVariant *arg_an_h, 1092s # const gchar *arg_an_ay, 1092s # const gchar *const *arg_an_as, 1092s # const gchar *const *arg_an_ao, 1092s # const gchar *const *arg_an_aay, 1092s # GVariant *arg_an_asv, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 20); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # g_marshal_value_peek_boolean (param_values + 2), 1092s # g_marshal_value_peek_uchar (param_values + 3), 1092s # g_marshal_value_peek_int (param_values + 4), 1092s # g_marshal_value_peek_uint (param_values + 5), 1092s # g_marshal_value_peek_int (param_values + 6), 1092s # g_marshal_value_peek_uint (param_values + 7), 1092s # g_marshal_value_peek_int64 (param_values + 8), 1092s # g_marshal_value_peek_uint64 (param_values + 9), 1092s # g_marshal_value_peek_double (param_values + 10), 1092s # g_marshal_value_peek_string (param_values + 11), 1092s # g_marshal_value_peek_string (param_values + 12), 1092s # g_marshal_value_peek_string (param_values + 13), 1092s # g_marshal_value_peek_variant (param_values + 14), 1092s # g_marshal_value_peek_string (param_values + 15), 1092s # g_marshal_value_peek_boxed (param_values + 16), 1092s # g_marshal_value_peek_boxed (param_values + 17), 1092s # g_marshal_value_peek_boxed (param_values + 18), 1092s # g_marshal_value_peek_variant (param_values + 19), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.CallableIface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectCallableIface 1092s # * @title: OrgProjectCallableIface 1092s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.CallableIface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_b", 1092s # (gchar *) "b", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_y", 1092s # (gchar *) "y", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_n", 1092s # (gchar *) "n", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_q", 1092s # (gchar *) "q", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_i", 1092s # (gchar *) "i", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_u", 1092s # (gchar *) "u", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_x", 1092s # (gchar *) "x", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_t", 1092s # (gchar *) "t", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_d", 1092s # (gchar *) "d", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_s", 1092s # (gchar *) "s", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_o", 1092s # (gchar *) "o", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_g", 1092s # (gchar *) "g", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_h", 1092s # (gchar *) "h", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_ay", 1092s # (gchar *) "ay", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_as", 1092s # (gchar *) "as", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_ao", 1092s # (gchar *) "ao", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_aay", 1092s # (gchar *) "aay", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_asv", 1092s # (gchar *) "a{sv}", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1092s # { 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "MethodWithManyArgs", 1092s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "handle-method-with-many-args", 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_b", 1092s # (gchar *) "b", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_y", 1092s # (gchar *) "y", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_n", 1092s # (gchar *) "n", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_q", 1092s # (gchar *) "q", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_i", 1092s # (gchar *) "i", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_u", 1092s # (gchar *) "u", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_x", 1092s # (gchar *) "x", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_t", 1092s # (gchar *) "t", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_d", 1092s # (gchar *) "d", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_s", 1092s # (gchar *) "s", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_o", 1092s # (gchar *) "o", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_g", 1092s # (gchar *) "g", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_h", 1092s # (gchar *) "h", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_ay", 1092s # (gchar *) "ay", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_as", 1092s # (gchar *) "as", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_ao", 1092s # (gchar *) "ao", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_aay", 1092s # (gchar *) "aay", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_asv", 1092s # (gchar *) "a{sv}", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1092s # { 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SameMethodWithManyArgs", 1092s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "handle-same-method-with-many-args", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1092s # { 1092s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1092s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.CallableIface", 1092s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-callable-iface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_callable_iface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_callable_iface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_callable_iface_method_marshal_method_with_many_args ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _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, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _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, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectCallableIface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectCallableIfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1092s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.CallableIface. 1092s # */ 1092s # 1092s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectCallableIface::handle-method-with-many-args: 1092s # * @object: A #OrgProjectCallableIface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * @arg_an_b: Argument passed by remote caller. 1092s # * @arg_an_y: Argument passed by remote caller. 1092s # * @arg_an_n: Argument passed by remote caller. 1092s # * @arg_an_q: Argument passed by remote caller. 1092s # * @arg_an_i: Argument passed by remote caller. 1092s # * @arg_an_u: Argument passed by remote caller. 1092s # * @arg_an_x: Argument passed by remote caller. 1092s # * @arg_an_t: Argument passed by remote caller. 1092s # * @arg_an_d: Argument passed by remote caller. 1092s # * @arg_an_s: Argument passed by remote caller. 1092s # * @arg_an_o: Argument passed by remote caller. 1092s # * @arg_an_g: Argument passed by remote caller. 1092s # * @arg_an_h: Argument passed by remote caller. 1092s # * @arg_an_ay: Argument passed by remote caller. 1092s # * @arg_an_as: Argument passed by remote caller. 1092s # * @arg_an_ao: Argument passed by remote caller. 1092s # * @arg_an_aay: Argument passed by remote caller. 1092s # * @arg_an_asv: Argument passed by remote caller. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-method-with-many-args", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_callable_iface_method_marshal_method_with_many_args, 1092s # G_TYPE_BOOLEAN, 1092s # 19, 1092s # 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); 1092s # 1092s # /** 1092s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1092s # * @object: A #OrgProjectCallableIface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * @arg_an_b: Argument passed by remote caller. 1092s # * @arg_an_y: Argument passed by remote caller. 1092s # * @arg_an_n: Argument passed by remote caller. 1092s # * @arg_an_q: Argument passed by remote caller. 1092s # * @arg_an_i: Argument passed by remote caller. 1092s # * @arg_an_u: Argument passed by remote caller. 1092s # * @arg_an_x: Argument passed by remote caller. 1092s # * @arg_an_t: Argument passed by remote caller. 1092s # * @arg_an_d: Argument passed by remote caller. 1092s # * @arg_an_s: Argument passed by remote caller. 1092s # * @arg_an_o: Argument passed by remote caller. 1092s # * @arg_an_g: Argument passed by remote caller. 1092s # * @arg_an_h: Argument passed by remote caller. 1092s # * @arg_an_ay: Argument passed by remote caller. 1092s # * @arg_an_as: Argument passed by remote caller. 1092s # * @arg_an_ao: Argument passed by remote caller. 1092s # * @arg_an_aay: Argument passed by remote caller. 1092s # * @arg_an_asv: Argument passed by remote caller. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-same-method-with-many-args", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1092s # G_TYPE_BOOLEAN, 1092s # 19, 1092s # 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); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_call_method_with_many_args: 1092s # * @proxy: A #OrgProjectCallableIfaceProxy. 1092s # * @arg_an_b: Argument to pass with the method invocation. 1092s # * @arg_an_y: Argument to pass with the method invocation. 1092s # * @arg_an_n: Argument to pass with the method invocation. 1092s # * @arg_an_q: Argument to pass with the method invocation. 1092s # * @arg_an_i: Argument to pass with the method invocation. 1092s # * @arg_an_u: Argument to pass with the method invocation. 1092s # * @arg_an_x: Argument to pass with the method invocation. 1092s # * @arg_an_t: Argument to pass with the method invocation. 1092s # * @arg_an_d: Argument to pass with the method invocation. 1092s # * @arg_an_s: Argument to pass with the method invocation. 1092s # * @arg_an_o: Argument to pass with the method invocation. 1092s # * @arg_an_g: Argument to pass with the method invocation. 1092s # * @arg_an_h: Argument to pass with the method invocation. 1092s # * @arg_an_ay: Argument to pass with the method invocation. 1092s # * @arg_an_as: Argument to pass with the method invocation. 1092s # * @arg_an_ao: Argument to pass with the method invocation. 1092s # * @arg_an_aay: Argument to pass with the method invocation. 1092s # * @arg_an_asv: Argument to pass with the method invocation. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_callable_iface_call_method_with_many_args ( 1092s # OrgProjectCallableIface *proxy, 1092s # gboolean arg_an_b, 1092s # guchar arg_an_y, 1092s # gint16 arg_an_n, 1092s # guint16 arg_an_q, 1092s # gint arg_an_i, 1092s # guint arg_an_u, 1092s # gint64 arg_an_x, 1092s # guint64 arg_an_t, 1092s # gdouble arg_an_d, 1092s # const gchar *arg_an_s, 1092s # const gchar *arg_an_o, 1092s # const gchar *arg_an_g, 1092s # GVariant *arg_an_h, 1092s # const gchar *arg_an_ay, 1092s # const gchar *const *arg_an_as, 1092s # const gchar *const *arg_an_ao, 1092s # const gchar *const *arg_an_aay, 1092s # GVariant *arg_an_asv, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "MethodWithManyArgs", 1092s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1092s # arg_an_b, 1092s # arg_an_y, 1092s # arg_an_n, 1092s # arg_an_q, 1092s # arg_an_i, 1092s # arg_an_u, 1092s # arg_an_x, 1092s # arg_an_t, 1092s # arg_an_d, 1092s # arg_an_s, 1092s # arg_an_o, 1092s # arg_an_g, 1092s # arg_an_h, 1092s # arg_an_ay, 1092s # arg_an_as, 1092s # arg_an_ao, 1092s # arg_an_aay, 1092s # arg_an_asv), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_call_method_with_many_args_finish: 1092s # * @proxy: A #OrgProjectCallableIfaceProxy. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_callable_iface_call_method_with_many_args_finish ( 1092s # OrgProjectCallableIface *proxy, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "()"); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_call_method_with_many_args_sync: 1092s # * @proxy: A #OrgProjectCallableIfaceProxy. 1092s # * @arg_an_b: Argument to pass with the method invocation. 1092s # * @arg_an_y: Argument to pass with the method invocation. 1092s # * @arg_an_n: Argument to pass with the method invocation. 1092s # * @arg_an_q: Argument to pass with the method invocation. 1092s # * @arg_an_i: Argument to pass with the method invocation. 1092s # * @arg_an_u: Argument to pass with the method invocation. 1092s # * @arg_an_x: Argument to pass with the method invocation. 1092s # * @arg_an_t: Argument to pass with the method invocation. 1092s # * @arg_an_d: Argument to pass with the method invocation. 1092s # * @arg_an_s: Argument to pass with the method invocation. 1092s # * @arg_an_o: Argument to pass with the method invocation. 1092s # * @arg_an_g: Argument to pass with the method invocation. 1092s # * @arg_an_h: Argument to pass with the method invocation. 1092s # * @arg_an_ay: Argument to pass with the method invocation. 1092s # * @arg_an_as: Argument to pass with the method invocation. 1092s # * @arg_an_ao: Argument to pass with the method invocation. 1092s # * @arg_an_aay: Argument to pass with the method invocation. 1092s # * @arg_an_asv: Argument to pass with the method invocation. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_callable_iface_call_method_with_many_args_sync ( 1092s # OrgProjectCallableIface *proxy, 1092s # gboolean arg_an_b, 1092s # guchar arg_an_y, 1092s # gint16 arg_an_n, 1092s # guint16 arg_an_q, 1092s # gint arg_an_i, 1092s # guint arg_an_u, 1092s # gint64 arg_an_x, 1092s # guint64 arg_an_t, 1092s # gdouble arg_an_d, 1092s # const gchar *arg_an_s, 1092s # const gchar *arg_an_o, 1092s # const gchar *arg_an_g, 1092s # GVariant *arg_an_h, 1092s # const gchar *arg_an_ay, 1092s # const gchar *const *arg_an_as, 1092s # const gchar *const *arg_an_ao, 1092s # const gchar *const *arg_an_aay, 1092s # GVariant *arg_an_asv, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "MethodWithManyArgs", 1092s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1092s # arg_an_b, 1092s # arg_an_y, 1092s # arg_an_n, 1092s # arg_an_q, 1092s # arg_an_i, 1092s # arg_an_u, 1092s # arg_an_x, 1092s # arg_an_t, 1092s # arg_an_d, 1092s # arg_an_s, 1092s # arg_an_o, 1092s # arg_an_g, 1092s # arg_an_h, 1092s # arg_an_ay, 1092s # arg_an_as, 1092s # arg_an_ao, 1092s # arg_an_aay, 1092s # arg_an_asv), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "()"); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_call_same_method_with_many_args: 1092s # * @proxy: A #OrgProjectCallableIfaceProxy. 1092s # * @arg_an_b: Argument to pass with the method invocation. 1092s # * @arg_an_y: Argument to pass with the method invocation. 1092s # * @arg_an_n: Argument to pass with the method invocation. 1092s # * @arg_an_q: Argument to pass with the method invocation. 1092s # * @arg_an_i: Argument to pass with the method invocation. 1092s # * @arg_an_u: Argument to pass with the method invocation. 1092s # * @arg_an_x: Argument to pass with the method invocation. 1092s # * @arg_an_t: Argument to pass with the method invocation. 1092s # * @arg_an_d: Argument to pass with the method invocation. 1092s # * @arg_an_s: Argument to pass with the method invocation. 1092s # * @arg_an_o: Argument to pass with the method invocation. 1092s # * @arg_an_g: Argument to pass with the method invocation. 1092s # * @arg_an_h: Argument to pass with the method invocation. 1092s # * @arg_an_ay: Argument to pass with the method invocation. 1092s # * @arg_an_as: Argument to pass with the method invocation. 1092s # * @arg_an_ao: Argument to pass with the method invocation. 1092s # * @arg_an_aay: Argument to pass with the method invocation. 1092s # * @arg_an_asv: Argument to pass with the method invocation. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_callable_iface_call_same_method_with_many_args ( 1092s # OrgProjectCallableIface *proxy, 1092s # gboolean arg_an_b, 1092s # guchar arg_an_y, 1092s # gint16 arg_an_n, 1092s # guint16 arg_an_q, 1092s # gint arg_an_i, 1092s # guint arg_an_u, 1092s # gint64 arg_an_x, 1092s # guint64 arg_an_t, 1092s # gdouble arg_an_d, 1092s # const gchar *arg_an_s, 1092s # const gchar *arg_an_o, 1092s # const gchar *arg_an_g, 1092s # GVariant *arg_an_h, 1092s # const gchar *arg_an_ay, 1092s # const gchar *const *arg_an_as, 1092s # const gchar *const *arg_an_ao, 1092s # const gchar *const *arg_an_aay, 1092s # GVariant *arg_an_asv, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "SameMethodWithManyArgs", 1092s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1092s # arg_an_b, 1092s # arg_an_y, 1092s # arg_an_n, 1092s # arg_an_q, 1092s # arg_an_i, 1092s # arg_an_u, 1092s # arg_an_x, 1092s # arg_an_t, 1092s # arg_an_d, 1092s # arg_an_s, 1092s # arg_an_o, 1092s # arg_an_g, 1092s # arg_an_h, 1092s # arg_an_ay, 1092s # arg_an_as, 1092s # arg_an_ao, 1092s # arg_an_aay, 1092s # arg_an_asv), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1092s # * @proxy: A #OrgProjectCallableIfaceProxy. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1092s # OrgProjectCallableIface *proxy, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "()"); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1092s # * @proxy: A #OrgProjectCallableIfaceProxy. 1092s # * @arg_an_b: Argument to pass with the method invocation. 1092s # * @arg_an_y: Argument to pass with the method invocation. 1092s # * @arg_an_n: Argument to pass with the method invocation. 1092s # * @arg_an_q: Argument to pass with the method invocation. 1092s # * @arg_an_i: Argument to pass with the method invocation. 1092s # * @arg_an_u: Argument to pass with the method invocation. 1092s # * @arg_an_x: Argument to pass with the method invocation. 1092s # * @arg_an_t: Argument to pass with the method invocation. 1092s # * @arg_an_d: Argument to pass with the method invocation. 1092s # * @arg_an_s: Argument to pass with the method invocation. 1092s # * @arg_an_o: Argument to pass with the method invocation. 1092s # * @arg_an_g: Argument to pass with the method invocation. 1092s # * @arg_an_h: Argument to pass with the method invocation. 1092s # * @arg_an_ay: Argument to pass with the method invocation. 1092s # * @arg_an_as: Argument to pass with the method invocation. 1092s # * @arg_an_ao: Argument to pass with the method invocation. 1092s # * @arg_an_aay: Argument to pass with the method invocation. 1092s # * @arg_an_asv: Argument to pass with the method invocation. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1092s # OrgProjectCallableIface *proxy, 1092s # gboolean arg_an_b, 1092s # guchar arg_an_y, 1092s # gint16 arg_an_n, 1092s # guint16 arg_an_q, 1092s # gint arg_an_i, 1092s # guint arg_an_u, 1092s # gint64 arg_an_x, 1092s # guint64 arg_an_t, 1092s # gdouble arg_an_d, 1092s # const gchar *arg_an_s, 1092s # const gchar *arg_an_o, 1092s # const gchar *arg_an_g, 1092s # GVariant *arg_an_h, 1092s # const gchar *arg_an_ay, 1092s # const gchar *const *arg_an_as, 1092s # const gchar *const *arg_an_ao, 1092s # const gchar *const *arg_an_aay, 1092s # GVariant *arg_an_asv, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "SameMethodWithManyArgs", 1092s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1092s # arg_an_b, 1092s # arg_an_y, 1092s # arg_an_n, 1092s # arg_an_q, 1092s # arg_an_i, 1092s # arg_an_u, 1092s # arg_an_x, 1092s # arg_an_t, 1092s # arg_an_d, 1092s # arg_an_s, 1092s # arg_an_o, 1092s # arg_an_g, 1092s # arg_an_h, 1092s # arg_an_ay, 1092s # arg_an_as, 1092s # arg_an_ao, 1092s # arg_an_aay, 1092s # arg_an_asv), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "()"); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_complete_method_with_many_args: 1092s # * @object: A #OrgProjectCallableIface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_callable_iface_complete_method_with_many_args ( 1092s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("()")); 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_complete_same_method_with_many_args: 1092s # * @object: A #OrgProjectCallableIface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_callable_iface_complete_same_method_with_many_args ( 1092s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("()")); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectCallableIfaceProxy: 1092s # * 1092s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectCallableIfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectCallableIfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectCallableIfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_callable_iface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1092s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1092s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_callable_iface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectCallableIface * 1092s # org_project_callable_iface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectCallableIface * 1092s # org_project_callable_iface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_callable_iface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_callable_iface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectCallableIface * 1092s # org_project_callable_iface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectCallableIface * 1092s # org_project_callable_iface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectCallableIfaceSkeleton: 1092s # * 1092s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectCallableIfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectCallableIfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_callable_iface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_callable_iface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_callable_iface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1092s # { 1092s # _org_project_callable_iface_skeleton_handle_method_call, 1092s # _org_project_callable_iface_skeleton_handle_get_property, 1092s # _org_project_callable_iface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_callable_iface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_callable_iface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectCallableIface * 1092s # org_project_callable_iface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.OtherCallableIface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectOtherCallableIface 1092s # * @title: OrgProjectOtherCallableIface 1092s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_b", 1092s # (gchar *) "b", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_y", 1092s # (gchar *) "y", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_n", 1092s # (gchar *) "n", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_q", 1092s # (gchar *) "q", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_i", 1092s # (gchar *) "i", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_u", 1092s # (gchar *) "u", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_x", 1092s # (gchar *) "x", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_t", 1092s # (gchar *) "t", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_d", 1092s # (gchar *) "d", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_s", 1092s # (gchar *) "s", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_o", 1092s # (gchar *) "o", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_g", 1092s # (gchar *) "g", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_h", 1092s # (gchar *) "h", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_ay", 1092s # (gchar *) "ay", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_as", 1092s # (gchar *) "as", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_ao", 1092s # (gchar *) "ao", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_aay", 1092s # (gchar *) "aay", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_asv", 1092s # (gchar *) "a{sv}", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1092s # { 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "MethodWithManyArgs", 1092s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "handle-method-with-many-args", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1092s # { 1092s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.OtherCallableIface", 1092s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-other-callable-iface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_other_callable_iface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_other_callable_iface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_callable_iface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _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, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectOtherCallableIface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectOtherCallableIfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1092s # */ 1092s # 1092s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1092s # * @object: A #OrgProjectOtherCallableIface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * @arg_an_b: Argument passed by remote caller. 1092s # * @arg_an_y: Argument passed by remote caller. 1092s # * @arg_an_n: Argument passed by remote caller. 1092s # * @arg_an_q: Argument passed by remote caller. 1092s # * @arg_an_i: Argument passed by remote caller. 1092s # * @arg_an_u: Argument passed by remote caller. 1092s # * @arg_an_x: Argument passed by remote caller. 1092s # * @arg_an_t: Argument passed by remote caller. 1092s # * @arg_an_d: Argument passed by remote caller. 1092s # * @arg_an_s: Argument passed by remote caller. 1092s # * @arg_an_o: Argument passed by remote caller. 1092s # * @arg_an_g: Argument passed by remote caller. 1092s # * @arg_an_h: Argument passed by remote caller. 1092s # * @arg_an_ay: Argument passed by remote caller. 1092s # * @arg_an_as: Argument passed by remote caller. 1092s # * @arg_an_ao: Argument passed by remote caller. 1092s # * @arg_an_aay: Argument passed by remote caller. 1092s # * @arg_an_asv: Argument passed by remote caller. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-method-with-many-args", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1092s # G_TYPE_BOOLEAN, 1092s # 19, 1092s # 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); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_callable_iface_call_method_with_many_args: 1092s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1092s # * @arg_an_b: Argument to pass with the method invocation. 1092s # * @arg_an_y: Argument to pass with the method invocation. 1092s # * @arg_an_n: Argument to pass with the method invocation. 1092s # * @arg_an_q: Argument to pass with the method invocation. 1092s # * @arg_an_i: Argument to pass with the method invocation. 1092s # * @arg_an_u: Argument to pass with the method invocation. 1092s # * @arg_an_x: Argument to pass with the method invocation. 1092s # * @arg_an_t: Argument to pass with the method invocation. 1092s # * @arg_an_d: Argument to pass with the method invocation. 1092s # * @arg_an_s: Argument to pass with the method invocation. 1092s # * @arg_an_o: Argument to pass with the method invocation. 1092s # * @arg_an_g: Argument to pass with the method invocation. 1092s # * @arg_an_h: Argument to pass with the method invocation. 1092s # * @arg_an_ay: Argument to pass with the method invocation. 1092s # * @arg_an_as: Argument to pass with the method invocation. 1092s # * @arg_an_ao: Argument to pass with the method invocation. 1092s # * @arg_an_aay: Argument to pass with the method invocation. 1092s # * @arg_an_asv: Argument to pass with the method invocation. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_other_callable_iface_call_method_with_many_args ( 1092s # OrgProjectOtherCallableIface *proxy, 1092s # gboolean arg_an_b, 1092s # guchar arg_an_y, 1092s # gint16 arg_an_n, 1092s # guint16 arg_an_q, 1092s # gint arg_an_i, 1092s # guint arg_an_u, 1092s # gint64 arg_an_x, 1092s # guint64 arg_an_t, 1092s # gdouble arg_an_d, 1092s # const gchar *arg_an_s, 1092s # const gchar *arg_an_o, 1092s # const gchar *arg_an_g, 1092s # GVariant *arg_an_h, 1092s # const gchar *arg_an_ay, 1092s # const gchar *const *arg_an_as, 1092s # const gchar *const *arg_an_ao, 1092s # const gchar *const *arg_an_aay, 1092s # GVariant *arg_an_asv, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "MethodWithManyArgs", 1092s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1092s # arg_an_b, 1092s # arg_an_y, 1092s # arg_an_n, 1092s # arg_an_q, 1092s # arg_an_i, 1092s # arg_an_u, 1092s # arg_an_x, 1092s # arg_an_t, 1092s # arg_an_d, 1092s # arg_an_s, 1092s # arg_an_o, 1092s # arg_an_g, 1092s # arg_an_h, 1092s # arg_an_ay, 1092s # arg_an_as, 1092s # arg_an_ao, 1092s # arg_an_aay, 1092s # arg_an_asv), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1092s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1092s # OrgProjectOtherCallableIface *proxy, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "()"); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1092s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1092s # * @arg_an_b: Argument to pass with the method invocation. 1092s # * @arg_an_y: Argument to pass with the method invocation. 1092s # * @arg_an_n: Argument to pass with the method invocation. 1092s # * @arg_an_q: Argument to pass with the method invocation. 1092s # * @arg_an_i: Argument to pass with the method invocation. 1092s # * @arg_an_u: Argument to pass with the method invocation. 1092s # * @arg_an_x: Argument to pass with the method invocation. 1092s # * @arg_an_t: Argument to pass with the method invocation. 1092s # * @arg_an_d: Argument to pass with the method invocation. 1092s # * @arg_an_s: Argument to pass with the method invocation. 1092s # * @arg_an_o: Argument to pass with the method invocation. 1092s # * @arg_an_g: Argument to pass with the method invocation. 1092s # * @arg_an_h: Argument to pass with the method invocation. 1092s # * @arg_an_ay: Argument to pass with the method invocation. 1092s # * @arg_an_as: Argument to pass with the method invocation. 1092s # * @arg_an_ao: Argument to pass with the method invocation. 1092s # * @arg_an_aay: Argument to pass with the method invocation. 1092s # * @arg_an_asv: Argument to pass with the method invocation. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1092s # OrgProjectOtherCallableIface *proxy, 1092s # gboolean arg_an_b, 1092s # guchar arg_an_y, 1092s # gint16 arg_an_n, 1092s # guint16 arg_an_q, 1092s # gint arg_an_i, 1092s # guint arg_an_u, 1092s # gint64 arg_an_x, 1092s # guint64 arg_an_t, 1092s # gdouble arg_an_d, 1092s # const gchar *arg_an_s, 1092s # const gchar *arg_an_o, 1092s # const gchar *arg_an_g, 1092s # GVariant *arg_an_h, 1092s # const gchar *arg_an_ay, 1092s # const gchar *const *arg_an_as, 1092s # const gchar *const *arg_an_ao, 1092s # const gchar *const *arg_an_aay, 1092s # GVariant *arg_an_asv, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "MethodWithManyArgs", 1092s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1092s # arg_an_b, 1092s # arg_an_y, 1092s # arg_an_n, 1092s # arg_an_q, 1092s # arg_an_i, 1092s # arg_an_u, 1092s # arg_an_x, 1092s # arg_an_t, 1092s # arg_an_d, 1092s # arg_an_s, 1092s # arg_an_o, 1092s # arg_an_g, 1092s # arg_an_h, 1092s # arg_an_ay, 1092s # arg_an_as, 1092s # arg_an_ao, 1092s # arg_an_aay, 1092s # arg_an_asv), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "()"); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_callable_iface_complete_method_with_many_args: 1092s # * @object: A #OrgProjectOtherCallableIface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_other_callable_iface_complete_method_with_many_args ( 1092s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("()")); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectOtherCallableIfaceProxy: 1092s # * 1092s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectOtherCallableIfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1092s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1092s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_callable_iface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_other_callable_iface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_callable_iface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectOtherCallableIface * 1092s # org_project_other_callable_iface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_callable_iface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectOtherCallableIface * 1092s # org_project_other_callable_iface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_other_callable_iface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_other_callable_iface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectOtherCallableIface * 1092s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectOtherCallableIface * 1092s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectOtherCallableIfaceSkeleton: 1092s # * 1092s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectOtherCallableIfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1092s # { 1092s # _org_project_other_callable_iface_skeleton_handle_method_call, 1092s # _org_project_other_callable_iface_skeleton_handle_get_property, 1092s # _org_project_other_callable_iface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_other_callable_iface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_callable_iface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectOtherCallableIface * 1092s # org_project_other_callable_iface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1092s # } 1092s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1092s # tmpdir: /tmp/tmpj5hg8ye9 1092s # codegen: /usr/bin/gdbus-codegen 1092s # /tmp/tmpj5hg8ye9/tmpehz9ngr6.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj5hg8ye9/tmpehz9ngr6.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (void *data1, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.CallableIface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectCallableIface 1092s # * @title: OrgProjectCallableIface 1092s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for org.project.CallableIface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_b", 1092s # (gchar *) "b", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_y", 1092s # (gchar *) "y", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_n", 1092s # (gchar *) "n", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_q", 1092s # (gchar *) "q", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_i", 1092s # (gchar *) "i", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_u", 1092s # (gchar *) "u", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_x", 1092s # (gchar *) "x", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_t", 1092s # (gchar *) "t", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_d", 1092s # (gchar *) "d", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_s", 1092s # (gchar *) "s", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_o", 1092s # (gchar *) "o", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_g", 1092s # (gchar *) "g", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_h", 1092s # (gchar *) "h", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_ay", 1092s # (gchar *) "ay", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_as", 1092s # (gchar *) "as", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_ao", 1092s # (gchar *) "ao", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_aay", 1092s # (gchar *) "aay", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_asv", 1092s # (gchar *) "a{sv}", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1092s # { 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1092s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "MethodWithManyArgs", 1092s # NULL, 1092s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-method-with-many-args", 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1092s # { 1092s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.CallableIface", 1092s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-callable-iface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_callable_iface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_callable_iface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_callable_iface_method_marshal_method_with_many_args ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectCallableIface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectCallableIfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.CallableIface. 1092s # */ 1092s # 1092s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * OrgProjectCallableIface::handle-method-with-many-args: 1092s # * @object: A #OrgProjectCallableIface. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-method-with-many-args", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # org_project_callable_iface_method_marshal_method_with_many_args, 1092s # G_TYPE_BOOLEAN, 1092s # 1, 1092s # G_TYPE_DBUS_METHOD_INVOCATION); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_call_method_with_many_args: 1092s # * @proxy: A #OrgProjectCallableIfaceProxy. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # org_project_callable_iface_call_method_with_many_args ( 1092s # OrgProjectCallableIface *proxy, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1092s # "MethodWithManyArgs", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_call_method_with_many_args_finish: 1092s # * @proxy: A #OrgProjectCallableIfaceProxy. 1092s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_callable_iface_call_method_with_many_args_finish ( 1092s # OrgProjectCallableIface *proxy, 1092s # gboolean *out_an_b, 1092s # guchar *out_an_y, 1092s # gint16 *out_an_n, 1092s # guint16 *out_an_q, 1092s # gint *out_an_i, 1092s # guint *out_an_u, 1092s # gint64 *out_an_x, 1092s # guint64 *out_an_t, 1092s # gdouble *out_an_d, 1092s # gchar **out_an_s, 1092s # gchar **out_an_o, 1092s # gchar **out_an_g, 1092s # GVariant **out_an_h, 1092s # gchar **out_an_ay, 1092s # gchar ***out_an_as, 1092s # gchar ***out_an_ao, 1092s # gchar ***out_an_aay, 1092s # GVariant **out_an_asv, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1092s # out_an_b, 1092s # out_an_y, 1092s # out_an_n, 1092s # out_an_q, 1092s # out_an_i, 1092s # out_an_u, 1092s # out_an_x, 1092s # out_an_t, 1092s # out_an_d, 1092s # out_an_s, 1092s # out_an_o, 1092s # out_an_g, 1092s # out_an_h, 1092s # out_an_ay, 1092s # out_an_as, 1092s # out_an_ao, 1092s # out_an_aay, 1092s # out_an_asv); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_call_method_with_many_args_sync: 1092s # * @proxy: A #OrgProjectCallableIfaceProxy. 1092s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1092s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # org_project_callable_iface_call_method_with_many_args_sync ( 1092s # OrgProjectCallableIface *proxy, 1092s # gboolean *out_an_b, 1092s # guchar *out_an_y, 1092s # gint16 *out_an_n, 1092s # guint16 *out_an_q, 1092s # gint *out_an_i, 1092s # guint *out_an_u, 1092s # gint64 *out_an_x, 1092s # guint64 *out_an_t, 1092s # gdouble *out_an_d, 1092s # gchar **out_an_s, 1092s # gchar **out_an_o, 1092s # gchar **out_an_g, 1092s # GVariant **out_an_h, 1092s # gchar **out_an_ay, 1092s # gchar ***out_an_as, 1092s # gchar ***out_an_ao, 1092s # gchar ***out_an_aay, 1092s # GVariant **out_an_asv, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1092s # "MethodWithManyArgs", 1092s # g_variant_new ("()"), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1092s # out_an_b, 1092s # out_an_y, 1092s # out_an_n, 1092s # out_an_q, 1092s # out_an_i, 1092s # out_an_u, 1092s # out_an_x, 1092s # out_an_t, 1092s # out_an_d, 1092s # out_an_s, 1092s # out_an_o, 1092s # out_an_g, 1092s # out_an_h, 1092s # out_an_ay, 1092s # out_an_as, 1092s # out_an_ao, 1092s # out_an_aay, 1092s # out_an_asv); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_complete_method_with_many_args: 1092s # * @object: A #OrgProjectCallableIface. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @an_b: Parameter to return. 1092s # * @an_y: Parameter to return. 1092s # * @an_n: Parameter to return. 1092s # * @an_q: Parameter to return. 1092s # * @an_i: Parameter to return. 1092s # * @an_u: Parameter to return. 1092s # * @an_x: Parameter to return. 1092s # * @an_t: Parameter to return. 1092s # * @an_d: Parameter to return. 1092s # * @an_s: Parameter to return. 1092s # * @an_o: Parameter to return. 1092s # * @an_g: Parameter to return. 1092s # * @an_h: Parameter to return. 1092s # * @an_ay: Parameter to return. 1092s # * @an_as: Parameter to return. 1092s # * @an_ao: Parameter to return. 1092s # * @an_aay: Parameter to return. 1092s # * @an_asv: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # org_project_callable_iface_complete_method_with_many_args ( 1092s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # gboolean an_b, 1092s # guchar an_y, 1092s # gint16 an_n, 1092s # guint16 an_q, 1092s # gint an_i, 1092s # guint an_u, 1092s # gint64 an_x, 1092s # guint64 an_t, 1092s # gdouble an_d, 1092s # const gchar *an_s, 1092s # const gchar *an_o, 1092s # const gchar *an_g, 1092s # GVariant *an_h, 1092s # const gchar *an_ay, 1092s # const gchar *const *an_as, 1092s # const gchar *const *an_ao, 1092s # const gchar *const *an_aay, 1092s # GVariant *an_asv) 1092s # { 1092s # g_dbus_method_invocation_return_value (invocation, 1092s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1092s # an_b, 1092s # an_y, 1092s # an_n, 1092s # an_q, 1092s # an_i, 1092s # an_u, 1092s # an_x, 1092s # an_t, 1092s # an_d, 1092s # an_s, 1092s # an_o, 1092s # an_g, 1092s # an_h, 1092s # an_ay, 1092s # an_as, 1092s # an_ao, 1092s # an_aay, 1092s # an_asv)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectCallableIfaceProxy: 1092s # * 1092s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectCallableIfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectCallableIfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectCallableIfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_callable_iface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1092s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1092s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_callable_iface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectCallableIface * 1092s # org_project_callable_iface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectCallableIface * 1092s # org_project_callable_iface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_callable_iface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_callable_iface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectCallableIface * 1092s # org_project_callable_iface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectCallableIface * 1092s # org_project_callable_iface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectCallableIfaceSkeleton: 1092s # * 1092s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectCallableIfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectCallableIfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_callable_iface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_callable_iface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_callable_iface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1092s # { 1092s # _org_project_callable_iface_skeleton_handle_method_call, 1092s # _org_project_callable_iface_skeleton_handle_get_property, 1092s # _org_project_callable_iface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_callable_iface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_callable_iface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_callable_iface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectCallableIface * 1092s # org_project_callable_iface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1092s # } 1092s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1092s # tmpdir: /tmp/tmpr5659wbs 1092s # codegen: /usr/bin/gdbus-codegen 1092s # /tmp/tmpr5659wbs/tmpt9mw4h62.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpr5659wbs/tmpt9mw4h62.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1092s # (void *data1, 1092s # GUnixFDList *arg_fd_list, 1092s # GDBusMethodInvocation *arg_method_invocation, 1092s # const gchar *arg_greeting, 1092s # void *data2); 1092s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # gboolean v_return; 1092s # 1092s # g_return_if_fail (return_value != NULL); 1092s # g_return_if_fail (n_param_values == 4); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # v_return = 1092s # callback (data1, 1092s # g_marshal_value_peek_object (param_values + 1), 1092s # g_marshal_value_peek_object (param_values + 2), 1092s # g_marshal_value_peek_string (param_values + 3), 1092s # data2); 1092s # 1092s # g_value_set_boolean (return_value, v_return); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface test.FDPassing 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:TestFDPassing 1092s # * @title: TestFDPassing 1092s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1092s # * 1092s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1092s # */ 1092s # 1092s # /* ---- Introspection data for test.FDPassing ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "greeting", 1092s # (gchar *) "s", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1092s # { 1092s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "response", 1092s # (gchar *) "s", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1092s # { 1092s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "HelloFD", 1092s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1092s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "handle-hello-fd", 1092s # TRUE 1092s # }; 1092s # 1092s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1092s # { 1092s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "test.FDPassing", 1092s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1092s # NULL, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "test-fdpassing", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * test_fdpassing_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # test_fdpassing_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * test_fdpassing_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # test_fdpassing_method_marshal_hello_fd ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * TestFDPassing: 1092s # * 1092s # * Abstract interface type for the D-Bus interface test.FDPassing. 1092s # */ 1092s # 1092s # /** 1092s # * TestFDPassingIface: 1092s # * @parent_iface: The parent interface. 1092s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1092s # * 1092s # * Virtual table for the D-Bus interface test.FDPassing. 1092s # */ 1092s # 1092s # typedef TestFDPassingIface TestFDPassingInterface; 1092s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # test_fdpassing_default_init (TestFDPassingIface *iface) 1092s # { 1092s # /* GObject signals for incoming D-Bus method calls: */ 1092s # /** 1092s # * TestFDPassing::handle-hello-fd: 1092s # * @object: A #TestFDPassing. 1092s # * @invocation: A #GDBusMethodInvocation. 1092s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1092s # * @arg_greeting: Argument passed by remote caller. 1092s # * 1092s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1092s # * 1092s # * 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. 1092s # * 1092s # * 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. 1092s # */ 1092s # g_signal_new ("handle-hello-fd", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1092s # g_signal_accumulator_true_handled, 1092s # NULL, 1092s # test_fdpassing_method_marshal_hello_fd, 1092s # G_TYPE_BOOLEAN, 1092s # 3, 1092s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * test_fdpassing_call_hello_fd: 1092s # * @proxy: A #TestFDPassingProxy. 1092s # * @arg_greeting: Argument to pass with the method invocation. 1092s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1092s # * 1092s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1092s # */ 1092s # void 1092s # test_fdpassing_call_hello_fd ( 1092s # TestFDPassing *proxy, 1092s # const gchar *arg_greeting, 1092s # GUnixFDList *fd_list, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1092s # "HelloFD", 1092s # g_variant_new ("(s)", 1092s # arg_greeting), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # fd_list, 1092s # cancellable, 1092s # callback, 1092s # user_data); 1092s # } 1092s # 1092s # /** 1092s # * test_fdpassing_call_hello_fd_finish: 1092s # * @proxy: A #TestFDPassingProxy. 1092s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # test_fdpassing_call_hello_fd_finish ( 1092s # TestFDPassing *proxy, 1092s # gchar **out_response, 1092s # GUnixFDList **out_fd_list, 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(s)", 1092s # out_response); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * test_fdpassing_call_hello_fd_sync: 1092s # * @proxy: A #TestFDPassingProxy. 1092s # * @arg_greeting: Argument to pass with the method invocation. 1092s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1092s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1092s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL. 1092s # * 1092s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1092s # * 1092s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1092s # * 1092s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1092s # */ 1092s # gboolean 1092s # test_fdpassing_call_hello_fd_sync ( 1092s # TestFDPassing *proxy, 1092s # const gchar *arg_greeting, 1092s # GUnixFDList *fd_list, 1092s # gchar **out_response, 1092s # GUnixFDList **out_fd_list, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GVariant *_ret; 1092s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1092s # "HelloFD", 1092s # g_variant_new ("(s)", 1092s # arg_greeting), 1092s # G_DBUS_CALL_FLAGS_NONE, 1092s # -1, 1092s # fd_list, 1092s # out_fd_list, 1092s # cancellable, 1092s # error); 1092s # if (_ret == NULL) 1092s # goto _out; 1092s # g_variant_get (_ret, 1092s # "(s)", 1092s # out_response); 1092s # g_variant_unref (_ret); 1092s # _out: 1092s # return _ret != NULL; 1092s # } 1092s # 1092s # /** 1092s # * test_fdpassing_complete_hello_fd: 1092s # * @object: A #TestFDPassing. 1092s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1092s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1092s # * @response: Parameter to return. 1092s # * 1092s # * 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. 1092s # * 1092s # * This method will free @invocation, you cannot use it afterwards. 1092s # */ 1092s # void 1092s # test_fdpassing_complete_hello_fd ( 1092s # TestFDPassing *object G_GNUC_UNUSED, 1092s # GDBusMethodInvocation *invocation, 1092s # GUnixFDList *fd_list, 1092s # const gchar *response) 1092s # { 1092s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1092s # g_variant_new ("(s)", 1092s # response), 1092s # fd_list); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * TestFDPassingProxy: 1092s # * 1092s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * TestFDPassingProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #TestFDPassingProxy. 1092s # */ 1092s # 1092s # struct _TestFDPassingProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (TestFDPassingProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # test_fdpassing_proxy_finalize (GObject *object) 1092s # { 1092s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1092s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1092s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1092s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * test_fdpassing_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # test_fdpassing_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * test_fdpassing_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with test_fdpassing_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # TestFDPassing * 1092s # test_fdpassing_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return TEST_FDPASSING (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * test_fdpassing_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # TestFDPassing * 1092s # test_fdpassing_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return TEST_FDPASSING (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * test_fdpassing_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # test_fdpassing_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * test_fdpassing_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # TestFDPassing * 1092s # test_fdpassing_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return TEST_FDPASSING (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * test_fdpassing_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # TestFDPassing * 1092s # test_fdpassing_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return TEST_FDPASSING (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * TestFDPassingSkeleton: 1092s # * 1092s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * TestFDPassingSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #TestFDPassingSkeleton. 1092s # */ 1092s # 1092s # struct _TestFDPassingSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _test_fdpassing_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _test_fdpassing_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _test_fdpassing_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1092s # { 1092s # _test_fdpassing_skeleton_handle_method_call, 1092s # _test_fdpassing_skeleton_handle_get_property, 1092s # _test_fdpassing_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return test_fdpassing_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # test_fdpassing_skeleton_finalize (GObject *object) 1092s # { 1092s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * test_fdpassing_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1092s # * 1092s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1092s # */ 1092s # TestFDPassing * 1092s # test_fdpassing_skeleton_new (void) 1092s # { 1092s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1092s # } 1092s ok 15 __main__.TestCodegen.test_generate_rst 1092s # tmpdir: /tmp/tmp01mnydqk 1092s # codegen: /usr/bin/gdbus-codegen 1092s # /tmp/tmp01mnydqk/tmpagu_od6n.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp01mnydqk/tmpagu_od6n.xml', '--generate-rst', 'test'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: 1092s ok 16 __main__.TestCodegen.test_generate_rst_method 1092s # tmpdir: /tmp/tmp3bsdavpd 1092s # codegen: /usr/bin/gdbus-codegen 1092s # /tmp/tmp3bsdavpd/tmptyqyyibv.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3bsdavpd/tmptyqyyibv.xml', '--generate-rst', 'test'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: 1092s ok 17 __main__.TestCodegen.test_generate_rst_property 1092s # tmpdir: /tmp/tmphyajinft 1092s # codegen: /usr/bin/gdbus-codegen 1092s # /tmp/tmphyajinft/tmpwzlbwbae.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphyajinft/tmpwzlbwbae.xml', '--generate-rst', 'test'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: 1092s ok 18 __main__.TestCodegen.test_generate_rst_signal 1092s # tmpdir: /tmp/tmpxgcu00ol 1092s # codegen: /usr/bin/gdbus-codegen 1092s # /tmp/tmpxgcu00ol/tmpcb0q6n9a.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxgcu00ol/tmpcb0q6n9a.xml', '--generate-rst', 'test'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: 1092s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1092s # tmpdir: /tmp/tmpnjvc3vmy 1092s # codegen: /usr/bin/gdbus-codegen 1092s # /tmp/tmpnjvc3vmy/tmpngz5uzb1.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnjvc3vmy/tmpngz5uzb1.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1092s # GClosure *closure, 1092s # GValue *return_value G_GNUC_UNUSED, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1092s # (void *data1, 1092s # gboolean arg_an_b, 1092s # guchar arg_an_y, 1092s # gint16 arg_an_n, 1092s # guint16 arg_an_q, 1092s # gint arg_an_i, 1092s # guint arg_an_u, 1092s # gint64 arg_an_x, 1092s # guint64 arg_an_t, 1092s # gdouble arg_an_d, 1092s # const gchar *arg_an_s, 1092s # const gchar *arg_an_o, 1092s # const gchar *arg_an_g, 1092s # GVariant *arg_an_h, 1092s # const gchar *arg_an_ay, 1092s # const gchar *const *arg_an_as, 1092s # const gchar *const *arg_an_ao, 1092s # const gchar *const *arg_an_aay, 1092s # GVariant *arg_an_asv, 1092s # void *data2); 1092s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # 1092s # g_return_if_fail (n_param_values == 19); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # callback (data1, 1092s # g_marshal_value_peek_boolean (param_values + 1), 1092s # g_marshal_value_peek_uchar (param_values + 2), 1092s # g_marshal_value_peek_int (param_values + 3), 1092s # g_marshal_value_peek_uint (param_values + 4), 1092s # g_marshal_value_peek_int (param_values + 5), 1092s # g_marshal_value_peek_uint (param_values + 6), 1092s # g_marshal_value_peek_int64 (param_values + 7), 1092s # g_marshal_value_peek_uint64 (param_values + 8), 1092s # g_marshal_value_peek_double (param_values + 9), 1092s # g_marshal_value_peek_string (param_values + 10), 1092s # g_marshal_value_peek_string (param_values + 11), 1092s # g_marshal_value_peek_string (param_values + 12), 1092s # g_marshal_value_peek_variant (param_values + 13), 1092s # g_marshal_value_peek_string (param_values + 14), 1092s # g_marshal_value_peek_boxed (param_values + 15), 1092s # g_marshal_value_peek_boxed (param_values + 16), 1092s # g_marshal_value_peek_boxed (param_values + 17), 1092s # g_marshal_value_peek_variant (param_values + 18), 1092s # data2); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.SignalingIface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectSignalingIface 1092s # * @title: OrgProjectSignalingIface 1092s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1092s # */ 1092s # 1092s # enum 1092s # { 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1092s # }; 1092s # 1092s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1092s # 1092s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_b", 1092s # (gchar *) "b", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_y", 1092s # (gchar *) "y", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_n", 1092s # (gchar *) "n", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_q", 1092s # (gchar *) "q", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_i", 1092s # (gchar *) "i", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_u", 1092s # (gchar *) "u", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_x", 1092s # (gchar *) "x", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_t", 1092s # (gchar *) "t", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_d", 1092s # (gchar *) "d", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_s", 1092s # (gchar *) "s", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_o", 1092s # (gchar *) "o", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_g", 1092s # (gchar *) "g", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_h", 1092s # (gchar *) "h", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_ay", 1092s # (gchar *) "ay", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_as", 1092s # (gchar *) "as", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_ao", 1092s # (gchar *) "ao", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_aay", 1092s # (gchar *) "aay", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_asv", 1092s # (gchar *) "a{sv}", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SignalWithManyArgs", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "signal-with-many-args" 1092s # }; 1092s # 1092s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.SignalingIface", 1092s # NULL, 1092s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-signaling-iface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_signaling_iface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_signaling_iface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1092s # */ 1092s # 1092s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1092s # { 1092s # /* GObject signals for received D-Bus signals: */ 1092s # /** 1092s # * OrgProjectSignalingIface::signal-with-many-args: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_b: Argument. 1092s # * @arg_an_y: Argument. 1092s # * @arg_an_n: Argument. 1092s # * @arg_an_q: Argument. 1092s # * @arg_an_i: Argument. 1092s # * @arg_an_u: Argument. 1092s # * @arg_an_x: Argument. 1092s # * @arg_an_t: Argument. 1092s # * @arg_an_d: Argument. 1092s # * @arg_an_s: Argument. 1092s # * @arg_an_o: Argument. 1092s # * @arg_an_g: Argument. 1092s # * @arg_an_h: Argument. 1092s # * @arg_an_ay: Argument. 1092s # * @arg_an_as: Argument. 1092s # * @arg_an_ao: Argument. 1092s # * @arg_an_aay: Argument. 1092s # * @arg_an_asv: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1092s # g_signal_new ("signal-with-many-args", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1092s # G_TYPE_NONE, 1092s # 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); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_signal_with_many_args: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_b: Argument to pass with the signal. 1092s # * @arg_an_y: Argument to pass with the signal. 1092s # * @arg_an_n: Argument to pass with the signal. 1092s # * @arg_an_q: Argument to pass with the signal. 1092s # * @arg_an_i: Argument to pass with the signal. 1092s # * @arg_an_u: Argument to pass with the signal. 1092s # * @arg_an_x: Argument to pass with the signal. 1092s # * @arg_an_t: Argument to pass with the signal. 1092s # * @arg_an_d: Argument to pass with the signal. 1092s # * @arg_an_s: Argument to pass with the signal. 1092s # * @arg_an_o: Argument to pass with the signal. 1092s # * @arg_an_g: Argument to pass with the signal. 1092s # * @arg_an_h: Argument to pass with the signal. 1092s # * @arg_an_ay: Argument to pass with the signal. 1092s # * @arg_an_as: Argument to pass with the signal. 1092s # * @arg_an_ao: Argument to pass with the signal. 1092s # * @arg_an_aay: Argument to pass with the signal. 1092s # * @arg_an_asv: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SignalWithManyArgs" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_signal_with_many_args ( 1092s # OrgProjectSignalingIface *object, 1092s # gboolean arg_an_b, 1092s # guchar arg_an_y, 1092s # gint16 arg_an_n, 1092s # guint16 arg_an_q, 1092s # gint arg_an_i, 1092s # guint arg_an_u, 1092s # gint64 arg_an_x, 1092s # guint64 arg_an_t, 1092s # gdouble arg_an_d, 1092s # const gchar *arg_an_s, 1092s # const gchar *arg_an_o, 1092s # const gchar *arg_an_g, 1092s # GVariant *arg_an_h, 1092s # const gchar *arg_an_ay, 1092s # const gchar *const *arg_an_as, 1092s # const gchar *const *arg_an_ao, 1092s # const gchar *const *arg_an_aay, 1092s # GVariant *arg_an_asv) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceProxy: 1092s # * 1092s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectSignalingIfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectSignalingIfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_signaling_iface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1092s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1092s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceSkeleton: 1092s # * 1092s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_signaling_iface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_signaling_iface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_signaling_iface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1092s # { 1092s # _org_project_signaling_iface_skeleton_handle_method_call, 1092s # _org_project_signaling_iface_skeleton_handle_get_property, 1092s # _org_project_signaling_iface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_signaling_iface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1092s # OrgProjectSignalingIface *object, 1092s # gboolean arg_an_b, 1092s # guchar arg_an_y, 1092s # gint16 arg_an_n, 1092s # guint16 arg_an_q, 1092s # gint arg_an_i, 1092s # guint arg_an_u, 1092s # gint64 arg_an_x, 1092s # guint64 arg_an_t, 1092s # gdouble arg_an_d, 1092s # const gchar *arg_an_s, 1092s # const gchar *arg_an_o, 1092s # const gchar *arg_an_g, 1092s # GVariant *arg_an_h, 1092s # const gchar *arg_an_ay, 1092s # const gchar *const *arg_an_as, 1092s # const gchar *const *arg_an_ao, 1092s # const gchar *const *arg_an_aay, 1092s # GVariant *arg_an_asv) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1092s # arg_an_b, 1092s # arg_an_y, 1092s # arg_an_n, 1092s # arg_an_q, 1092s # arg_an_i, 1092s # arg_an_u, 1092s # arg_an_x, 1092s # arg_an_t, 1092s # arg_an_d, 1092s # arg_an_s, 1092s # arg_an_o, 1092s # arg_an_g, 1092s # arg_an_h, 1092s # arg_an_ay, 1092s # arg_an_as, 1092s # arg_an_ao, 1092s # arg_an_aay, 1092s # arg_an_asv)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1092s # { 1092s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1092s # } 1092s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1092s # tmpdir: /tmp/tmpswg33tk8 1092s # codegen: /usr/bin/gdbus-codegen 1092s # /tmp/tmpswg33tk8/tmpsldsjaul.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpswg33tk8/tmpsldsjaul.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_VOID__INT64 ( 1092s # GClosure *closure, 1092s # GValue *return_value G_GNUC_UNUSED, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1092s # (void *data1, 1092s # gint64 arg_an_x, 1092s # void *data2); 1092s # _GDbusCodegenMarshalVoid_Int64Func callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # callback (data1, 1092s # g_marshal_value_peek_int64 (param_values + 1), 1092s # data2); 1092s # } 1092s # 1092s # static void 1092s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1092s # GClosure *closure, 1092s # GValue *return_value G_GNUC_UNUSED, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint G_GNUC_UNUSED, 1092s # void *marshal_data) 1092s # { 1092s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1092s # (void *data1, 1092s # guint64 arg_an_t, 1092s # void *data2); 1092s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1092s # GCClosure *cc = (GCClosure*) closure; 1092s # void *data1, *data2; 1092s # 1092s # g_return_if_fail (n_param_values == 2); 1092s # 1092s # if (G_CCLOSURE_SWAP_DATA (closure)) 1092s # { 1092s # data1 = closure->data; 1092s # data2 = g_value_peek_pointer (param_values + 0); 1092s # } 1092s # else 1092s # { 1092s # data1 = g_value_peek_pointer (param_values + 0); 1092s # data2 = closure->data; 1092s # } 1092s # 1092s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1092s # (marshal_data ? marshal_data : cc->callback); 1092s # 1092s # callback (data1, 1092s # g_marshal_value_peek_uint64 (param_values + 1), 1092s # data2); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.SignalingIface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectSignalingIface 1092s # * @title: OrgProjectSignalingIface 1092s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1092s # */ 1092s # 1092s # enum 1092s # { 1092s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1092s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1092s # }; 1092s # 1092s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1092s # 1092s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "NoArgSignal", 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "no-arg-signal" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_b", 1092s # (gchar *) "b", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalB", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-b" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_y", 1092s # (gchar *) "y", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalY", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-y" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_n", 1092s # (gchar *) "n", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalN", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-n" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_q", 1092s # (gchar *) "q", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalQ", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-q" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_i", 1092s # (gchar *) "i", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalI", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-i" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_u", 1092s # (gchar *) "u", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalU", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-u" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_x", 1092s # (gchar *) "x", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalX", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-x" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_t", 1092s # (gchar *) "t", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalT", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-t" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_d", 1092s # (gchar *) "d", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalD", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-d" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_s", 1092s # (gchar *) "s", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalS", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-s" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_o", 1092s # (gchar *) "o", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalO", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-o" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_g", 1092s # (gchar *) "g", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalG", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-g" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_h", 1092s # (gchar *) "h", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalH", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-h" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_ay", 1092s # (gchar *) "ay", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalAY", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-ay" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_as", 1092s # (gchar *) "as", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalAS", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-as" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_ao", 1092s # (gchar *) "ao", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalAO", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-ao" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_aay", 1092s # (gchar *) "aay", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalAAY", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-aay" 1092s # }; 1092s # 1092s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "an_asv", 1092s # (gchar *) "a{sv}", 1092s # NULL 1092s # }, 1092s # FALSE 1092s # }; 1092s # 1092s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SingleArgSignalASV", 1092s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1092s # NULL 1092s # }, 1092s # "single-arg-signal-asv" 1092s # }; 1092s # 1092s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1092s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.SignalingIface", 1092s # NULL, 1092s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-signaling-iface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_signaling_iface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_signaling_iface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__VOID (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__UCHAR (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__INT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__UINT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__INT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__UINT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__DOUBLE (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__STRING (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__STRING (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__STRING (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__VARIANT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__STRING (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__BOXED (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__BOXED (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__BOXED (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__VARIANT (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1092s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1092s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1092s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1092s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1092s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1092s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1092s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1092s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1092s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1092s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1092s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1092s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1092s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1092s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1092s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1092s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1092s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1092s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1092s # */ 1092s # 1092s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1092s # { 1092s # /* GObject signals for received D-Bus signals: */ 1092s # /** 1092s # * OrgProjectSignalingIface::no-arg-signal: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1092s # g_signal_new ("no-arg-signal", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1092s # G_TYPE_NONE, 1092s # 0); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-b: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_b: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1092s # g_signal_new ("single-arg-signal-b", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_BOOLEAN); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-y: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_y: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1092s # g_signal_new ("single-arg-signal-y", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_UCHAR); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-n: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_n: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1092s # g_signal_new ("single-arg-signal-n", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_INT); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-q: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_q: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1092s # g_signal_new ("single-arg-signal-q", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_UINT); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-i: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_i: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1092s # g_signal_new ("single-arg-signal-i", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_INT); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-u: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_u: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1092s # g_signal_new ("single-arg-signal-u", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_UINT); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-x: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_x: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1092s # g_signal_new ("single-arg-signal-x", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_INT64); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-t: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_t: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1092s # g_signal_new ("single-arg-signal-t", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_UINT64); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-d: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_d: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1092s # g_signal_new ("single-arg-signal-d", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_DOUBLE); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-s: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_s: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1092s # g_signal_new ("single-arg-signal-s", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_STRING); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-o: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_o: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1092s # g_signal_new ("single-arg-signal-o", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_STRING); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-g: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_g: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1092s # g_signal_new ("single-arg-signal-g", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_STRING); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-h: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_h: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1092s # g_signal_new ("single-arg-signal-h", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_VARIANT); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-ay: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_ay: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1092s # g_signal_new ("single-arg-signal-ay", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_STRING); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-as: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_as: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1092s # g_signal_new ("single-arg-signal-as", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_STRV); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-ao: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_ao: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1092s # g_signal_new ("single-arg-signal-ao", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_STRV); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-aay: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_aay: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1092s # g_signal_new ("single-arg-signal-aay", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_STRV); 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface::single-arg-signal-asv: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_asv: Argument. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1092s # g_signal_new ("single-arg-signal-asv", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1092s # G_TYPE_NONE, 1092s # 1, G_TYPE_VARIANT); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_no_arg_signal: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * 1092s # * Emits the "NoArgSignal" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_no_arg_signal ( 1092s # OrgProjectSignalingIface *object) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_b: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_b: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalB" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_b ( 1092s # OrgProjectSignalingIface *object, 1092s # gboolean arg_an_b) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_y: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_y: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalY" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_y ( 1092s # OrgProjectSignalingIface *object, 1092s # guchar arg_an_y) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_n: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_n: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalN" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_n ( 1092s # OrgProjectSignalingIface *object, 1092s # gint16 arg_an_n) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_q: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_q: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalQ" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_q ( 1092s # OrgProjectSignalingIface *object, 1092s # guint16 arg_an_q) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_i: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_i: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalI" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_i ( 1092s # OrgProjectSignalingIface *object, 1092s # gint arg_an_i) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_u: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_u: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalU" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_u ( 1092s # OrgProjectSignalingIface *object, 1092s # guint arg_an_u) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_x: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_x: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalX" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_x ( 1092s # OrgProjectSignalingIface *object, 1092s # gint64 arg_an_x) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_t: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_t: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalT" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_t ( 1092s # OrgProjectSignalingIface *object, 1092s # guint64 arg_an_t) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_d: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_d: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalD" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_d ( 1092s # OrgProjectSignalingIface *object, 1092s # gdouble arg_an_d) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_s: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_s: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalS" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_s ( 1092s # OrgProjectSignalingIface *object, 1092s # const gchar *arg_an_s) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_o: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_o: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalO" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_o ( 1092s # OrgProjectSignalingIface *object, 1092s # const gchar *arg_an_o) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_g: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_g: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalG" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_g ( 1092s # OrgProjectSignalingIface *object, 1092s # const gchar *arg_an_g) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_h: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_h: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalH" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_h ( 1092s # OrgProjectSignalingIface *object, 1092s # GVariant *arg_an_h) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_ay: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalAY" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1092s # OrgProjectSignalingIface *object, 1092s # const gchar *arg_an_ay) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_as: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_as: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalAS" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_as ( 1092s # OrgProjectSignalingIface *object, 1092s # const gchar *const *arg_an_as) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_ao: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalAO" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1092s # OrgProjectSignalingIface *object, 1092s # const gchar *const *arg_an_ao) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_aay: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1092s # OrgProjectSignalingIface *object, 1092s # const gchar *const *arg_an_aay) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * @arg_an_asv: Argument to pass with the signal. 1092s # * 1092s # * Emits the "SingleArgSignalASV" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1092s # OrgProjectSignalingIface *object, 1092s # GVariant *arg_an_asv) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceProxy: 1092s # * 1092s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectSignalingIfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectSignalingIfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_signaling_iface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1092s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1092s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceSkeleton: 1092s # * 1092s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_signaling_iface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_signaling_iface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_signaling_iface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1092s # { 1092s # _org_project_signaling_iface_skeleton_handle_method_call, 1092s # _org_project_signaling_iface_skeleton_handle_get_property, 1092s # _org_project_signaling_iface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_signaling_iface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1092s # OrgProjectSignalingIface *object) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1092s # OrgProjectSignalingIface *object, 1092s # gboolean arg_an_b) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1092s # arg_an_b)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1092s # OrgProjectSignalingIface *object, 1092s # guchar arg_an_y) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1092s # arg_an_y)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1092s # OrgProjectSignalingIface *object, 1092s # gint16 arg_an_n) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1092s # arg_an_n)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1092s # OrgProjectSignalingIface *object, 1092s # guint16 arg_an_q) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1092s # arg_an_q)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1092s # OrgProjectSignalingIface *object, 1092s # gint arg_an_i) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1092s # arg_an_i)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1092s # OrgProjectSignalingIface *object, 1092s # guint arg_an_u) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1092s # arg_an_u)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1092s # OrgProjectSignalingIface *object, 1092s # gint64 arg_an_x) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1092s # arg_an_x)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1092s # OrgProjectSignalingIface *object, 1092s # guint64 arg_an_t) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1092s # arg_an_t)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1092s # OrgProjectSignalingIface *object, 1092s # gdouble arg_an_d) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1092s # arg_an_d)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1092s # OrgProjectSignalingIface *object, 1092s # const gchar *arg_an_s) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1092s # arg_an_s)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1092s # OrgProjectSignalingIface *object, 1092s # const gchar *arg_an_o) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1092s # arg_an_o)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1092s # OrgProjectSignalingIface *object, 1092s # const gchar *arg_an_g) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1092s # arg_an_g)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1092s # OrgProjectSignalingIface *object, 1092s # GVariant *arg_an_h) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1092s # arg_an_h)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1092s # OrgProjectSignalingIface *object, 1092s # const gchar *arg_an_ay) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1092s # arg_an_ay)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1092s # OrgProjectSignalingIface *object, 1092s # const gchar *const *arg_an_as) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1092s # arg_an_as)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1092s # OrgProjectSignalingIface *object, 1092s # const gchar *const *arg_an_ao) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1092s # arg_an_ao)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1092s # OrgProjectSignalingIface *object, 1092s # const gchar *const *arg_an_aay) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1092s # arg_an_aay)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1092s # OrgProjectSignalingIface *object, 1092s # GVariant *arg_an_asv) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1092s # arg_an_asv)); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1092s # { 1092s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1092s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1092s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1092s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1092s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1092s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1092s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1092s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1092s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1092s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1092s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1092s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1092s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1092s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1092s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1092s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1092s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1092s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1092s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1092s # } 1092s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1092s # tmpdir: /tmp/tmp30_krq5_ 1092s # codegen: /usr/bin/gdbus-codegen 1092s # /tmp/tmp30_krq5_/tmpf516r522.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp30_krq5_/tmpf516r522.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.UsefulInterface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectUsefulInterface 1092s # * @title: OrgProjectUsefulInterface 1092s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1092s # */ 1092s # 1092s # enum 1092s # { 1092s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1092s # }; 1092s # 1092s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1092s # 1092s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SimpleSignal", 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "simple-signal" 1092s # }; 1092s # 1092s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1092s # { 1092s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.UsefulInterface", 1092s # NULL, 1092s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-useful-interface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_useful_interface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_useful_interface_signal_marshal_simple_signal ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__VOID (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1092s # */ 1092s # 1092s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # /* GObject signals for received D-Bus signals: */ 1092s # /** 1092s # * OrgProjectUsefulInterface::simple-signal: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1092s # g_signal_new ("simple-signal", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1092s # NULL, 1092s # NULL, 1092s # org_project_useful_interface_signal_marshal_simple_signal, 1092s # G_TYPE_NONE, 1092s # 0); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_emit_simple_signal: 1092s # * @object: A #OrgProjectUsefulInterface. 1092s # * 1092s # * Emits the "SimpleSignal" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_useful_interface_emit_simple_signal ( 1092s # OrgProjectUsefulInterface *object) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxy: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1092s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1092s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_useful_interface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # g_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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeleton: 1092s # * 1092s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectUsefulInterfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_useful_interface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_useful_interface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_useful_interface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1092s # { 1092s # _org_project_useful_interface_skeleton_handle_method_call, 1092s # _org_project_useful_interface_skeleton_handle_get_property, 1092s # _org_project_useful_interface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_useful_interface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # _org_project_useful_interface_on_signal_simple_signal ( 1092s # OrgProjectUsefulInterface *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_useful_interface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1092s # { 1092s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1092s # } 1092s # 1092s # /** 1092s # * org_project_useful_interface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectUsefulInterface * 1092s # org_project_useful_interface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.OtherIface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectOtherIface 1092s # * @title: OrgProjectOtherIface 1092s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1092s # */ 1092s # 1092s # enum 1092s # { 1092s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1092s # }; 1092s # 1092s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1092s # 1092s # /* ---- Introspection data for org.project.OtherIface ---- */ 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SimpleSignal", 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "simple-signal" 1092s # }; 1092s # 1092s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1092s # { 1092s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.OtherIface", 1092s # NULL, 1092s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-other-iface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_other_iface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_other_iface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_iface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_other_iface_signal_marshal_simple_signal ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__VOID (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectOtherIface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectOtherIfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.OtherIface. 1092s # */ 1092s # 1092s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1092s # { 1092s # /* GObject signals for received D-Bus signals: */ 1092s # /** 1092s # * OrgProjectOtherIface::simple-signal: 1092s # * @object: A #OrgProjectOtherIface. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1092s # g_signal_new ("simple-signal", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1092s # NULL, 1092s # NULL, 1092s # org_project_other_iface_signal_marshal_simple_signal, 1092s # G_TYPE_NONE, 1092s # 0); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_iface_emit_simple_signal: 1092s # * @object: A #OrgProjectOtherIface. 1092s # * 1092s # * Emits the "SimpleSignal" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_other_iface_emit_simple_signal ( 1092s # OrgProjectOtherIface *object) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectOtherIfaceProxy: 1092s # * 1092s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectOtherIfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectOtherIfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectOtherIfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_other_iface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1092s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1092s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_iface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_other_iface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_iface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectOtherIface * 1092s # org_project_other_iface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_OTHER_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_iface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectOtherIface * 1092s # org_project_other_iface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_OTHER_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_other_iface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_other_iface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_iface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectOtherIface * 1092s # org_project_other_iface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_OTHER_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_iface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectOtherIface * 1092s # org_project_other_iface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_OTHER_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectOtherIfaceSkeleton: 1092s # * 1092s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectOtherIfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectOtherIfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_other_iface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_other_iface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_other_iface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1092s # { 1092s # _org_project_other_iface_skeleton_handle_method_call, 1092s # _org_project_other_iface_skeleton_handle_get_property, 1092s # _org_project_other_iface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_other_iface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # _org_project_other_iface_on_signal_simple_signal ( 1092s # OrgProjectOtherIface *object) 1092s # { 1092s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_other_iface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1092s # { 1092s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_iface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectOtherIface * 1092s # org_project_other_iface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1092s # } 1092s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1092s # tmpdir: /tmp/tmpjfl0fy1s 1092s # codegen: /usr/bin/gdbus-codegen 1092s # /tmp/tmpjfl0fy1s/tmp70s74ixi.xml: 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # 1092s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjfl0fy1s/tmp70s74ixi.xml', '--output', '-', '--body'] 1092s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1092s # Output: /* 1092s # * This file is generated by gdbus-codegen, do not modify it. 1092s # * 1092s # * The license of this code is the same as for the D-Bus interface description 1092s # * it was derived from. Note that it links to GLib, so must comply with the 1092s # * LGPL linking clauses. 1092s # */ 1092s # 1092s # #ifdef HAVE_CONFIG_H 1092s # # include "config.h" 1092s # #endif 1092s # 1092s # #include 1092s # #ifdef G_OS_UNIX 1092s # # include 1092s # #endif 1092s # 1092s # #ifdef G_ENABLE_DEBUG 1092s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1092s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1092s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1092s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1092s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1092s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1092s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1092s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1092s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1092s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1092s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1092s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1092s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1092s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1092s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1092s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1092s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1092s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1092s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1092s # #else /* !G_ENABLE_DEBUG */ 1092s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1092s # * Do not access GValues directly in your code. Instead, use the 1092s # * g_value_get_*() functions 1092s # */ 1092s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1092s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1092s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1092s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1092s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1092s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1092s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1092s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1092s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1092s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1092s # #endif /* !G_ENABLE_DEBUG */ 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusArgInfo parent_struct; 1092s # gboolean use_gvariant; 1092s # } _ExtendedGDBusArgInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusMethodInfo parent_struct; 1092s # const gchar *signal_name; 1092s # gboolean pass_fdlist; 1092s # } _ExtendedGDBusMethodInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusSignalInfo parent_struct; 1092s # const gchar *signal_name; 1092s # } _ExtendedGDBusSignalInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusPropertyInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # guint use_gvariant : 1; 1092s # guint emits_changed_signal : 1; 1092s # } _ExtendedGDBusPropertyInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # GDBusInterfaceInfo parent_struct; 1092s # const gchar *hyphen_name; 1092s # } _ExtendedGDBusInterfaceInfo; 1092s # 1092s # typedef struct 1092s # { 1092s # const _ExtendedGDBusPropertyInfo *info; 1092s # guint prop_id; 1092s # GValue orig_value; /* the value before the change */ 1092s # } ChangedProperty; 1092s # 1092s # static void 1092s # _changed_property_free (ChangedProperty *data) 1092s # { 1092s # g_value_unset (&data->orig_value); 1092s # g_free (data); 1092s # } 1092s # 1092s # static gboolean 1092s # _g_strv_equal0 (gchar **a, gchar **b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # guint n; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # if (g_strv_length (a) != g_strv_length (b)) 1092s # goto out; 1092s # for (n = 0; a[n] != NULL; n++) 1092s # if (g_strcmp0 (a[n], b[n]) != 0) 1092s # goto out; 1092s # ret = TRUE; 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _g_variant_equal0 (GVariant *a, GVariant *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # if (a == NULL && b == NULL) 1092s # { 1092s # ret = TRUE; 1092s # goto out; 1092s # } 1092s # if (a == NULL || b == NULL) 1092s # goto out; 1092s # ret = g_variant_equal (a, b); 1092s # out: 1092s # return ret; 1092s # } 1092s # 1092s # G_GNUC_UNUSED static gboolean 1092s # _g_value_equal (const GValue *a, const GValue *b) 1092s # { 1092s # gboolean ret = FALSE; 1092s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1092s # switch (G_VALUE_TYPE (a)) 1092s # { 1092s # case G_TYPE_BOOLEAN: 1092s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1092s # break; 1092s # case G_TYPE_UCHAR: 1092s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1092s # break; 1092s # case G_TYPE_INT: 1092s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1092s # break; 1092s # case G_TYPE_UINT: 1092s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1092s # break; 1092s # case G_TYPE_INT64: 1092s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1092s # break; 1092s # case G_TYPE_UINT64: 1092s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1092s # break; 1092s # case G_TYPE_DOUBLE: 1092s # { 1092s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1092s # gdouble da = g_value_get_double (a); 1092s # gdouble db = g_value_get_double (b); 1092s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1092s # } 1092s # break; 1092s # case G_TYPE_STRING: 1092s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1092s # break; 1092s # case G_TYPE_VARIANT: 1092s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1092s # break; 1092s # default: 1092s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1092s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1092s # else 1092s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1092s # break; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.SignalingIface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectSignalingIface 1092s # * @title: OrgProjectSignalingIface 1092s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1092s # */ 1092s # 1092s # enum 1092s # { 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1092s # }; 1092s # 1092s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1092s # 1092s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SimpleSignal", 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "simple-signal" 1092s # }; 1092s # 1092s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1092s # { 1092s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.SignalingIface", 1092s # NULL, 1092s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-signaling-iface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_signaling_iface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_signaling_iface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_signaling_iface_signal_marshal_simple_signal ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__VOID (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectSignalingIface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1092s # */ 1092s # 1092s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1092s # { 1092s # /* GObject signals for received D-Bus signals: */ 1092s # /** 1092s # * OrgProjectSignalingIface::simple-signal: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1092s # g_signal_new ("simple-signal", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1092s # NULL, 1092s # NULL, 1092s # org_project_signaling_iface_signal_marshal_simple_signal, 1092s # G_TYPE_NONE, 1092s # 0); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_emit_simple_signal: 1092s # * @object: A #OrgProjectSignalingIface. 1092s # * 1092s # * Emits the "SimpleSignal" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_emit_simple_signal ( 1092s # OrgProjectSignalingIface *object) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceProxy: 1092s # * 1092s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectSignalingIfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectSignalingIfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_signaling_iface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1092s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1092s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_signaling_iface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceSkeleton: 1092s # * 1092s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectSignalingIfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_signaling_iface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_signaling_iface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_signaling_iface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1092s # { 1092s # _org_project_signaling_iface_skeleton_handle_method_call, 1092s # _org_project_signaling_iface_skeleton_handle_get_property, 1092s # _org_project_signaling_iface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_signaling_iface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # _org_project_signaling_iface_on_signal_simple_signal ( 1092s # OrgProjectSignalingIface *object) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1092s # { 1092s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1092s # } 1092s # 1092s # /** 1092s # * org_project_signaling_iface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectSignalingIface * 1092s # org_project_signaling_iface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ 1092s # * Code for interface org.project.OtherSignalingIface 1092s # * ------------------------------------------------------------------------ 1092s # */ 1092s # 1092s # /** 1092s # * SECTION:OrgProjectOtherSignalingIface 1092s # * @title: OrgProjectOtherSignalingIface 1092s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1092s # * 1092s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1092s # */ 1092s # 1092s # enum 1092s # { 1092s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1092s # }; 1092s # 1092s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1092s # 1092s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1092s # 1092s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "SimpleSignal", 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "simple-signal" 1092s # }; 1092s # 1092s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1092s # { 1092s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1092s # NULL 1092s # }; 1092s # 1092s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1092s # { 1092s # { 1092s # -1, 1092s # (gchar *) "org.project.OtherSignalingIface", 1092s # NULL, 1092s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1092s # NULL, 1092s # NULL 1092s # }, 1092s # "org-project-other-signaling-iface", 1092s # }; 1092s # 1092s # 1092s # /** 1092s # * org_project_other_signaling_iface_interface_info: 1092s # * 1092s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1092s # * 1092s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1092s # */ 1092s # GDBusInterfaceInfo * 1092s # org_project_other_signaling_iface_interface_info (void) 1092s # { 1092s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_signaling_iface_override_properties: 1092s # * @klass: The class structure for a #GObject derived class. 1092s # * @property_id_begin: The property id to assign to the first overridden property. 1092s # * 1092s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1092s # * The properties are overridden in the order they are defined. 1092s # * 1092s # * Returns: The last property id. 1092s # */ 1092s # guint 1092s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1092s # { 1092s # return property_id_begin - 1; 1092s # } 1092s # 1092s # 1092s # inline static void 1092s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1092s # GClosure *closure, 1092s # GValue *return_value, 1092s # unsigned int n_param_values, 1092s # const GValue *param_values, 1092s # void *invocation_hint, 1092s # void *marshal_data) 1092s # { 1092s # g_cclosure_marshal_VOID__VOID (closure, 1092s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1092s # } 1092s # 1092s # 1092s # /** 1092s # * OrgProjectOtherSignalingIface: 1092s # * 1092s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectOtherSignalingIfaceIface: 1092s # * @parent_iface: The parent interface. 1092s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1092s # * 1092s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1092s # */ 1092s # 1092s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1092s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1092s # 1092s # static void 1092s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1092s # { 1092s # /* GObject signals for received D-Bus signals: */ 1092s # /** 1092s # * OrgProjectOtherSignalingIface::simple-signal: 1092s # * @object: A #OrgProjectOtherSignalingIface. 1092s # * 1092s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1092s # * 1092s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1092s # */ 1092s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1092s # g_signal_new ("simple-signal", 1092s # G_TYPE_FROM_INTERFACE (iface), 1092s # G_SIGNAL_RUN_LAST, 1092s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1092s # NULL, 1092s # NULL, 1092s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1092s # G_TYPE_NONE, 1092s # 0); 1092s # 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_signaling_iface_emit_simple_signal: 1092s # * @object: A #OrgProjectOtherSignalingIface. 1092s # * 1092s # * Emits the "SimpleSignal" D-Bus signal. 1092s # */ 1092s # void 1092s # org_project_other_signaling_iface_emit_simple_signal ( 1092s # OrgProjectOtherSignalingIface *object) 1092s # { 1092s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1092s # } 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectOtherSignalingIfaceProxy: 1092s # * 1092s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectOtherSignalingIfaceProxyClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1092s # */ 1092s # 1092s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1092s # { 1092s # GData *qdata; 1092s # }; 1092s # 1092s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1092s # { 1092s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1092s # g_datalist_clear (&proxy->priv->qdata); 1092s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1092s # guint prop_id G_GNUC_UNUSED, 1092s # const GValue *value G_GNUC_UNUSED, 1092s # GParamSpec *pspec G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1092s # const gchar *sender_name G_GNUC_UNUSED, 1092s # const gchar *signal_name, 1092s # GVariant *parameters) 1092s # { 1092s # _ExtendedGDBusSignalInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # gsize n; 1092s # guint signal_id; 1092s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1092s # if (info == NULL) 1092s # return; 1092s # num_params = g_variant_n_children (parameters); 1092s # paramv = g_new0 (GValue, num_params + 1); 1092s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1092s # g_value_set_object (¶mv[0], proxy); 1092s # g_variant_iter_init (&iter, parameters); 1092s # n = 1; 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1092s # g_signal_emitv (paramv, signal_id, 0, NULL); 1092s # for (n = 0; n < num_params + 1; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1092s # GVariant *changed_properties, 1092s # const gchar *const *invalidated_properties) 1092s # { 1092s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1092s # guint n; 1092s # const gchar *key; 1092s # GVariantIter *iter; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # g_variant_get (changed_properties, "a{sv}", &iter); 1092s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1092s # g_datalist_remove_data (&proxy->priv->qdata, key); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # g_variant_iter_free (iter); 1092s # for (n = 0; invalidated_properties[n] != NULL; n++) 1092s # { 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1092s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1092s # if (info != NULL) 1092s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1092s # } 1092s # } 1092s # 1092s # static void 1092s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1092s # #else 1092s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1092s # #endif 1092s # 1092s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusProxyClass *proxy_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1092s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1092s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1092s # 1092s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1092s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1092s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_signaling_iface_proxy_new: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_other_signaling_iface_proxy_new ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_signaling_iface_proxy_new_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectOtherSignalingIface * 1092s # org_project_other_signaling_iface_proxy_new_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_signaling_iface_proxy_new_sync: 1092s # * @connection: A #GDBusConnection. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectOtherSignalingIface * 1092s # org_project_other_signaling_iface_proxy_new_sync ( 1092s # GDBusConnection *connection, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /** 1092s # * org_project_other_signaling_iface_proxy_new_for_bus: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1092s # * @user_data: User data to pass to @callback. 1092s # * 1092s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1092s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1092s # * 1092s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1092s # */ 1092s # void 1092s # org_project_other_signaling_iface_proxy_new_for_bus ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GAsyncReadyCallback callback, 1092s # gpointer user_data) 1092s # { 1092s # 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); 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1092s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectOtherSignalingIface * 1092s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1092s # GAsyncResult *res, 1092s # GError **error) 1092s # { 1092s # GObject *ret; 1092s # GObject *source_object; 1092s # source_object = g_async_result_get_source_object (res); 1092s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1092s # g_object_unref (source_object); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1092s # * @bus_type: A #GBusType. 1092s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1092s # * @name: A bus name (well-known or unique). 1092s # * @object_path: An object path. 1092s # * @cancellable: (nullable): A #GCancellable or %NULL. 1092s # * @error: Return location for error or %NULL 1092s # * 1092s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1092s # * 1092s # * The calling thread is blocked until a reply is received. 1092s # * 1092s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1092s # */ 1092s # OrgProjectOtherSignalingIface * 1092s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1092s # GBusType bus_type, 1092s # GDBusProxyFlags flags, 1092s # const gchar *name, 1092s # const gchar *object_path, 1092s # GCancellable *cancellable, 1092s # GError **error) 1092s # { 1092s # GInitable *ret; 1092s # 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); 1092s # if (ret != NULL) 1092s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1092s # else 1092s # return NULL; 1092s # } 1092s # 1092s # 1092s # /* ------------------------------------------------------------------------ */ 1092s # 1092s # /** 1092s # * OrgProjectOtherSignalingIfaceSkeleton: 1092s # * 1092s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1092s # */ 1092s # 1092s # /** 1092s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1092s # * @parent_class: The parent class. 1092s # * 1092s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1092s # */ 1092s # 1092s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1092s # { 1092s # GValue *properties; 1092s # GList *changed_properties; 1092s # GSource *changed_properties_idle_source; 1092s # GMainContext *context; 1092s # GMutex lock; 1092s # }; 1092s # 1092s # static void 1092s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name, 1092s # const gchar *method_name, 1092s # GVariant *parameters, 1092s # GDBusMethodInvocation *invocation, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1092s # _ExtendedGDBusMethodInfo *info; 1092s # GVariantIter iter; 1092s # GVariant *child; 1092s # GValue *paramv; 1092s # gsize num_params; 1092s # guint num_extra; 1092s # gsize n; 1092s # guint signal_id; 1092s # GValue return_value = G_VALUE_INIT; 1092s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1092s # g_assert (info != NULL); 1092s # num_params = g_variant_n_children (parameters); 1092s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1092s # n = 0; 1092s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1092s # g_value_set_object (¶mv[n++], skeleton); 1092s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1092s # g_value_set_object (¶mv[n++], invocation); 1092s # if (info->pass_fdlist) 1092s # { 1092s # #ifdef G_OS_UNIX 1092s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1092s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1092s # #else 1092s # g_assert_not_reached (); 1092s # #endif 1092s # } 1092s # g_variant_iter_init (&iter, parameters); 1092s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1092s # { 1092s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1092s # if (arg_info->use_gvariant) 1092s # { 1092s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1092s # g_value_set_variant (¶mv[n], child); 1092s # n++; 1092s # } 1092s # else 1092s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1092s # g_variant_unref (child); 1092s # } 1092s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1092s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1092s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1092s # if (!g_value_get_boolean (&return_value)) 1092s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1092s # g_value_unset (&return_value); 1092s # for (n = 0; n < num_params + num_extra; n++) 1092s # g_value_unset (¶mv[n]); 1092s # g_free (paramv); 1092s # } 1092s # 1092s # static GVariant * 1092s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # GVariant *ret; 1092s # ret = NULL; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # g_value_init (&value, pspec->value_type); 1092s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1092s # g_value_unset (&value); 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static gboolean 1092s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1092s # GDBusConnection *connection G_GNUC_UNUSED, 1092s # const gchar *sender G_GNUC_UNUSED, 1092s # const gchar *object_path G_GNUC_UNUSED, 1092s # const gchar *interface_name G_GNUC_UNUSED, 1092s # const gchar *property_name, 1092s # GVariant *variant, 1092s # GError **error, 1092s # gpointer user_data) 1092s # { 1092s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1092s # GValue value = G_VALUE_INIT; 1092s # GParamSpec *pspec; 1092s # _ExtendedGDBusPropertyInfo *info; 1092s # gboolean ret; 1092s # ret = FALSE; 1092s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1092s # g_assert (info != NULL); 1092s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1092s # if (pspec == NULL) 1092s # { 1092s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1092s # } 1092s # else 1092s # { 1092s # if (info->use_gvariant) 1092s # g_value_set_variant (&value, variant); 1092s # else 1092s # g_dbus_gvariant_to_gvalue (variant, &value); 1092s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1092s # g_value_unset (&value); 1092s # ret = TRUE; 1092s # } 1092s # return ret; 1092s # } 1092s # 1092s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1092s # { 1092s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1092s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1092s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1092s # {NULL} 1092s # }; 1092s # 1092s # static GDBusInterfaceInfo * 1092s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return org_project_other_signaling_iface_interface_info (); 1092s # } 1092s # 1092s # static GDBusInterfaceVTable * 1092s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1092s # { 1092s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1092s # } 1092s # 1092s # static GVariant * 1092s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1092s # { 1092s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1092s # 1092s # GVariantBuilder builder; 1092s # guint n; 1092s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1092s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1092s # goto out; 1092s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1092s # { 1092s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1092s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1092s # { 1092s # GVariant *value; 1092s # 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); 1092s # if (value != NULL) 1092s # { 1092s # g_variant_take_ref (value); 1092s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1092s # g_variant_unref (value); 1092s # } 1092s # } 1092s # } 1092s # out: 1092s # return g_variant_builder_end (&builder); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1092s # { 1092s # } 1092s # 1092s # static void 1092s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1092s # OrgProjectOtherSignalingIface *object) 1092s # { 1092s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1092s # 1092s # GList *connections, *l; 1092s # GVariant *signal_variant; 1092s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1092s # 1092s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1092s # for (l = connections; l != NULL; l = l->next) 1092s # { 1092s # GDBusConnection *connection = l->data; 1092s # g_dbus_connection_emit_signal (connection, 1092s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1092s # signal_variant, NULL); 1092s # } 1092s # g_variant_unref (signal_variant); 1092s # g_list_free_full (connections, g_object_unref); 1092s # } 1092s # 1092s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1092s # 1092s # #else 1092s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1092s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1092s # 1092s # #endif 1092s # static void 1092s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1092s # { 1092s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1092s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1092s # if (skeleton->priv->changed_properties_idle_source != NULL) 1092s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1092s # g_main_context_unref (skeleton->priv->context); 1092s # g_mutex_clear (&skeleton->priv->lock); 1092s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1092s # { 1092s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1092s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1092s # #else 1092s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1092s # #endif 1092s # 1092s # g_mutex_init (&skeleton->priv->lock); 1092s # skeleton->priv->context = g_main_context_ref_thread_default (); 1092s # } 1092s # 1092s # static void 1092s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1092s # { 1092s # GObjectClass *gobject_class; 1092s # GDBusInterfaceSkeletonClass *skeleton_class; 1092s # 1092s # gobject_class = G_OBJECT_CLASS (klass); 1092s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1092s # 1092s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1092s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1092s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1092s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1092s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1092s # 1092s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1092s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1092s # #endif 1092s # } 1092s # 1092s # static void 1092s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1092s # { 1092s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1092s # } 1092s # 1092s # /** 1092s # * org_project_other_signaling_iface_skeleton_new: 1092s # * 1092s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1092s # * 1092s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1092s # */ 1092s # OrgProjectOtherSignalingIface * 1092s # org_project_other_signaling_iface_skeleton_new (void) 1092s # { 1092s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1092s # } 1093s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1093s # tmpdir: /tmp/tmp_zec5luz 1093s # codegen: /usr/bin/gdbus-codegen 1093s # /tmp/tmp_zec5luz/tmp3xqf9zv6.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmp3xqf9zv6.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_b", 1093s # (gchar *) "b", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalB", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-b" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-b: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_b: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1093s # g_signal_new ("single-arg-signal-b", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_BOOLEAN); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_b: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_b: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalB" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_b ( 1093s # OrgProjectSignalingIface *object, 1093s # gboolean arg_arg_b) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1093s # OrgProjectSignalingIface *object, 1093s # gboolean arg_arg_b) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1093s # arg_arg_b)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmpwk36dtlg.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmpwk36dtlg.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_y", 1093s # (gchar *) "y", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalY", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-y" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__UCHAR (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-y: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_y: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1093s # g_signal_new ("single-arg-signal-y", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_UCHAR); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_y: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_y: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalY" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_y ( 1093s # OrgProjectSignalingIface *object, 1093s # guchar arg_arg_y) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1093s # OrgProjectSignalingIface *object, 1093s # guchar arg_arg_y) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1093s # arg_arg_y)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmpcpxq8pt_.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmpcpxq8pt_.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_n", 1093s # (gchar *) "n", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalN", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-n" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__INT (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-n: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_n: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1093s # g_signal_new ("single-arg-signal-n", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_INT); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_n: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_n: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalN" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_n ( 1093s # OrgProjectSignalingIface *object, 1093s # gint16 arg_arg_n) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1093s # OrgProjectSignalingIface *object, 1093s # gint16 arg_arg_n) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1093s # arg_arg_n)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmpvf2m2aup.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmpvf2m2aup.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_q", 1093s # (gchar *) "q", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalQ", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-q" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__UINT (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-q: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_q: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1093s # g_signal_new ("single-arg-signal-q", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_UINT); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_q: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_q: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalQ" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_q ( 1093s # OrgProjectSignalingIface *object, 1093s # guint16 arg_arg_q) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1093s # OrgProjectSignalingIface *object, 1093s # guint16 arg_arg_q) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1093s # arg_arg_q)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmpabbnusrr.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmpabbnusrr.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_i", 1093s # (gchar *) "i", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalI", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-i" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__INT (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-i: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_i: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1093s # g_signal_new ("single-arg-signal-i", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_INT); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_i: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_i: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalI" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_i ( 1093s # OrgProjectSignalingIface *object, 1093s # gint arg_arg_i) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1093s # OrgProjectSignalingIface *object, 1093s # gint arg_arg_i) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1093s # arg_arg_i)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmplxy84i0z.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmplxy84i0z.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_u", 1093s # (gchar *) "u", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalU", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-u" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__UINT (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-u: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_u: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1093s # g_signal_new ("single-arg-signal-u", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_UINT); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_u: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_u: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalU" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_u ( 1093s # OrgProjectSignalingIface *object, 1093s # guint arg_arg_u) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1093s # OrgProjectSignalingIface *object, 1093s # guint arg_arg_u) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1093s # arg_arg_u)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmp9rqwfft7.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmp9rqwfft7.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static void 1093s # _g_dbus_codegen_marshal_VOID__INT64 ( 1093s # GClosure *closure, 1093s # GValue *return_value G_GNUC_UNUSED, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint G_GNUC_UNUSED, 1093s # void *marshal_data) 1093s # { 1093s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1093s # (void *data1, 1093s # gint64 arg_arg_x, 1093s # void *data2); 1093s # _GDbusCodegenMarshalVoid_Int64Func callback; 1093s # GCClosure *cc = (GCClosure*) closure; 1093s # void *data1, *data2; 1093s # 1093s # g_return_if_fail (n_param_values == 2); 1093s # 1093s # if (G_CCLOSURE_SWAP_DATA (closure)) 1093s # { 1093s # data1 = closure->data; 1093s # data2 = g_value_peek_pointer (param_values + 0); 1093s # } 1093s # else 1093s # { 1093s # data1 = g_value_peek_pointer (param_values + 0); 1093s # data2 = closure->data; 1093s # } 1093s # 1093s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1093s # (marshal_data ? marshal_data : cc->callback); 1093s # 1093s # callback (data1, 1093s # g_marshal_value_peek_int64 (param_values + 1), 1093s # data2); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_x", 1093s # (gchar *) "x", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalX", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-x" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-x: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_x: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1093s # g_signal_new ("single-arg-signal-x", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_INT64); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_x: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_x: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalX" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_x ( 1093s # OrgProjectSignalingIface *object, 1093s # gint64 arg_arg_x) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1093s # OrgProjectSignalingIface *object, 1093s # gint64 arg_arg_x) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1093s # arg_arg_x)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmpfko45awv.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmpfko45awv.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static void 1093s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1093s # GClosure *closure, 1093s # GValue *return_value G_GNUC_UNUSED, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint G_GNUC_UNUSED, 1093s # void *marshal_data) 1093s # { 1093s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1093s # (void *data1, 1093s # guint64 arg_arg_t, 1093s # void *data2); 1093s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1093s # GCClosure *cc = (GCClosure*) closure; 1093s # void *data1, *data2; 1093s # 1093s # g_return_if_fail (n_param_values == 2); 1093s # 1093s # if (G_CCLOSURE_SWAP_DATA (closure)) 1093s # { 1093s # data1 = closure->data; 1093s # data2 = g_value_peek_pointer (param_values + 0); 1093s # } 1093s # else 1093s # { 1093s # data1 = g_value_peek_pointer (param_values + 0); 1093s # data2 = closure->data; 1093s # } 1093s # 1093s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1093s # (marshal_data ? marshal_data : cc->callback); 1093s # 1093s # callback (data1, 1093s # g_marshal_value_peek_uint64 (param_values + 1), 1093s # data2); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_t", 1093s # (gchar *) "t", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalT", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-t" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-t: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_t: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1093s # g_signal_new ("single-arg-signal-t", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_UINT64); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_t: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_t: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalT" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_t ( 1093s # OrgProjectSignalingIface *object, 1093s # guint64 arg_arg_t) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1093s # OrgProjectSignalingIface *object, 1093s # guint64 arg_arg_t) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1093s # arg_arg_t)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmpyscepbns.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmpyscepbns.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_d", 1093s # (gchar *) "d", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalD", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-d" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__DOUBLE (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-d: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_d: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1093s # g_signal_new ("single-arg-signal-d", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_DOUBLE); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_d: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_d: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalD" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_d ( 1093s # OrgProjectSignalingIface *object, 1093s # gdouble arg_arg_d) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1093s # OrgProjectSignalingIface *object, 1093s # gdouble arg_arg_d) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1093s # arg_arg_d)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmpfa_rvdho.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmpfa_rvdho.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_s", 1093s # (gchar *) "s", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalS", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-s" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__STRING (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-s: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_s: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1093s # g_signal_new ("single-arg-signal-s", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_STRING); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_s: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_s: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalS" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_s ( 1093s # OrgProjectSignalingIface *object, 1093s # const gchar *arg_arg_s) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1093s # OrgProjectSignalingIface *object, 1093s # const gchar *arg_arg_s) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1093s # arg_arg_s)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmpcu_gh0ug.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmpcu_gh0ug.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_o", 1093s # (gchar *) "o", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalO", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-o" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__STRING (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-o: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_o: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1093s # g_signal_new ("single-arg-signal-o", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_STRING); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_o: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_o: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalO" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_o ( 1093s # OrgProjectSignalingIface *object, 1093s # const gchar *arg_arg_o) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1093s # OrgProjectSignalingIface *object, 1093s # const gchar *arg_arg_o) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1093s # arg_arg_o)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmp75ffo9_x.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmp75ffo9_x.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_g", 1093s # (gchar *) "g", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalG", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-g" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__STRING (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-g: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_g: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1093s # g_signal_new ("single-arg-signal-g", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_STRING); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_g: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_g: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalG" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_g ( 1093s # OrgProjectSignalingIface *object, 1093s # const gchar *arg_arg_g) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1093s # OrgProjectSignalingIface *object, 1093s # const gchar *arg_arg_g) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1093s # arg_arg_g)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmp7v6bqqhu.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmp7v6bqqhu.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_h", 1093s # (gchar *) "h", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalH", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-h" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VARIANT (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-h: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_h: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1093s # g_signal_new ("single-arg-signal-h", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_VARIANT); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_h: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_h: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalH" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_h ( 1093s # OrgProjectSignalingIface *object, 1093s # GVariant *arg_arg_h) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1093s # OrgProjectSignalingIface *object, 1093s # GVariant *arg_arg_h) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1093s # arg_arg_h)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmp3ku58q3w.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmp3ku58q3w.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_ay", 1093s # (gchar *) "ay", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalAy", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-ay" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__STRING (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-ay: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_ay: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1093s # g_signal_new ("single-arg-signal-ay", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_STRING); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_ay: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalAy" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1093s # OrgProjectSignalingIface *object, 1093s # const gchar *arg_arg_ay) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1093s # OrgProjectSignalingIface *object, 1093s # const gchar *arg_arg_ay) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1093s # arg_arg_ay)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmpyw8g7k_o.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmpyw8g7k_o.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_as", 1093s # (gchar *) "as", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalAs", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-as" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__BOXED (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-as: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_as: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1093s # g_signal_new ("single-arg-signal-as", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_STRV); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_as: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_as: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalAs" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_as ( 1093s # OrgProjectSignalingIface *object, 1093s # const gchar *const *arg_arg_as) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1093s # OrgProjectSignalingIface *object, 1093s # const gchar *const *arg_arg_as) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1093s # arg_arg_as)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmpfmuxosm0.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmpfmuxosm0.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_ao", 1093s # (gchar *) "ao", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalAo", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-ao" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__BOXED (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-ao: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_ao: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1093s # g_signal_new ("single-arg-signal-ao", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_STRV); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_ao: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalAo" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1093s # OrgProjectSignalingIface *object, 1093s # const gchar *const *arg_arg_ao) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1093s # OrgProjectSignalingIface *object, 1093s # const gchar *const *arg_arg_ao) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1093s # arg_arg_ao)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmpl__r8gti.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmpl__r8gti.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_aay", 1093s # (gchar *) "aay", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalAay", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-aay" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__BOXED (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-aay: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_aay: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1093s # g_signal_new ("single-arg-signal-aay", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_STRV); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_aay: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalAay" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1093s # OrgProjectSignalingIface *object, 1093s # const gchar *const *arg_arg_aay) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1093s # OrgProjectSignalingIface *object, 1093s # const gchar *const *arg_arg_aay) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1093s # arg_arg_aay)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s # /tmp/tmp_zec5luz/tmpz6k7mkye.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zec5luz/tmpz6k7mkye.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "arg_asv", 1093s # (gchar *) "a{sv}", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SingleArgSignalAsv", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "single-arg-signal-asv" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VARIANT (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::single-arg-signal-asv: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_asv: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1093s # g_signal_new ("single-arg-signal-asv", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1093s # G_TYPE_NONE, 1093s # 1, G_TYPE_VARIANT); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_arg_asv: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1093s # OrgProjectSignalingIface *object, 1093s # GVariant *arg_arg_asv) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1093s # OrgProjectSignalingIface *object, 1093s # GVariant *arg_arg_asv) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1093s # arg_arg_asv)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1093s # tmpdir: /tmp/tmpovv8fxs7 1093s # codegen: /usr/bin/gdbus-codegen 1093s # /tmp/tmpovv8fxs7/tmpgenskh5n.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpovv8fxs7/tmpgenskh5n.xml', '--output', '-', '--body'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifdef HAVE_CONFIG_H 1093s # # include "config.h" 1093s # #endif 1093s # 1093s # #include 1093s # #ifdef G_OS_UNIX 1093s # # include 1093s # #endif 1093s # 1093s # #ifdef G_ENABLE_DEBUG 1093s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1093s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1093s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1093s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1093s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1093s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1093s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1093s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1093s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1093s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1093s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1093s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1093s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1093s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1093s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1093s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1093s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1093s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1093s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1093s # #else /* !G_ENABLE_DEBUG */ 1093s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1093s # * Do not access GValues directly in your code. Instead, use the 1093s # * g_value_get_*() functions 1093s # */ 1093s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1093s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1093s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1093s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1093s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1093s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1093s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1093s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1093s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1093s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1093s # #endif /* !G_ENABLE_DEBUG */ 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusArgInfo parent_struct; 1093s # gboolean use_gvariant; 1093s # } _ExtendedGDBusArgInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusMethodInfo parent_struct; 1093s # const gchar *signal_name; 1093s # gboolean pass_fdlist; 1093s # } _ExtendedGDBusMethodInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusSignalInfo parent_struct; 1093s # const gchar *signal_name; 1093s # } _ExtendedGDBusSignalInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusPropertyInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # guint use_gvariant : 1; 1093s # guint emits_changed_signal : 1; 1093s # } _ExtendedGDBusPropertyInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # GDBusInterfaceInfo parent_struct; 1093s # const gchar *hyphen_name; 1093s # } _ExtendedGDBusInterfaceInfo; 1093s # 1093s # typedef struct 1093s # { 1093s # const _ExtendedGDBusPropertyInfo *info; 1093s # guint prop_id; 1093s # GValue orig_value; /* the value before the change */ 1093s # } ChangedProperty; 1093s # 1093s # static void 1093s # _changed_property_free (ChangedProperty *data) 1093s # { 1093s # g_value_unset (&data->orig_value); 1093s # g_free (data); 1093s # } 1093s # 1093s # static gboolean 1093s # _g_strv_equal0 (gchar **a, gchar **b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # guint n; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # if (g_strv_length (a) != g_strv_length (b)) 1093s # goto out; 1093s # for (n = 0; a[n] != NULL; n++) 1093s # if (g_strcmp0 (a[n], b[n]) != 0) 1093s # goto out; 1093s # ret = TRUE; 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _g_variant_equal0 (GVariant *a, GVariant *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # if (a == NULL && b == NULL) 1093s # { 1093s # ret = TRUE; 1093s # goto out; 1093s # } 1093s # if (a == NULL || b == NULL) 1093s # goto out; 1093s # ret = g_variant_equal (a, b); 1093s # out: 1093s # return ret; 1093s # } 1093s # 1093s # G_GNUC_UNUSED static gboolean 1093s # _g_value_equal (const GValue *a, const GValue *b) 1093s # { 1093s # gboolean ret = FALSE; 1093s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1093s # switch (G_VALUE_TYPE (a)) 1093s # { 1093s # case G_TYPE_BOOLEAN: 1093s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1093s # break; 1093s # case G_TYPE_UCHAR: 1093s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1093s # break; 1093s # case G_TYPE_INT: 1093s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1093s # break; 1093s # case G_TYPE_UINT: 1093s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1093s # break; 1093s # case G_TYPE_INT64: 1093s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1093s # break; 1093s # case G_TYPE_UINT64: 1093s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1093s # break; 1093s # case G_TYPE_DOUBLE: 1093s # { 1093s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1093s # gdouble da = g_value_get_double (a); 1093s # gdouble db = g_value_get_double (b); 1093s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1093s # } 1093s # break; 1093s # case G_TYPE_STRING: 1093s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1093s # break; 1093s # case G_TYPE_VARIANT: 1093s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1093s # break; 1093s # default: 1093s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1093s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1093s # else 1093s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1093s # break; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static void 1093s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1093s # GClosure *closure, 1093s # GValue *return_value G_GNUC_UNUSED, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint G_GNUC_UNUSED, 1093s # void *marshal_data) 1093s # { 1093s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1093s # (void *data1, 1093s # gboolean arg_an_b, 1093s # guchar arg_an_y, 1093s # gint16 arg_an_n, 1093s # guint16 arg_an_q, 1093s # gint arg_an_i, 1093s # guint arg_an_u, 1093s # gint64 arg_an_x, 1093s # guint64 arg_an_t, 1093s # gdouble arg_an_d, 1093s # const gchar *arg_an_s, 1093s # const gchar *arg_an_o, 1093s # const gchar *arg_an_g, 1093s # GVariant *arg_an_h, 1093s # const gchar *arg_an_ay, 1093s # const gchar *const *arg_an_as, 1093s # const gchar *const *arg_an_ao, 1093s # const gchar *const *arg_an_aay, 1093s # GVariant *arg_an_asv, 1093s # void *data2); 1093s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1093s # GCClosure *cc = (GCClosure*) closure; 1093s # void *data1, *data2; 1093s # 1093s # g_return_if_fail (n_param_values == 19); 1093s # 1093s # if (G_CCLOSURE_SWAP_DATA (closure)) 1093s # { 1093s # data1 = closure->data; 1093s # data2 = g_value_peek_pointer (param_values + 0); 1093s # } 1093s # else 1093s # { 1093s # data1 = g_value_peek_pointer (param_values + 0); 1093s # data2 = closure->data; 1093s # } 1093s # 1093s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1093s # (marshal_data ? marshal_data : cc->callback); 1093s # 1093s # callback (data1, 1093s # g_marshal_value_peek_boolean (param_values + 1), 1093s # g_marshal_value_peek_uchar (param_values + 2), 1093s # g_marshal_value_peek_int (param_values + 3), 1093s # g_marshal_value_peek_uint (param_values + 4), 1093s # g_marshal_value_peek_int (param_values + 5), 1093s # g_marshal_value_peek_uint (param_values + 6), 1093s # g_marshal_value_peek_int64 (param_values + 7), 1093s # g_marshal_value_peek_uint64 (param_values + 8), 1093s # g_marshal_value_peek_double (param_values + 9), 1093s # g_marshal_value_peek_string (param_values + 10), 1093s # g_marshal_value_peek_string (param_values + 11), 1093s # g_marshal_value_peek_string (param_values + 12), 1093s # g_marshal_value_peek_variant (param_values + 13), 1093s # g_marshal_value_peek_string (param_values + 14), 1093s # g_marshal_value_peek_boxed (param_values + 15), 1093s # g_marshal_value_peek_boxed (param_values + 16), 1093s # g_marshal_value_peek_boxed (param_values + 17), 1093s # g_marshal_value_peek_variant (param_values + 18), 1093s # data2); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ 1093s # * Code for interface org.project.SignalingIface 1093s # * ------------------------------------------------------------------------ 1093s # */ 1093s # 1093s # /** 1093s # * SECTION:OrgProjectSignalingIface 1093s # * @title: OrgProjectSignalingIface 1093s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1093s # * 1093s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1093s # */ 1093s # 1093s # enum 1093s # { 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1093s # }; 1093s # 1093s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1093s # 1093s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SimpleSignal", 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "simple-signal" 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_b", 1093s # (gchar *) "b", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_y", 1093s # (gchar *) "y", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_n", 1093s # (gchar *) "n", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_q", 1093s # (gchar *) "q", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_i", 1093s # (gchar *) "i", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_u", 1093s # (gchar *) "u", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_x", 1093s # (gchar *) "x", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_t", 1093s # (gchar *) "t", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_d", 1093s # (gchar *) "d", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_s", 1093s # (gchar *) "s", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_o", 1093s # (gchar *) "o", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_g", 1093s # (gchar *) "g", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_h", 1093s # (gchar *) "h", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_ay", 1093s # (gchar *) "ay", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_as", 1093s # (gchar *) "as", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_ao", 1093s # (gchar *) "ao", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_aay", 1093s # (gchar *) "aay", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "an_asv", 1093s # (gchar *) "a{sv}", 1093s # NULL 1093s # }, 1093s # FALSE 1093s # }; 1093s # 1093s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "SignalWithManyArgs", 1093s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1093s # NULL 1093s # }, 1093s # "signal-with-many-args" 1093s # }; 1093s # 1093s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1093s # { 1093s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1093s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1093s # NULL 1093s # }; 1093s # 1093s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1093s # { 1093s # { 1093s # -1, 1093s # (gchar *) "org.project.SignalingIface", 1093s # NULL, 1093s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1093s # NULL, 1093s # NULL 1093s # }, 1093s # "org-project-signaling-iface", 1093s # }; 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_interface_info: 1093s # * 1093s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1093s # * 1093s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1093s # */ 1093s # GDBusInterfaceInfo * 1093s # org_project_signaling_iface_interface_info (void) 1093s # { 1093s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_override_properties: 1093s # * @klass: The class structure for a #GObject derived class. 1093s # * @property_id_begin: The property id to assign to the first overridden property. 1093s # * 1093s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1093s # * The properties are overridden in the order they are defined. 1093s # * 1093s # * Returns: The last property id. 1093s # */ 1093s # guint 1093s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1093s # { 1093s # return property_id_begin - 1; 1093s # } 1093s # 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_simple_signal ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # g_cclosure_marshal_VOID__VOID (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # inline static void 1093s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1093s # GClosure *closure, 1093s # GValue *return_value, 1093s # unsigned int n_param_values, 1093s # const GValue *param_values, 1093s # void *invocation_hint, 1093s # void *marshal_data) 1093s # { 1093s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1093s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1093s # } 1093s # 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface: 1093s # * 1093s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceIface: 1093s # * @parent_iface: The parent interface. 1093s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1093s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1093s # * 1093s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1093s # */ 1093s # 1093s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1093s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1093s # 1093s # static void 1093s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # /* GObject signals for received D-Bus signals: */ 1093s # /** 1093s # * OrgProjectSignalingIface::simple-signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1093s # g_signal_new ("simple-signal", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_simple_signal, 1093s # G_TYPE_NONE, 1093s # 0); 1093s # 1093s # /** 1093s # * OrgProjectSignalingIface::signal-with-many-args: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_an_b: Argument. 1093s # * @arg_an_y: Argument. 1093s # * @arg_an_n: Argument. 1093s # * @arg_an_q: Argument. 1093s # * @arg_an_i: Argument. 1093s # * @arg_an_u: Argument. 1093s # * @arg_an_x: Argument. 1093s # * @arg_an_t: Argument. 1093s # * @arg_an_d: Argument. 1093s # * @arg_an_s: Argument. 1093s # * @arg_an_o: Argument. 1093s # * @arg_an_g: Argument. 1093s # * @arg_an_h: Argument. 1093s # * @arg_an_ay: Argument. 1093s # * @arg_an_as: Argument. 1093s # * @arg_an_ao: Argument. 1093s # * @arg_an_aay: Argument. 1093s # * @arg_an_asv: Argument. 1093s # * 1093s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1093s # * 1093s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1093s # */ 1093s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1093s # g_signal_new ("signal-with-many-args", 1093s # G_TYPE_FROM_INTERFACE (iface), 1093s # G_SIGNAL_RUN_LAST, 1093s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1093s # NULL, 1093s # NULL, 1093s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1093s # G_TYPE_NONE, 1093s # 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); 1093s # 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_simple_signal: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * 1093s # * Emits the "SimpleSignal" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_emit_signal_with_many_args: 1093s # * @object: A #OrgProjectSignalingIface. 1093s # * @arg_an_b: Argument to pass with the signal. 1093s # * @arg_an_y: Argument to pass with the signal. 1093s # * @arg_an_n: Argument to pass with the signal. 1093s # * @arg_an_q: Argument to pass with the signal. 1093s # * @arg_an_i: Argument to pass with the signal. 1093s # * @arg_an_u: Argument to pass with the signal. 1093s # * @arg_an_x: Argument to pass with the signal. 1093s # * @arg_an_t: Argument to pass with the signal. 1093s # * @arg_an_d: Argument to pass with the signal. 1093s # * @arg_an_s: Argument to pass with the signal. 1093s # * @arg_an_o: Argument to pass with the signal. 1093s # * @arg_an_g: Argument to pass with the signal. 1093s # * @arg_an_h: Argument to pass with the signal. 1093s # * @arg_an_ay: Argument to pass with the signal. 1093s # * @arg_an_as: Argument to pass with the signal. 1093s # * @arg_an_ao: Argument to pass with the signal. 1093s # * @arg_an_aay: Argument to pass with the signal. 1093s # * @arg_an_asv: Argument to pass with the signal. 1093s # * 1093s # * Emits the "SignalWithManyArgs" D-Bus signal. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_emit_signal_with_many_args ( 1093s # OrgProjectSignalingIface *object, 1093s # gboolean arg_an_b, 1093s # guchar arg_an_y, 1093s # gint16 arg_an_n, 1093s # guint16 arg_an_q, 1093s # gint arg_an_i, 1093s # guint arg_an_u, 1093s # gint64 arg_an_x, 1093s # guint64 arg_an_t, 1093s # gdouble arg_an_d, 1093s # const gchar *arg_an_s, 1093s # const gchar *arg_an_o, 1093s # const gchar *arg_an_g, 1093s # GVariant *arg_an_h, 1093s # const gchar *arg_an_ay, 1093s # const gchar *const *arg_an_as, 1093s # const gchar *const *arg_an_ao, 1093s # const gchar *const *arg_an_aay, 1093s # GVariant *arg_an_asv) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxy: 1093s # * 1093s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceProxyClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceProxy. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceProxyPrivate 1093s # { 1093s # GData *qdata; 1093s # }; 1093s # 1093s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_proxy_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1093s # g_datalist_clear (&proxy->priv->qdata); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1093s # guint prop_id G_GNUC_UNUSED, 1093s # const GValue *value G_GNUC_UNUSED, 1093s # GParamSpec *pspec G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1093s # const gchar *sender_name G_GNUC_UNUSED, 1093s # const gchar *signal_name, 1093s # GVariant *parameters) 1093s # { 1093s # _ExtendedGDBusSignalInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # gsize n; 1093s # guint signal_id; 1093s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1093s # if (info == NULL) 1093s # return; 1093s # num_params = g_variant_n_children (parameters); 1093s # paramv = g_new0 (GValue, num_params + 1); 1093s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[0], proxy); 1093s # g_variant_iter_init (&iter, parameters); 1093s # n = 1; 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_signal_emitv (paramv, signal_id, 0, NULL); 1093s # for (n = 0; n < num_params + 1; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1093s # GVariant *changed_properties, 1093s # const gchar *const *invalidated_properties) 1093s # { 1093s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1093s # guint n; 1093s # const gchar *key; 1093s # GVariantIter *iter; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # g_variant_get (changed_properties, "a{sv}", &iter); 1093s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1093s # g_datalist_remove_data (&proxy->priv->qdata, key); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # g_variant_iter_free (iter); 1093s # for (n = 0; invalidated_properties[n] != NULL; n++) 1093s # { 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1093s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1093s # if (info != NULL) 1093s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1093s # } 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1093s # #else 1093s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1093s # #endif 1093s # 1093s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusProxyClass *proxy_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1093s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1093s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1093s # 1093s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1093s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1093s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_sync: 1093s # * @connection: A #GDBusConnection. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_sync ( 1093s # GDBusConnection *connection, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1093s # * @user_data: User data to pass to @callback. 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1093s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1093s # */ 1093s # void 1093s # org_project_signaling_iface_proxy_new_for_bus ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GAsyncReadyCallback callback, 1093s # gpointer user_data) 1093s # { 1093s # 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); 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1093s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1093s # GAsyncResult *res, 1093s # GError **error) 1093s # { 1093s # GObject *ret; 1093s # GObject *source_object; 1093s # source_object = g_async_result_get_source_object (res); 1093s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1093s # g_object_unref (source_object); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1093s # * @bus_type: A #GBusType. 1093s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1093s # * @name: A bus name (well-known or unique). 1093s # * @object_path: An object path. 1093s # * @cancellable: (nullable): A #GCancellable or %NULL. 1093s # * @error: Return location for error or %NULL 1093s # * 1093s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1093s # * 1093s # * The calling thread is blocked until a reply is received. 1093s # * 1093s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1093s # GBusType bus_type, 1093s # GDBusProxyFlags flags, 1093s # const gchar *name, 1093s # const gchar *object_path, 1093s # GCancellable *cancellable, 1093s # GError **error) 1093s # { 1093s # GInitable *ret; 1093s # 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); 1093s # if (ret != NULL) 1093s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1093s # else 1093s # return NULL; 1093s # } 1093s # 1093s # 1093s # /* ------------------------------------------------------------------------ */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeleton: 1093s # * 1093s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1093s # */ 1093s # 1093s # /** 1093s # * OrgProjectSignalingIfaceSkeletonClass: 1093s # * @parent_class: The parent class. 1093s # * 1093s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1093s # */ 1093s # 1093s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1093s # { 1093s # GValue *properties; 1093s # GList *changed_properties; 1093s # GSource *changed_properties_idle_source; 1093s # GMainContext *context; 1093s # GMutex lock; 1093s # }; 1093s # 1093s # static void 1093s # _org_project_signaling_iface_skeleton_handle_method_call ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name, 1093s # const gchar *method_name, 1093s # GVariant *parameters, 1093s # GDBusMethodInvocation *invocation, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # _ExtendedGDBusMethodInfo *info; 1093s # GVariantIter iter; 1093s # GVariant *child; 1093s # GValue *paramv; 1093s # gsize num_params; 1093s # guint num_extra; 1093s # gsize n; 1093s # guint signal_id; 1093s # GValue return_value = G_VALUE_INIT; 1093s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1093s # g_assert (info != NULL); 1093s # num_params = g_variant_n_children (parameters); 1093s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1093s # n = 0; 1093s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_set_object (¶mv[n++], skeleton); 1093s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1093s # g_value_set_object (¶mv[n++], invocation); 1093s # if (info->pass_fdlist) 1093s # { 1093s # #ifdef G_OS_UNIX 1093s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1093s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1093s # #else 1093s # g_assert_not_reached (); 1093s # #endif 1093s # } 1093s # g_variant_iter_init (&iter, parameters); 1093s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1093s # { 1093s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1093s # if (arg_info->use_gvariant) 1093s # { 1093s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1093s # g_value_set_variant (¶mv[n], child); 1093s # n++; 1093s # } 1093s # else 1093s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1093s # g_variant_unref (child); 1093s # } 1093s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1093s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1093s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1093s # if (!g_value_get_boolean (&return_value)) 1093s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1093s # g_value_unset (&return_value); 1093s # for (n = 0; n < num_params + num_extra; n++) 1093s # g_value_unset (¶mv[n]); 1093s # g_free (paramv); 1093s # } 1093s # 1093s # static GVariant * 1093s # _org_project_signaling_iface_skeleton_handle_get_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # GVariant *ret; 1093s # ret = NULL; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # g_value_init (&value, pspec->value_type); 1093s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1093s # g_value_unset (&value); 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static gboolean 1093s # _org_project_signaling_iface_skeleton_handle_set_property ( 1093s # GDBusConnection *connection G_GNUC_UNUSED, 1093s # const gchar *sender G_GNUC_UNUSED, 1093s # const gchar *object_path G_GNUC_UNUSED, 1093s # const gchar *interface_name G_GNUC_UNUSED, 1093s # const gchar *property_name, 1093s # GVariant *variant, 1093s # GError **error, 1093s # gpointer user_data) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1093s # GValue value = G_VALUE_INIT; 1093s # GParamSpec *pspec; 1093s # _ExtendedGDBusPropertyInfo *info; 1093s # gboolean ret; 1093s # ret = FALSE; 1093s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1093s # g_assert (info != NULL); 1093s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1093s # if (pspec == NULL) 1093s # { 1093s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1093s # } 1093s # else 1093s # { 1093s # if (info->use_gvariant) 1093s # g_value_set_variant (&value, variant); 1093s # else 1093s # g_dbus_gvariant_to_gvalue (variant, &value); 1093s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1093s # g_value_unset (&value); 1093s # ret = TRUE; 1093s # } 1093s # return ret; 1093s # } 1093s # 1093s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1093s # { 1093s # _org_project_signaling_iface_skeleton_handle_method_call, 1093s # _org_project_signaling_iface_skeleton_handle_get_property, 1093s # _org_project_signaling_iface_skeleton_handle_set_property, 1093s # {NULL} 1093s # }; 1093s # 1093s # static GDBusInterfaceInfo * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return org_project_signaling_iface_interface_info (); 1093s # } 1093s # 1093s # static GDBusInterfaceVTable * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1093s # { 1093s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1093s # } 1093s # 1093s # static GVariant * 1093s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1093s # 1093s # GVariantBuilder builder; 1093s # guint n; 1093s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1093s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1093s # goto out; 1093s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1093s # { 1093s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1093s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1093s # { 1093s # GVariant *value; 1093s # 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); 1093s # if (value != NULL) 1093s # { 1093s # g_variant_take_ref (value); 1093s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1093s # g_variant_unref (value); 1093s # } 1093s # } 1093s # } 1093s # out: 1093s # return g_variant_builder_end (&builder); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1093s # { 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_simple_signal ( 1093s # OrgProjectSignalingIface *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void 1093s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1093s # OrgProjectSignalingIface *object, 1093s # gboolean arg_an_b, 1093s # guchar arg_an_y, 1093s # gint16 arg_an_n, 1093s # guint16 arg_an_q, 1093s # gint arg_an_i, 1093s # guint arg_an_u, 1093s # gint64 arg_an_x, 1093s # guint64 arg_an_t, 1093s # gdouble arg_an_d, 1093s # const gchar *arg_an_s, 1093s # const gchar *arg_an_o, 1093s # const gchar *arg_an_g, 1093s # GVariant *arg_an_h, 1093s # const gchar *arg_an_ay, 1093s # const gchar *const *arg_an_as, 1093s # const gchar *const *arg_an_ao, 1093s # const gchar *const *arg_an_aay, 1093s # GVariant *arg_an_asv) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # 1093s # GList *connections, *l; 1093s # GVariant *signal_variant; 1093s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1093s # 1093s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1093s # arg_an_b, 1093s # arg_an_y, 1093s # arg_an_n, 1093s # arg_an_q, 1093s # arg_an_i, 1093s # arg_an_u, 1093s # arg_an_x, 1093s # arg_an_t, 1093s # arg_an_d, 1093s # arg_an_s, 1093s # arg_an_o, 1093s # arg_an_g, 1093s # arg_an_h, 1093s # arg_an_ay, 1093s # arg_an_as, 1093s # arg_an_ao, 1093s # arg_an_aay, 1093s # arg_an_asv)); 1093s # for (l = connections; l != NULL; l = l->next) 1093s # { 1093s # GDBusConnection *connection = l->data; 1093s # g_dbus_connection_emit_signal (connection, 1093s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1093s # signal_variant, NULL); 1093s # } 1093s # g_variant_unref (signal_variant); 1093s # g_list_free_full (connections, g_object_unref); 1093s # } 1093s # 1093s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #else 1093s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1093s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1093s # 1093s # #endif 1093s # static void 1093s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1093s # { 1093s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1093s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1093s # if (skeleton->priv->changed_properties_idle_source != NULL) 1093s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1093s # g_main_context_unref (skeleton->priv->context); 1093s # g_mutex_clear (&skeleton->priv->lock); 1093s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1093s # { 1093s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1093s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1093s # #else 1093s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1093s # #endif 1093s # 1093s # g_mutex_init (&skeleton->priv->lock); 1093s # skeleton->priv->context = g_main_context_ref_thread_default (); 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1093s # { 1093s # GObjectClass *gobject_class; 1093s # GDBusInterfaceSkeletonClass *skeleton_class; 1093s # 1093s # gobject_class = G_OBJECT_CLASS (klass); 1093s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1093s # 1093s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1093s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1093s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1093s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1093s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1093s # 1093s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1093s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1093s # #endif 1093s # } 1093s # 1093s # static void 1093s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1093s # { 1093s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1093s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1093s # } 1093s # 1093s # /** 1093s # * org_project_signaling_iface_skeleton_new: 1093s # * 1093s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1093s # * 1093s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1093s # */ 1093s # OrgProjectSignalingIface * 1093s # org_project_signaling_iface_skeleton_new (void) 1093s # { 1093s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1093s # } 1093s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1093s # tmpdir: /tmp/tmpc2z_jcgq 1093s # codegen: /usr/bin/gdbus-codegen 1093s # /tmp/tmpc2z_jcgq/tmpz644fqjb.xml: 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc2z_jcgq/tmpz644fqjb.xml', '--generate-docbook', 'test'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: 1093s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1093s # tmpdir: /tmp/tmph2v4nd0i 1093s # codegen: /usr/bin/gdbus-codegen 1093s # /tmp/tmph2v4nd0i/tmpq94ukn95.xml: 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph2v4nd0i/tmpq94ukn95.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1093s # tmpdir: /tmp/tmp4w0osrcc 1093s # codegen: /usr/bin/gdbus-codegen 1093s # /tmp/tmp4w0osrcc/tmpbfp847ec.xml: 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4w0osrcc/tmpbfp847ec.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifndef __STDOUT__ 1093s # #define __STDOUT__ 1093s # 1093s # #include 1093s # 1093s # G_BEGIN_DECLS 1093s # 1093s # 1093s # G_END_DECLS 1093s # 1093s # #endif /* __STDOUT__ */ 1093s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1093s # tmpdir: /tmp/tmp4h6e2w62 1093s # codegen: /usr/bin/gdbus-codegen 1093s # /tmp/tmp4h6e2w62/tmp891w5lx4.xml: 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4h6e2w62/tmp891w5lx4.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1093s # tmpdir: /tmp/tmpgl2h8rwt 1093s # codegen: /usr/bin/gdbus-codegen 1093s # /tmp/tmpgl2h8rwt/tmpgm4gehck.xml: 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgl2h8rwt/tmpgm4gehck.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifndef __STDOUT__ 1093s # #define __STDOUT__ 1093s # 1093s # #include 1093s # 1093s # G_BEGIN_DECLS 1093s # 1093s # 1093s # G_END_DECLS 1093s # 1093s # #endif /* __STDOUT__ */ 1093s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1093s # tmpdir: /tmp/tmp5f5sd8mx 1093s # codegen: /usr/bin/gdbus-codegen 1093s # /tmp/tmp5f5sd8mx/tmpxzikd0kd.xml: 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5f5sd8mx/tmpxzikd0kd.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifndef __STDOUT__ 1093s # #define __STDOUT__ 1093s # 1093s # #include 1093s # 1093s # G_BEGIN_DECLS 1093s # 1093s # 1093s # G_END_DECLS 1093s # 1093s # #endif /* __STDOUT__ */ 1093s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1093s # tmpdir: /tmp/tmp14ttusst 1093s # codegen: /usr/bin/gdbus-codegen 1093s # /tmp/tmp14ttusst/tmpu2z46g7t.xml: 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp14ttusst/tmpu2z46g7t.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1093s # tmpdir: /tmp/tmpg0crp5zx 1093s # codegen: /usr/bin/gdbus-codegen 1093s # /tmp/tmpg0crp5zx/tmpkqh75om1.xml: 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg0crp5zx/tmpkqh75om1.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifndef __STDOUT__ 1093s # #define __STDOUT__ 1093s # 1093s # #include 1093s # 1093s # G_BEGIN_DECLS 1093s # 1093s # 1093s # G_END_DECLS 1093s # 1093s # #endif /* __STDOUT__ */ 1093s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1093s # tmpdir: /tmp/tmpm0brtu4v 1093s # codegen: /usr/bin/gdbus-codegen 1093s # /tmp/tmpm0brtu4v/tmpz3lxzycd.xml: 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm0brtu4v/tmpz3lxzycd.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1093s # tmpdir: /tmp/tmptx836g5l 1093s # codegen: /usr/bin/gdbus-codegen 1093s # /tmp/tmptx836g5l/tmpuu_m2gib.xml: 1093s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptx836g5l/tmpuu_m2gib.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: /* 1093s # * This file is generated by gdbus-codegen, do not modify it. 1093s # * 1093s # * The license of this code is the same as for the D-Bus interface description 1093s # * it was derived from. Note that it links to GLib, so must comply with the 1093s # * LGPL linking clauses. 1093s # */ 1093s # 1093s # #ifndef __STDOUT__ 1093s # #define __STDOUT__ 1093s # 1093s # #include 1093s # 1093s # G_BEGIN_DECLS 1093s # 1093s # 1093s # G_END_DECLS 1093s # 1093s # #endif /* __STDOUT__ */ 1093s ok 35 __main__.TestCodegen.test_help 1093s # tmpdir: /tmp/tmp4oz76omo 1093s # codegen: /usr/bin/gdbus-codegen 1093s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1093s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1093s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1093s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1093s # [--c-generate-autocleanup {none,objects,all}] 1093s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1093s # [--generate-rst OUTFILES] [--pragma-once] 1093s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1093s # [--glib-min-required VERSION] 1093s # [--glib-max-allowed VERSION] 1093s # [--symbol-decorator SYMBOL_DECORATOR] 1093s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1093s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1093s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1093s # [--output FILE | --output-directory OUTDIR] 1093s # FILE [FILE ...] 1093s # 1093s # D-Bus code and documentation generator 1093s # 1093s # positional arguments: 1093s # FILE D-Bus introspection XML file 1093s # 1093s # options: 1093s # -h, --help show this help message and exit 1093s # --interface-prefix PREFIX 1093s # String to strip from D-Bus interface names for code 1093s # and docs 1093s # --c-namespace NAMESPACE 1093s # The namespace to use for generated C code 1093s # --c-generate-object-manager 1093s # Generate a GDBusObjectManagerClient subclass when 1093s # generating C code 1093s # --c-generate-autocleanup {none,objects,all} 1093s # Generate autocleanup support 1093s # --generate-docbook OUTFILES 1093s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1093s # --generate-md OUTFILES 1093s # Generate Markdown in OUTFILES-org.Project.IFace.md 1093s # --generate-rst OUTFILES 1093s # Generate reStructuredText in OUTFILES- 1093s # org.Project.IFace.rst 1093s # --pragma-once Use "pragma once" as the inclusion guard 1093s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1093s # Add annotation (may be used several times) 1093s # --glib-min-required VERSION 1093s # Minimum version of GLib to be supported by the 1093s # outputted code (default: 2.30) 1093s # --glib-max-allowed VERSION 1093s # Maximum version of GLib to be used by the outputted 1093s # code (default: current GLib version) 1093s # --symbol-decorator SYMBOL_DECORATOR 1093s # Macro used to decorate a symbol in the outputted 1093s # header, possibly to export symbols 1093s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1093s # Additional header required for decorator specified by 1093s # --symbol-decorator 1093s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1093s # Additional define required for decorator specified by 1093s # --symbol-decorator 1093s # --generate-c-code OUTFILES 1093s # Generate C code in OUTFILES.[ch] 1093s # --header Generate C headers 1093s # --body Generate C code 1093s # --interface-info-header 1093s # Generate GDBusInterfaceInfo C header 1093s # --interface-info-body 1093s # Generate GDBusInterfaceInfo C code 1093s # --output FILE Write output into the specified file 1093s # --output-directory OUTDIR 1093s # Location to output generated files 1093s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1093s # tmpdir: /tmp/tmp3kcsn86u 1093s # codegen: /usr/bin/gdbus-codegen 1093s # /tmp/tmp3kcsn86u/tmp4d843fvz.xml: 1093s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3kcsn86u/tmp4d843fvz.xml', '--generate-rst', 'test'] 1094s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1094s # Output: 1094s # /tmp/tmp3kcsn86u/tmpafmqxfqo.xml: 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3kcsn86u/tmpafmqxfqo.xml', '--generate-md', 'test'] 1094s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1094s # Output: 1094s # /tmp/tmp3kcsn86u/tmpfzp132v4.xml: 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3kcsn86u/tmpfzp132v4.xml', '--generate-docbook', 'test'] 1094s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1094s # Output: 1094s ok 37 __main__.TestCodegen.test_no_args 1094s # tmpdir: /tmp/tmpcznl2nsf 1094s # codegen: /usr/bin/gdbus-codegen 1094s # Running: ['/usr/bin/gdbus-codegen'] 1094s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1094s ok 38 __main__.TestCodegen.test_reproducible 1094s # tmpdir: /tmp/tmpkqcagrl6 1094s # codegen: /usr/bin/gdbus-codegen 1094s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkqcagrl6/tmp40_8jdgy1.xml', '/tmp/tmpkqcagrl6/tmpu_k9uow82.xml', '--output', '-', '--header'] 1094s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1094s # Output: /* 1094s # * This file is generated by gdbus-codegen, do not modify it. 1094s # * 1094s # * The license of this code is the same as for the D-Bus interface description 1094s # * it was derived from. Note that it links to GLib, so must comply with the 1094s # * LGPL linking clauses. 1094s # */ 1094s # 1094s # #ifndef __STDOUT__ 1094s # #define __STDOUT__ 1094s # 1094s # #include 1094s # 1094s # G_BEGIN_DECLS 1094s # 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # /* Declarations for com.acme.Coyote */ 1094s # 1094s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1094s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1094s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1094s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1094s # 1094s # struct _ComAcmeCoyote; 1094s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1094s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1094s # 1094s # struct _ComAcmeCoyoteIface 1094s # { 1094s # GTypeInterface parent_iface; 1094s # 1094s # 1094s # 1094s # gboolean (*handle_attack) ( 1094s # ComAcmeCoyote *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # gboolean (*handle_run) ( 1094s # ComAcmeCoyote *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # gboolean (*handle_sleep) ( 1094s # ComAcmeCoyote *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1094s # 1094s # void (*surprised) ( 1094s # ComAcmeCoyote *object); 1094s # 1094s # }; 1094s # 1094s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1094s # 1094s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1094s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1094s # 1094s # 1094s # /* D-Bus method call completion functions: */ 1094s # void com_acme_coyote_complete_run ( 1094s # ComAcmeCoyote *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # void com_acme_coyote_complete_sleep ( 1094s # ComAcmeCoyote *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # void com_acme_coyote_complete_attack ( 1094s # ComAcmeCoyote *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # 1094s # 1094s # /* D-Bus signal emissions functions: */ 1094s # void com_acme_coyote_emit_surprised ( 1094s # ComAcmeCoyote *object); 1094s # 1094s # 1094s # 1094s # /* D-Bus method calls: */ 1094s # void com_acme_coyote_call_run ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean com_acme_coyote_call_run_finish ( 1094s # ComAcmeCoyote *proxy, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean com_acme_coyote_call_run_sync ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void com_acme_coyote_call_sleep ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean com_acme_coyote_call_sleep_finish ( 1094s # ComAcmeCoyote *proxy, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean com_acme_coyote_call_sleep_sync ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void com_acme_coyote_call_attack ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean com_acme_coyote_call_attack_finish ( 1094s # ComAcmeCoyote *proxy, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean com_acme_coyote_call_attack_sync ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # 1094s # 1094s # /* D-Bus property accessors: */ 1094s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1094s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1094s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1094s # 1094s # 1094s # /* ---- */ 1094s # 1094s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1094s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1094s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1094s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1094s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1094s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1094s # 1094s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1094s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1094s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1094s # 1094s # struct _ComAcmeCoyoteProxy 1094s # { 1094s # /*< private >*/ 1094s # GDBusProxy parent_instance; 1094s # ComAcmeCoyoteProxyPrivate *priv; 1094s # }; 1094s # 1094s # struct _ComAcmeCoyoteProxyClass 1094s # { 1094s # GDBusProxyClass parent_class; 1094s # }; 1094s # 1094s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1094s # 1094s # #if GLIB_CHECK_VERSION(2, 44, 0) 1094s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1094s # #endif 1094s # 1094s # void com_acme_coyote_proxy_new ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void com_acme_coyote_proxy_new_for_bus ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # 1094s # /* ---- */ 1094s # 1094s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1094s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1094s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1094s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1094s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1094s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1094s # 1094s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1094s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1094s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1094s # 1094s # struct _ComAcmeCoyoteSkeleton 1094s # { 1094s # /*< private >*/ 1094s # GDBusInterfaceSkeleton parent_instance; 1094s # ComAcmeCoyoteSkeletonPrivate *priv; 1094s # }; 1094s # 1094s # struct _ComAcmeCoyoteSkeletonClass 1094s # { 1094s # GDBusInterfaceSkeletonClass parent_class; 1094s # }; 1094s # 1094s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1094s # 1094s # #if GLIB_CHECK_VERSION(2, 44, 0) 1094s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1094s # #endif 1094s # 1094s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1094s # 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # /* Declarations for org.project.Bar.Frobnicator */ 1094s # 1094s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1094s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1094s # 1094s # struct _OrgProjectBarFrobnicator; 1094s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1094s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1094s # 1094s # struct _OrgProjectBarFrobnicatorIface 1094s # { 1094s # GTypeInterface parent_iface; 1094s # 1094s # gboolean (*handle_random_method) ( 1094s # OrgProjectBarFrobnicator *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # }; 1094s # 1094s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1094s # 1094s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1094s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1094s # 1094s # 1094s # /* D-Bus method call completion functions: */ 1094s # void org_project_bar_frobnicator_complete_random_method ( 1094s # OrgProjectBarFrobnicator *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # 1094s # 1094s # /* D-Bus method calls: */ 1094s # void org_project_bar_frobnicator_call_random_method ( 1094s # OrgProjectBarFrobnicator *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1094s # OrgProjectBarFrobnicator *proxy, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1094s # OrgProjectBarFrobnicator *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # 1094s # 1094s # /* ---- */ 1094s # 1094s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1094s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1094s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1094s # 1094s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1094s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1094s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1094s # 1094s # struct _OrgProjectBarFrobnicatorProxy 1094s # { 1094s # /*< private >*/ 1094s # GDBusProxy parent_instance; 1094s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1094s # }; 1094s # 1094s # struct _OrgProjectBarFrobnicatorProxyClass 1094s # { 1094s # GDBusProxyClass parent_class; 1094s # }; 1094s # 1094s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1094s # 1094s # #if GLIB_CHECK_VERSION(2, 44, 0) 1094s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1094s # #endif 1094s # 1094s # void org_project_bar_frobnicator_proxy_new ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # 1094s # /* ---- */ 1094s # 1094s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1094s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1094s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1094s # 1094s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1094s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1094s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1094s # 1094s # struct _OrgProjectBarFrobnicatorSkeleton 1094s # { 1094s # /*< private >*/ 1094s # GDBusInterfaceSkeleton parent_instance; 1094s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1094s # }; 1094s # 1094s # struct _OrgProjectBarFrobnicatorSkeletonClass 1094s # { 1094s # GDBusInterfaceSkeletonClass parent_class; 1094s # }; 1094s # 1094s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1094s # 1094s # #if GLIB_CHECK_VERSION(2, 44, 0) 1094s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1094s # #endif 1094s # 1094s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1094s # 1094s # 1094s # G_END_DECLS 1094s # 1094s # #endif /* __STDOUT__ */ 1094s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkqcagrl6/tmpu_k9uow82.xml', '/tmp/tmpkqcagrl6/tmp40_8jdgy1.xml', '--output', '-', '--header'] 1094s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1094s # Output: /* 1094s # * This file is generated by gdbus-codegen, do not modify it. 1094s # * 1094s # * The license of this code is the same as for the D-Bus interface description 1094s # * it was derived from. Note that it links to GLib, so must comply with the 1094s # * LGPL linking clauses. 1094s # */ 1094s # 1094s # #ifndef __STDOUT__ 1094s # #define __STDOUT__ 1094s # 1094s # #include 1094s # 1094s # G_BEGIN_DECLS 1094s # 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # /* Declarations for com.acme.Coyote */ 1094s # 1094s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1094s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1094s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1094s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1094s # 1094s # struct _ComAcmeCoyote; 1094s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1094s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1094s # 1094s # struct _ComAcmeCoyoteIface 1094s # { 1094s # GTypeInterface parent_iface; 1094s # 1094s # 1094s # 1094s # gboolean (*handle_attack) ( 1094s # ComAcmeCoyote *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # gboolean (*handle_run) ( 1094s # ComAcmeCoyote *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # gboolean (*handle_sleep) ( 1094s # ComAcmeCoyote *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1094s # 1094s # void (*surprised) ( 1094s # ComAcmeCoyote *object); 1094s # 1094s # }; 1094s # 1094s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1094s # 1094s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1094s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1094s # 1094s # 1094s # /* D-Bus method call completion functions: */ 1094s # void com_acme_coyote_complete_run ( 1094s # ComAcmeCoyote *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # void com_acme_coyote_complete_sleep ( 1094s # ComAcmeCoyote *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # void com_acme_coyote_complete_attack ( 1094s # ComAcmeCoyote *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # 1094s # 1094s # /* D-Bus signal emissions functions: */ 1094s # void com_acme_coyote_emit_surprised ( 1094s # ComAcmeCoyote *object); 1094s # 1094s # 1094s # 1094s # /* D-Bus method calls: */ 1094s # void com_acme_coyote_call_run ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean com_acme_coyote_call_run_finish ( 1094s # ComAcmeCoyote *proxy, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean com_acme_coyote_call_run_sync ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void com_acme_coyote_call_sleep ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean com_acme_coyote_call_sleep_finish ( 1094s # ComAcmeCoyote *proxy, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean com_acme_coyote_call_sleep_sync ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void com_acme_coyote_call_attack ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean com_acme_coyote_call_attack_finish ( 1094s # ComAcmeCoyote *proxy, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean com_acme_coyote_call_attack_sync ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # 1094s # 1094s # /* D-Bus property accessors: */ 1094s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1094s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1094s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1094s # 1094s # 1094s # /* ---- */ 1094s # 1094s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1094s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1094s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1094s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1094s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1094s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1094s # 1094s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1094s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1094s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1094s # 1094s # struct _ComAcmeCoyoteProxy 1094s # { 1094s # /*< private >*/ 1094s # GDBusProxy parent_instance; 1094s # ComAcmeCoyoteProxyPrivate *priv; 1094s # }; 1094s # 1094s # struct _ComAcmeCoyoteProxyClass 1094s # { 1094s # GDBusProxyClass parent_class; 1094s # }; 1094s # 1094s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1094s # 1094s # #if GLIB_CHECK_VERSION(2, 44, 0) 1094s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1094s # #endif 1094s # 1094s # void com_acme_coyote_proxy_new ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void com_acme_coyote_proxy_new_for_bus ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # 1094s # /* ---- */ 1094s # 1094s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1094s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1094s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1094s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1094s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1094s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1094s # 1094s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1094s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1094s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1094s # 1094s # struct _ComAcmeCoyoteSkeleton 1094s # { 1094s # /*< private >*/ 1094s # GDBusInterfaceSkeleton parent_instance; 1094s # ComAcmeCoyoteSkeletonPrivate *priv; 1094s # }; 1094s # 1094s # struct _ComAcmeCoyoteSkeletonClass 1094s # { 1094s # GDBusInterfaceSkeletonClass parent_class; 1094s # }; 1094s # 1094s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1094s # 1094s # #if GLIB_CHECK_VERSION(2, 44, 0) 1094s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1094s # #endif 1094s # 1094s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1094s # 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # /* Declarations for org.project.Bar.Frobnicator */ 1094s # 1094s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1094s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1094s # 1094s # struct _OrgProjectBarFrobnicator; 1094s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1094s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1094s # 1094s # struct _OrgProjectBarFrobnicatorIface 1094s # { 1094s # GTypeInterface parent_iface; 1094s # 1094s # gboolean (*handle_random_method) ( 1094s # OrgProjectBarFrobnicator *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # }; 1094s # 1094s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1094s # 1094s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1094s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1094s # 1094s # 1094s # /* D-Bus method call completion functions: */ 1094s # void org_project_bar_frobnicator_complete_random_method ( 1094s # OrgProjectBarFrobnicator *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # 1094s # 1094s # /* D-Bus method calls: */ 1094s # void org_project_bar_frobnicator_call_random_method ( 1094s # OrgProjectBarFrobnicator *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1094s # OrgProjectBarFrobnicator *proxy, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1094s # OrgProjectBarFrobnicator *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # 1094s # 1094s # /* ---- */ 1094s # 1094s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1094s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1094s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1094s # 1094s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1094s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1094s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1094s # 1094s # struct _OrgProjectBarFrobnicatorProxy 1094s # { 1094s # /*< private >*/ 1094s # GDBusProxy parent_instance; 1094s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1094s # }; 1094s # 1094s # struct _OrgProjectBarFrobnicatorProxyClass 1094s # { 1094s # GDBusProxyClass parent_class; 1094s # }; 1094s # 1094s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1094s # 1094s # #if GLIB_CHECK_VERSION(2, 44, 0) 1094s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1094s # #endif 1094s # 1094s # void org_project_bar_frobnicator_proxy_new ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # 1094s # /* ---- */ 1094s # 1094s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1094s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1094s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1094s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1094s # 1094s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1094s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1094s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1094s # 1094s # struct _OrgProjectBarFrobnicatorSkeleton 1094s # { 1094s # /*< private >*/ 1094s # GDBusInterfaceSkeleton parent_instance; 1094s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1094s # }; 1094s # 1094s # struct _OrgProjectBarFrobnicatorSkeletonClass 1094s # { 1094s # GDBusInterfaceSkeletonClass parent_class; 1094s # }; 1094s # 1094s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1094s # 1094s # #if GLIB_CHECK_VERSION(2, 44, 0) 1094s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1094s # #endif 1094s # 1094s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1094s # 1094s # 1094s # G_END_DECLS 1094s # 1094s # #endif /* __STDOUT__ */ 1094s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkqcagrl6/tmp40_8jdgy1.xml', '/tmp/tmpkqcagrl6/tmpu_k9uow82.xml', '--output', '-', '--body'] 1094s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1094s # Output: /* 1094s # * This file is generated by gdbus-codegen, do not modify it. 1094s # * 1094s # * The license of this code is the same as for the D-Bus interface description 1094s # * it was derived from. Note that it links to GLib, so must comply with the 1094s # * LGPL linking clauses. 1094s # */ 1094s # 1094s # #ifdef HAVE_CONFIG_H 1094s # # include "config.h" 1094s # #endif 1094s # 1094s # #include 1094s # #ifdef G_OS_UNIX 1094s # # include 1094s # #endif 1094s # 1094s # #ifdef G_ENABLE_DEBUG 1094s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1094s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1094s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1094s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1094s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1094s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1094s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1094s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1094s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1094s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1094s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1094s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1094s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1094s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1094s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1094s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1094s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1094s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1094s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1094s # #else /* !G_ENABLE_DEBUG */ 1094s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1094s # * Do not access GValues directly in your code. Instead, use the 1094s # * g_value_get_*() functions 1094s # */ 1094s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1094s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1094s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1094s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1094s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1094s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1094s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1094s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1094s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1094s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1094s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1094s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1094s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1094s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1094s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1094s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1094s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1094s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1094s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1094s # #endif /* !G_ENABLE_DEBUG */ 1094s # 1094s # typedef struct 1094s # { 1094s # GDBusArgInfo parent_struct; 1094s # gboolean use_gvariant; 1094s # } _ExtendedGDBusArgInfo; 1094s # 1094s # typedef struct 1094s # { 1094s # GDBusMethodInfo parent_struct; 1094s # const gchar *signal_name; 1094s # gboolean pass_fdlist; 1094s # } _ExtendedGDBusMethodInfo; 1094s # 1094s # typedef struct 1094s # { 1094s # GDBusSignalInfo parent_struct; 1094s # const gchar *signal_name; 1094s # } _ExtendedGDBusSignalInfo; 1094s # 1094s # typedef struct 1094s # { 1094s # GDBusPropertyInfo parent_struct; 1094s # const gchar *hyphen_name; 1094s # guint use_gvariant : 1; 1094s # guint emits_changed_signal : 1; 1094s # } _ExtendedGDBusPropertyInfo; 1094s # 1094s # typedef struct 1094s # { 1094s # GDBusInterfaceInfo parent_struct; 1094s # const gchar *hyphen_name; 1094s # } _ExtendedGDBusInterfaceInfo; 1094s # 1094s # typedef struct 1094s # { 1094s # const _ExtendedGDBusPropertyInfo *info; 1094s # guint prop_id; 1094s # GValue orig_value; /* the value before the change */ 1094s # } ChangedProperty; 1094s # 1094s # static void 1094s # _changed_property_free (ChangedProperty *data) 1094s # { 1094s # g_value_unset (&data->orig_value); 1094s # g_free (data); 1094s # } 1094s # 1094s # static gboolean 1094s # _g_strv_equal0 (gchar **a, gchar **b) 1094s # { 1094s # gboolean ret = FALSE; 1094s # guint n; 1094s # if (a == NULL && b == NULL) 1094s # { 1094s # ret = TRUE; 1094s # goto out; 1094s # } 1094s # if (a == NULL || b == NULL) 1094s # goto out; 1094s # if (g_strv_length (a) != g_strv_length (b)) 1094s # goto out; 1094s # for (n = 0; a[n] != NULL; n++) 1094s # if (g_strcmp0 (a[n], b[n]) != 0) 1094s # goto out; 1094s # ret = TRUE; 1094s # out: 1094s # return ret; 1094s # } 1094s # 1094s # static gboolean 1094s # _g_variant_equal0 (GVariant *a, GVariant *b) 1094s # { 1094s # gboolean ret = FALSE; 1094s # if (a == NULL && b == NULL) 1094s # { 1094s # ret = TRUE; 1094s # goto out; 1094s # } 1094s # if (a == NULL || b == NULL) 1094s # goto out; 1094s # ret = g_variant_equal (a, b); 1094s # out: 1094s # return ret; 1094s # } 1094s # 1094s # G_GNUC_UNUSED static gboolean 1094s # _g_value_equal (const GValue *a, const GValue *b) 1094s # { 1094s # gboolean ret = FALSE; 1094s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1094s # switch (G_VALUE_TYPE (a)) 1094s # { 1094s # case G_TYPE_BOOLEAN: 1094s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1094s # break; 1094s # case G_TYPE_UCHAR: 1094s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1094s # break; 1094s # case G_TYPE_INT: 1094s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1094s # break; 1094s # case G_TYPE_UINT: 1094s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1094s # break; 1094s # case G_TYPE_INT64: 1094s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1094s # break; 1094s # case G_TYPE_UINT64: 1094s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1094s # break; 1094s # case G_TYPE_DOUBLE: 1094s # { 1094s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1094s # gdouble da = g_value_get_double (a); 1094s # gdouble db = g_value_get_double (b); 1094s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1094s # } 1094s # break; 1094s # case G_TYPE_STRING: 1094s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1094s # break; 1094s # case G_TYPE_VARIANT: 1094s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1094s # break; 1094s # default: 1094s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1094s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1094s # else 1094s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1094s # break; 1094s # } 1094s # return ret; 1094s # } 1094s # 1094s # static void 1094s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1094s # GClosure *closure, 1094s # GValue *return_value, 1094s # unsigned int n_param_values, 1094s # const GValue *param_values, 1094s # void *invocation_hint G_GNUC_UNUSED, 1094s # void *marshal_data) 1094s # { 1094s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1094s # (void *data1, 1094s # GDBusMethodInvocation *arg_method_invocation, 1094s # void *data2); 1094s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1094s # GCClosure *cc = (GCClosure*) closure; 1094s # void *data1, *data2; 1094s # gboolean v_return; 1094s # 1094s # g_return_if_fail (return_value != NULL); 1094s # g_return_if_fail (n_param_values == 2); 1094s # 1094s # if (G_CCLOSURE_SWAP_DATA (closure)) 1094s # { 1094s # data1 = closure->data; 1094s # data2 = g_value_peek_pointer (param_values + 0); 1094s # } 1094s # else 1094s # { 1094s # data1 = g_value_peek_pointer (param_values + 0); 1094s # data2 = closure->data; 1094s # } 1094s # 1094s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1094s # (marshal_data ? marshal_data : cc->callback); 1094s # 1094s # v_return = 1094s # callback (data1, 1094s # g_marshal_value_peek_object (param_values + 1), 1094s # data2); 1094s # 1094s # g_value_set_boolean (return_value, v_return); 1094s # } 1094s # 1094s # /* ------------------------------------------------------------------------ 1094s # * Code for interface com.acme.Coyote 1094s # * ------------------------------------------------------------------------ 1094s # */ 1094s # 1094s # /** 1094s # * SECTION:ComAcmeCoyote 1094s # * @title: ComAcmeCoyote 1094s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1094s # * 1094s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1094s # */ 1094s # 1094s # enum 1094s # { 1094s # _COM_ACME_COYOTE_SURPRISED, 1094s # }; 1094s # 1094s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1094s # 1094s # /* ---- Introspection data for com.acme.Coyote ---- */ 1094s # 1094s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "Run", 1094s # NULL, 1094s # NULL, 1094s # NULL 1094s # }, 1094s # "handle-run", 1094s # FALSE 1094s # }; 1094s # 1094s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "Sleep", 1094s # NULL, 1094s # NULL, 1094s # NULL 1094s # }, 1094s # "handle-sleep", 1094s # FALSE 1094s # }; 1094s # 1094s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "Attack", 1094s # NULL, 1094s # NULL, 1094s # NULL 1094s # }, 1094s # "handle-attack", 1094s # FALSE 1094s # }; 1094s # 1094s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1094s # { 1094s # &_com_acme_coyote_method_info_run.parent_struct, 1094s # &_com_acme_coyote_method_info_sleep.parent_struct, 1094s # &_com_acme_coyote_method_info_attack.parent_struct, 1094s # NULL 1094s # }; 1094s # 1094s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "Surprised", 1094s # NULL, 1094s # NULL 1094s # }, 1094s # "surprised" 1094s # }; 1094s # 1094s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1094s # { 1094s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1094s # NULL 1094s # }; 1094s # 1094s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "Mood", 1094s # (gchar *) "s", 1094s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1094s # NULL 1094s # }, 1094s # "mood", 1094s # FALSE, 1094s # TRUE 1094s # }; 1094s # 1094s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1094s # { 1094s # &_com_acme_coyote_property_info_mood.parent_struct, 1094s # NULL 1094s # }; 1094s # 1094s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "com.acme.Coyote", 1094s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1094s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1094s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1094s # NULL 1094s # }, 1094s # "com-acme-coyote", 1094s # }; 1094s # 1094s # 1094s # /** 1094s # * com_acme_coyote_interface_info: 1094s # * 1094s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1094s # * 1094s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1094s # */ 1094s # GDBusInterfaceInfo * 1094s # com_acme_coyote_interface_info (void) 1094s # { 1094s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_override_properties: 1094s # * @klass: The class structure for a #GObject derived class. 1094s # * @property_id_begin: The property id to assign to the first overridden property. 1094s # * 1094s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1094s # * The properties are overridden in the order they are defined. 1094s # * 1094s # * Returns: The last property id. 1094s # */ 1094s # guint 1094s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1094s # { 1094s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1094s # return property_id_begin - 1; 1094s # } 1094s # 1094s # 1094s # inline static void 1094s # com_acme_coyote_signal_marshal_surprised ( 1094s # GClosure *closure, 1094s # GValue *return_value, 1094s # unsigned int n_param_values, 1094s # const GValue *param_values, 1094s # void *invocation_hint, 1094s # void *marshal_data) 1094s # { 1094s # g_cclosure_marshal_VOID__VOID (closure, 1094s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1094s # } 1094s # 1094s # inline static void 1094s # com_acme_coyote_method_marshal_run ( 1094s # GClosure *closure, 1094s # GValue *return_value, 1094s # unsigned int n_param_values, 1094s # const GValue *param_values, 1094s # void *invocation_hint, 1094s # void *marshal_data) 1094s # { 1094s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1094s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1094s # } 1094s # 1094s # inline static void 1094s # com_acme_coyote_method_marshal_sleep ( 1094s # GClosure *closure, 1094s # GValue *return_value, 1094s # unsigned int n_param_values, 1094s # const GValue *param_values, 1094s # void *invocation_hint, 1094s # void *marshal_data) 1094s # { 1094s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1094s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1094s # } 1094s # 1094s # inline static void 1094s # com_acme_coyote_method_marshal_attack ( 1094s # GClosure *closure, 1094s # GValue *return_value, 1094s # unsigned int n_param_values, 1094s # const GValue *param_values, 1094s # void *invocation_hint, 1094s # void *marshal_data) 1094s # { 1094s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1094s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1094s # } 1094s # 1094s # 1094s # /** 1094s # * ComAcmeCoyote: 1094s # * 1094s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1094s # */ 1094s # 1094s # /** 1094s # * ComAcmeCoyoteIface: 1094s # * @parent_iface: The parent interface. 1094s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1094s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1094s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1094s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1094s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1094s # * 1094s # * Virtual table for the D-Bus interface com.acme.Coyote. 1094s # */ 1094s # 1094s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1094s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1094s # 1094s # static void 1094s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1094s # { 1094s # /* GObject signals for incoming D-Bus method calls: */ 1094s # /** 1094s # * ComAcmeCoyote::handle-run: 1094s # * @object: A #ComAcmeCoyote. 1094s # * @invocation: A #GDBusMethodInvocation. 1094s # * 1094s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1094s # * 1094s # * 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. 1094s # * 1094s # * 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. 1094s # */ 1094s # g_signal_new ("handle-run", 1094s # G_TYPE_FROM_INTERFACE (iface), 1094s # G_SIGNAL_RUN_LAST, 1094s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1094s # g_signal_accumulator_true_handled, 1094s # NULL, 1094s # com_acme_coyote_method_marshal_run, 1094s # G_TYPE_BOOLEAN, 1094s # 1, 1094s # G_TYPE_DBUS_METHOD_INVOCATION); 1094s # 1094s # /** 1094s # * ComAcmeCoyote::handle-sleep: 1094s # * @object: A #ComAcmeCoyote. 1094s # * @invocation: A #GDBusMethodInvocation. 1094s # * 1094s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1094s # * 1094s # * 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. 1094s # * 1094s # * 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. 1094s # */ 1094s # g_signal_new ("handle-sleep", 1094s # G_TYPE_FROM_INTERFACE (iface), 1094s # G_SIGNAL_RUN_LAST, 1094s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1094s # g_signal_accumulator_true_handled, 1094s # NULL, 1094s # com_acme_coyote_method_marshal_sleep, 1094s # G_TYPE_BOOLEAN, 1094s # 1, 1094s # G_TYPE_DBUS_METHOD_INVOCATION); 1094s # 1094s # /** 1094s # * ComAcmeCoyote::handle-attack: 1094s # * @object: A #ComAcmeCoyote. 1094s # * @invocation: A #GDBusMethodInvocation. 1094s # * 1094s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1094s # * 1094s # * 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. 1094s # * 1094s # * 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. 1094s # */ 1094s # g_signal_new ("handle-attack", 1094s # G_TYPE_FROM_INTERFACE (iface), 1094s # G_SIGNAL_RUN_LAST, 1094s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1094s # g_signal_accumulator_true_handled, 1094s # NULL, 1094s # com_acme_coyote_method_marshal_attack, 1094s # G_TYPE_BOOLEAN, 1094s # 1, 1094s # G_TYPE_DBUS_METHOD_INVOCATION); 1094s # 1094s # /* GObject signals for received D-Bus signals: */ 1094s # /** 1094s # * ComAcmeCoyote::surprised: 1094s # * @object: A #ComAcmeCoyote. 1094s # * 1094s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1094s # * 1094s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1094s # */ 1094s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1094s # g_signal_new ("surprised", 1094s # G_TYPE_FROM_INTERFACE (iface), 1094s # G_SIGNAL_RUN_LAST, 1094s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1094s # NULL, 1094s # NULL, 1094s # com_acme_coyote_signal_marshal_surprised, 1094s # G_TYPE_NONE, 1094s # 0); 1094s # 1094s # /* GObject properties for D-Bus properties: */ 1094s # /** 1094s # * ComAcmeCoyote:mood: 1094s # * 1094s # * Represents the D-Bus property "Mood". 1094s # * 1094s # * 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. 1094s # */ 1094s # g_object_interface_install_property (iface, 1094s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_get_mood: (skip) 1094s # * @object: A #ComAcmeCoyote. 1094s # * 1094s # * Gets the value of the "Mood" D-Bus property. 1094s # * 1094s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1094s # * 1094s # * 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. 1094s # * 1094s # * 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. 1094s # */ 1094s # const gchar * 1094s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1094s # { 1094s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1094s # 1094s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_dup_mood: (skip) 1094s # * @object: A #ComAcmeCoyote. 1094s # * 1094s # * Gets a copy of the "Mood" D-Bus property. 1094s # * 1094s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1094s # * 1094s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1094s # */ 1094s # gchar * 1094s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1094s # { 1094s # gchar *value; 1094s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1094s # return value; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_set_mood: (skip) 1094s # * @object: A #ComAcmeCoyote. 1094s # * @value: The value to set. 1094s # * 1094s # * Sets the "Mood" D-Bus property to @value. 1094s # * 1094s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1094s # */ 1094s # void 1094s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1094s # { 1094s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_emit_surprised: 1094s # * @object: A #ComAcmeCoyote. 1094s # * 1094s # * Emits the "Surprised" D-Bus signal. 1094s # */ 1094s # void 1094s # com_acme_coyote_emit_surprised ( 1094s # ComAcmeCoyote *object) 1094s # { 1094s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_run: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1094s # * 1094s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1094s # */ 1094s # void 1094s # com_acme_coyote_call_run ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1094s # "Run", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # callback, 1094s # user_data); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_run_finish: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Finishes an operation started with com_acme_coyote_call_run(). 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # com_acme_coyote_call_run_finish ( 1094s # ComAcmeCoyote *proxy, 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_run_sync: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1094s # * 1094s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # com_acme_coyote_call_run_sync ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1094s # "Run", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_sleep: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1094s # * 1094s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1094s # */ 1094s # void 1094s # com_acme_coyote_call_sleep ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1094s # "Sleep", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # callback, 1094s # user_data); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_sleep_finish: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # com_acme_coyote_call_sleep_finish ( 1094s # ComAcmeCoyote *proxy, 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_sleep_sync: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1094s # * 1094s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # com_acme_coyote_call_sleep_sync ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1094s # "Sleep", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_attack: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1094s # * 1094s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1094s # */ 1094s # void 1094s # com_acme_coyote_call_attack ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1094s # "Attack", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # callback, 1094s # user_data); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_attack_finish: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Finishes an operation started with com_acme_coyote_call_attack(). 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # com_acme_coyote_call_attack_finish ( 1094s # ComAcmeCoyote *proxy, 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_attack_sync: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1094s # * 1094s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # com_acme_coyote_call_attack_sync ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1094s # "Attack", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_complete_run: 1094s # * @object: A #ComAcmeCoyote. 1094s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1094s # * 1094s # * 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. 1094s # * 1094s # * This method will free @invocation, you cannot use it afterwards. 1094s # */ 1094s # void 1094s # com_acme_coyote_complete_run ( 1094s # ComAcmeCoyote *object G_GNUC_UNUSED, 1094s # GDBusMethodInvocation *invocation) 1094s # { 1094s # g_dbus_method_invocation_return_value (invocation, 1094s # g_variant_new ("()")); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_complete_sleep: 1094s # * @object: A #ComAcmeCoyote. 1094s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1094s # * 1094s # * 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. 1094s # * 1094s # * This method will free @invocation, you cannot use it afterwards. 1094s # */ 1094s # void 1094s # com_acme_coyote_complete_sleep ( 1094s # ComAcmeCoyote *object G_GNUC_UNUSED, 1094s # GDBusMethodInvocation *invocation) 1094s # { 1094s # g_dbus_method_invocation_return_value (invocation, 1094s # g_variant_new ("()")); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_complete_attack: 1094s # * @object: A #ComAcmeCoyote. 1094s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1094s # * 1094s # * 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. 1094s # * 1094s # * This method will free @invocation, you cannot use it afterwards. 1094s # */ 1094s # void 1094s # com_acme_coyote_complete_attack ( 1094s # ComAcmeCoyote *object G_GNUC_UNUSED, 1094s # GDBusMethodInvocation *invocation) 1094s # { 1094s # g_dbus_method_invocation_return_value (invocation, 1094s # g_variant_new ("()")); 1094s # } 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # 1094s # /** 1094s # * ComAcmeCoyoteProxy: 1094s # * 1094s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1094s # */ 1094s # 1094s # /** 1094s # * ComAcmeCoyoteProxyClass: 1094s # * @parent_class: The parent class. 1094s # * 1094s # * Class structure for #ComAcmeCoyoteProxy. 1094s # */ 1094s # 1094s # struct _ComAcmeCoyoteProxyPrivate 1094s # { 1094s # GData *qdata; 1094s # }; 1094s # 1094s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1094s # 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1094s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1094s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1094s # 1094s # #else 1094s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1094s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1094s # 1094s # #endif 1094s # static void 1094s # com_acme_coyote_proxy_finalize (GObject *object) 1094s # { 1094s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1094s # g_datalist_clear (&proxy->priv->qdata); 1094s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_get_property (GObject *object, 1094s # guint prop_id, 1094s # GValue *value, 1094s # GParamSpec *pspec G_GNUC_UNUSED) 1094s # { 1094s # const _ExtendedGDBusPropertyInfo *info; 1094s # GVariant *variant; 1094s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1094s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1094s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1094s # if (info->use_gvariant) 1094s # { 1094s # g_value_set_variant (value, variant); 1094s # } 1094s # else 1094s # { 1094s # if (variant != NULL) 1094s # g_dbus_gvariant_to_gvalue (variant, value); 1094s # } 1094s # if (variant != NULL) 1094s # g_variant_unref (variant); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1094s # GAsyncResult *res, 1094s # gpointer user_data) 1094s # { 1094s # const _ExtendedGDBusPropertyInfo *info = user_data; 1094s # GError *error; 1094s # GVariant *_ret; 1094s # error = NULL; 1094s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1094s # if (!_ret) 1094s # { 1094s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1094s # info->parent_struct.name, 1094s # error->message, g_quark_to_string (error->domain), error->code); 1094s # g_error_free (error); 1094s # } 1094s # else 1094s # { 1094s # g_variant_unref (_ret); 1094s # } 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_set_property (GObject *object, 1094s # guint prop_id, 1094s # const GValue *value, 1094s # GParamSpec *pspec G_GNUC_UNUSED) 1094s # { 1094s # const _ExtendedGDBusPropertyInfo *info; 1094s # GVariant *variant; 1094s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1094s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1094s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1094s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1094s # "org.freedesktop.DBus.Properties.Set", 1094s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1094s # g_variant_unref (variant); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1094s # const gchar *sender_name G_GNUC_UNUSED, 1094s # const gchar *signal_name, 1094s # GVariant *parameters) 1094s # { 1094s # _ExtendedGDBusSignalInfo *info; 1094s # GVariantIter iter; 1094s # GVariant *child; 1094s # GValue *paramv; 1094s # gsize num_params; 1094s # gsize n; 1094s # guint signal_id; 1094s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1094s # if (info == NULL) 1094s # return; 1094s # num_params = g_variant_n_children (parameters); 1094s # paramv = g_new0 (GValue, num_params + 1); 1094s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1094s # g_value_set_object (¶mv[0], proxy); 1094s # g_variant_iter_init (&iter, parameters); 1094s # n = 1; 1094s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1094s # { 1094s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1094s # if (arg_info->use_gvariant) 1094s # { 1094s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1094s # g_value_set_variant (¶mv[n], child); 1094s # n++; 1094s # } 1094s # else 1094s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1094s # g_variant_unref (child); 1094s # } 1094s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1094s # g_signal_emitv (paramv, signal_id, 0, NULL); 1094s # for (n = 0; n < num_params + 1; n++) 1094s # g_value_unset (¶mv[n]); 1094s # g_free (paramv); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1094s # GVariant *changed_properties, 1094s # const gchar *const *invalidated_properties) 1094s # { 1094s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1094s # guint n; 1094s # const gchar *key; 1094s # GVariantIter *iter; 1094s # _ExtendedGDBusPropertyInfo *info; 1094s # g_variant_get (changed_properties, "a{sv}", &iter); 1094s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1094s # { 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1094s # g_datalist_remove_data (&proxy->priv->qdata, key); 1094s # if (info != NULL) 1094s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1094s # } 1094s # g_variant_iter_free (iter); 1094s # for (n = 0; invalidated_properties[n] != NULL; n++) 1094s # { 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1094s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1094s # if (info != NULL) 1094s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1094s # } 1094s # } 1094s # 1094s # static const gchar * 1094s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1094s # { 1094s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1094s # GVariant *variant; 1094s # const gchar *value = NULL; 1094s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1094s # if (variant != NULL) 1094s # { 1094s # value = g_variant_get_string (variant, NULL); 1094s # g_variant_unref (variant); 1094s # } 1094s # return value; 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1094s # { 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1094s # #else 1094s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1094s # #endif 1094s # 1094s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1094s # { 1094s # GObjectClass *gobject_class; 1094s # GDBusProxyClass *proxy_class; 1094s # 1094s # gobject_class = G_OBJECT_CLASS (klass); 1094s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1094s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1094s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1094s # 1094s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1094s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1094s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1094s # 1094s # com_acme_coyote_override_properties (gobject_class, 1); 1094s # 1094s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1094s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1094s # #endif 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1094s # { 1094s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_proxy_new: 1094s # * @connection: A #GDBusConnection. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1094s # * 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1094s # * 1094s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1094s # */ 1094s # void 1094s # com_acme_coyote_proxy_new ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # 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); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_proxy_new_finish: 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1094s # * 1094s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # ComAcmeCoyote * 1094s # com_acme_coyote_proxy_new_finish ( 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GObject *ret; 1094s # GObject *source_object; 1094s # source_object = g_async_result_get_source_object (res); 1094s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1094s # g_object_unref (source_object); 1094s # if (ret != NULL) 1094s # return COM_ACME_COYOTE (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_proxy_new_sync: 1094s # * @connection: A #GDBusConnection. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1094s # * 1094s # * The calling thread is blocked until a reply is received. 1094s # * 1094s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1094s # * 1094s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # ComAcmeCoyote * 1094s # com_acme_coyote_proxy_new_sync ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GInitable *ret; 1094s # 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); 1094s # if (ret != NULL) 1094s # return COM_ACME_COYOTE (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # 1094s # /** 1094s # * com_acme_coyote_proxy_new_for_bus: 1094s # * @bus_type: A #GBusType. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: A bus name (well-known or unique). 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1094s # * 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1094s # * 1094s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1094s # */ 1094s # void 1094s # com_acme_coyote_proxy_new_for_bus ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # 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); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_proxy_new_for_bus_finish: 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1094s # * 1094s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # ComAcmeCoyote * 1094s # com_acme_coyote_proxy_new_for_bus_finish ( 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GObject *ret; 1094s # GObject *source_object; 1094s # source_object = g_async_result_get_source_object (res); 1094s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1094s # g_object_unref (source_object); 1094s # if (ret != NULL) 1094s # return COM_ACME_COYOTE (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_proxy_new_for_bus_sync: 1094s # * @bus_type: A #GBusType. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: A bus name (well-known or unique). 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1094s # * 1094s # * The calling thread is blocked until a reply is received. 1094s # * 1094s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1094s # * 1094s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # ComAcmeCoyote * 1094s # com_acme_coyote_proxy_new_for_bus_sync ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GInitable *ret; 1094s # 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); 1094s # if (ret != NULL) 1094s # return COM_ACME_COYOTE (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # 1094s # /** 1094s # * ComAcmeCoyoteSkeleton: 1094s # * 1094s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1094s # */ 1094s # 1094s # /** 1094s # * ComAcmeCoyoteSkeletonClass: 1094s # * @parent_class: The parent class. 1094s # * 1094s # * Class structure for #ComAcmeCoyoteSkeleton. 1094s # */ 1094s # 1094s # struct _ComAcmeCoyoteSkeletonPrivate 1094s # { 1094s # GValue *properties; 1094s # GList *changed_properties; 1094s # GSource *changed_properties_idle_source; 1094s # GMainContext *context; 1094s # GMutex lock; 1094s # }; 1094s # 1094s # static void 1094s # _com_acme_coyote_skeleton_handle_method_call ( 1094s # GDBusConnection *connection G_GNUC_UNUSED, 1094s # const gchar *sender G_GNUC_UNUSED, 1094s # const gchar *object_path G_GNUC_UNUSED, 1094s # const gchar *interface_name, 1094s # const gchar *method_name, 1094s # GVariant *parameters, 1094s # GDBusMethodInvocation *invocation, 1094s # gpointer user_data) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1094s # _ExtendedGDBusMethodInfo *info; 1094s # GVariantIter iter; 1094s # GVariant *child; 1094s # GValue *paramv; 1094s # gsize num_params; 1094s # guint num_extra; 1094s # gsize n; 1094s # guint signal_id; 1094s # GValue return_value = G_VALUE_INIT; 1094s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1094s # g_assert (info != NULL); 1094s # num_params = g_variant_n_children (parameters); 1094s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1094s # n = 0; 1094s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1094s # g_value_set_object (¶mv[n++], skeleton); 1094s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1094s # g_value_set_object (¶mv[n++], invocation); 1094s # if (info->pass_fdlist) 1094s # { 1094s # #ifdef G_OS_UNIX 1094s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1094s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1094s # #else 1094s # g_assert_not_reached (); 1094s # #endif 1094s # } 1094s # g_variant_iter_init (&iter, parameters); 1094s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1094s # { 1094s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1094s # if (arg_info->use_gvariant) 1094s # { 1094s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1094s # g_value_set_variant (¶mv[n], child); 1094s # n++; 1094s # } 1094s # else 1094s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1094s # g_variant_unref (child); 1094s # } 1094s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1094s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1094s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1094s # if (!g_value_get_boolean (&return_value)) 1094s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1094s # g_value_unset (&return_value); 1094s # for (n = 0; n < num_params + num_extra; n++) 1094s # g_value_unset (¶mv[n]); 1094s # g_free (paramv); 1094s # } 1094s # 1094s # static GVariant * 1094s # _com_acme_coyote_skeleton_handle_get_property ( 1094s # GDBusConnection *connection G_GNUC_UNUSED, 1094s # const gchar *sender G_GNUC_UNUSED, 1094s # const gchar *object_path G_GNUC_UNUSED, 1094s # const gchar *interface_name G_GNUC_UNUSED, 1094s # const gchar *property_name, 1094s # GError **error, 1094s # gpointer user_data) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1094s # GValue value = G_VALUE_INIT; 1094s # GParamSpec *pspec; 1094s # _ExtendedGDBusPropertyInfo *info; 1094s # GVariant *ret; 1094s # ret = NULL; 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1094s # g_assert (info != NULL); 1094s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1094s # if (pspec == NULL) 1094s # { 1094s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1094s # } 1094s # else 1094s # { 1094s # g_value_init (&value, pspec->value_type); 1094s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1094s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1094s # g_value_unset (&value); 1094s # } 1094s # return ret; 1094s # } 1094s # 1094s # static gboolean 1094s # _com_acme_coyote_skeleton_handle_set_property ( 1094s # GDBusConnection *connection G_GNUC_UNUSED, 1094s # const gchar *sender G_GNUC_UNUSED, 1094s # const gchar *object_path G_GNUC_UNUSED, 1094s # const gchar *interface_name G_GNUC_UNUSED, 1094s # const gchar *property_name, 1094s # GVariant *variant, 1094s # GError **error, 1094s # gpointer user_data) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1094s # GValue value = G_VALUE_INIT; 1094s # GParamSpec *pspec; 1094s # _ExtendedGDBusPropertyInfo *info; 1094s # gboolean ret; 1094s # ret = FALSE; 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1094s # g_assert (info != NULL); 1094s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1094s # if (pspec == NULL) 1094s # { 1094s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1094s # } 1094s # else 1094s # { 1094s # if (info->use_gvariant) 1094s # g_value_set_variant (&value, variant); 1094s # else 1094s # g_dbus_gvariant_to_gvalue (variant, &value); 1094s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1094s # g_value_unset (&value); 1094s # ret = TRUE; 1094s # } 1094s # return ret; 1094s # } 1094s # 1094s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1094s # { 1094s # _com_acme_coyote_skeleton_handle_method_call, 1094s # _com_acme_coyote_skeleton_handle_get_property, 1094s # _com_acme_coyote_skeleton_handle_set_property, 1094s # {NULL} 1094s # }; 1094s # 1094s # static GDBusInterfaceInfo * 1094s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1094s # { 1094s # return com_acme_coyote_interface_info (); 1094s # } 1094s # 1094s # static GDBusInterfaceVTable * 1094s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1094s # { 1094s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1094s # } 1094s # 1094s # static GVariant * 1094s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1094s # 1094s # GVariantBuilder builder; 1094s # guint n; 1094s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1094s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1094s # goto out; 1094s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1094s # { 1094s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1094s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1094s # { 1094s # GVariant *value; 1094s # 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); 1094s # if (value != NULL) 1094s # { 1094s # g_variant_take_ref (value); 1094s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1094s # g_variant_unref (value); 1094s # } 1094s # } 1094s # } 1094s # out: 1094s # return g_variant_builder_end (&builder); 1094s # } 1094s # 1094s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1094s # 1094s # static void 1094s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1094s # gboolean emit_changed = FALSE; 1094s # 1094s # g_mutex_lock (&skeleton->priv->lock); 1094s # if (skeleton->priv->changed_properties_idle_source != NULL) 1094s # { 1094s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1094s # skeleton->priv->changed_properties_idle_source = NULL; 1094s # emit_changed = TRUE; 1094s # } 1094s # g_mutex_unlock (&skeleton->priv->lock); 1094s # 1094s # if (emit_changed) 1094s # _com_acme_coyote_emit_changed (skeleton); 1094s # } 1094s # 1094s # static void 1094s # _com_acme_coyote_on_signal_surprised ( 1094s # ComAcmeCoyote *object) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1094s # 1094s # GList *connections, *l; 1094s # GVariant *signal_variant; 1094s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1094s # 1094s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1094s # for (l = connections; l != NULL; l = l->next) 1094s # { 1094s # GDBusConnection *connection = l->data; 1094s # g_dbus_connection_emit_signal (connection, 1094s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1094s # signal_variant, NULL); 1094s # } 1094s # g_variant_unref (signal_variant); 1094s # g_list_free_full (connections, g_object_unref); 1094s # } 1094s # 1094s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1094s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1094s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1094s # 1094s # #else 1094s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1094s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1094s # 1094s # #endif 1094s # static void 1094s # com_acme_coyote_skeleton_finalize (GObject *object) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1094s # guint n; 1094s # for (n = 0; n < 1; n++) 1094s # g_value_unset (&skeleton->priv->properties[n]); 1094s # g_free (skeleton->priv->properties); 1094s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1094s # if (skeleton->priv->changed_properties_idle_source != NULL) 1094s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1094s # g_main_context_unref (skeleton->priv->context); 1094s # g_mutex_clear (&skeleton->priv->lock); 1094s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_skeleton_get_property (GObject *object, 1094s # guint prop_id, 1094s # GValue *value, 1094s # GParamSpec *pspec G_GNUC_UNUSED) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1094s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1094s # g_mutex_lock (&skeleton->priv->lock); 1094s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1094s # g_mutex_unlock (&skeleton->priv->lock); 1094s # } 1094s # 1094s # static gboolean 1094s # _com_acme_coyote_emit_changed (gpointer user_data) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1094s # GList *l; 1094s # GVariantBuilder builder; 1094s # GVariantBuilder invalidated_builder; 1094s # guint num_changes; 1094s # 1094s # g_mutex_lock (&skeleton->priv->lock); 1094s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1094s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1094s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1094s # { 1094s # ChangedProperty *cp = l->data; 1094s # GVariant *variant; 1094s # const GValue *cur_value; 1094s # 1094s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1094s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1094s # { 1094s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1094s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1094s # g_variant_unref (variant); 1094s # num_changes++; 1094s # } 1094s # } 1094s # if (num_changes > 0) 1094s # { 1094s # GList *connections, *ll; 1094s # GVariant *signal_variant; 1094s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1094s # &builder, &invalidated_builder)); 1094s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1094s # for (ll = connections; ll != NULL; ll = ll->next) 1094s # { 1094s # GDBusConnection *connection = ll->data; 1094s # 1094s # g_dbus_connection_emit_signal (connection, 1094s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1094s # "org.freedesktop.DBus.Properties", 1094s # "PropertiesChanged", 1094s # signal_variant, 1094s # NULL); 1094s # } 1094s # g_variant_unref (signal_variant); 1094s # g_list_free_full (connections, g_object_unref); 1094s # } 1094s # else 1094s # { 1094s # g_variant_builder_clear (&builder); 1094s # g_variant_builder_clear (&invalidated_builder); 1094s # } 1094s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1094s # skeleton->priv->changed_properties = NULL; 1094s # skeleton->priv->changed_properties_idle_source = NULL; 1094s # g_mutex_unlock (&skeleton->priv->lock); 1094s # return FALSE; 1094s # } 1094s # 1094s # static void 1094s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1094s # { 1094s # ChangedProperty *cp; 1094s # GList *l; 1094s # cp = NULL; 1094s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1094s # { 1094s # ChangedProperty *i_cp = l->data; 1094s # if (i_cp->info == info) 1094s # { 1094s # cp = i_cp; 1094s # break; 1094s # } 1094s # } 1094s # if (cp == NULL) 1094s # { 1094s # cp = g_new0 (ChangedProperty, 1); 1094s # cp->prop_id = prop_id; 1094s # cp->info = info; 1094s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1094s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1094s # g_value_copy (orig_value, &cp->orig_value); 1094s # } 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_skeleton_notify (GObject *object, 1094s # GParamSpec *pspec G_GNUC_UNUSED) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1094s # g_mutex_lock (&skeleton->priv->lock); 1094s # if (skeleton->priv->changed_properties != NULL && 1094s # skeleton->priv->changed_properties_idle_source == NULL) 1094s # { 1094s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1094s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1094s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1094s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1094s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1094s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1094s # } 1094s # g_mutex_unlock (&skeleton->priv->lock); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_skeleton_set_property (GObject *object, 1094s # guint prop_id, 1094s # const GValue *value, 1094s # GParamSpec *pspec) 1094s # { 1094s # const _ExtendedGDBusPropertyInfo *info; 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1094s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1094s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1094s # g_mutex_lock (&skeleton->priv->lock); 1094s # g_object_freeze_notify (object); 1094s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1094s # { 1094s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1094s # info->emits_changed_signal) 1094s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1094s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1094s # g_object_notify_by_pspec (object, pspec); 1094s # } 1094s # g_mutex_unlock (&skeleton->priv->lock); 1094s # g_object_thaw_notify (object); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1094s # { 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1094s # #else 1094s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1094s # #endif 1094s # 1094s # g_mutex_init (&skeleton->priv->lock); 1094s # skeleton->priv->context = g_main_context_ref_thread_default (); 1094s # skeleton->priv->properties = g_new0 (GValue, 1); 1094s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1094s # } 1094s # 1094s # static const gchar * 1094s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1094s # const gchar *value; 1094s # g_mutex_lock (&skeleton->priv->lock); 1094s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1094s # g_mutex_unlock (&skeleton->priv->lock); 1094s # return value; 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1094s # { 1094s # GObjectClass *gobject_class; 1094s # GDBusInterfaceSkeletonClass *skeleton_class; 1094s # 1094s # gobject_class = G_OBJECT_CLASS (klass); 1094s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1094s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1094s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1094s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1094s # 1094s # 1094s # com_acme_coyote_override_properties (gobject_class, 1); 1094s # 1094s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1094s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1094s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1094s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1094s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1094s # 1094s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1094s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1094s # #endif 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1094s # { 1094s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1094s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_skeleton_new: 1094s # * 1094s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1094s # * 1094s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1094s # */ 1094s # ComAcmeCoyote * 1094s # com_acme_coyote_skeleton_new (void) 1094s # { 1094s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1094s # } 1094s # 1094s # /* ------------------------------------------------------------------------ 1094s # * Code for interface org.project.Bar.Frobnicator 1094s # * ------------------------------------------------------------------------ 1094s # */ 1094s # 1094s # /** 1094s # * SECTION:OrgProjectBarFrobnicator 1094s # * @title: OrgProjectBarFrobnicator 1094s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1094s # * 1094s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1094s # */ 1094s # 1094s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1094s # 1094s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "RandomMethod", 1094s # NULL, 1094s # NULL, 1094s # NULL 1094s # }, 1094s # "handle-random-method", 1094s # FALSE 1094s # }; 1094s # 1094s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1094s # { 1094s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1094s # NULL 1094s # }; 1094s # 1094s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "org.project.Bar.Frobnicator", 1094s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1094s # NULL, 1094s # NULL, 1094s # NULL 1094s # }, 1094s # "org-project-bar-frobnicator", 1094s # }; 1094s # 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_interface_info: 1094s # * 1094s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1094s # * 1094s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1094s # */ 1094s # GDBusInterfaceInfo * 1094s # org_project_bar_frobnicator_interface_info (void) 1094s # { 1094s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_override_properties: 1094s # * @klass: The class structure for a #GObject derived class. 1094s # * @property_id_begin: The property id to assign to the first overridden property. 1094s # * 1094s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1094s # * The properties are overridden in the order they are defined. 1094s # * 1094s # * Returns: The last property id. 1094s # */ 1094s # guint 1094s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1094s # { 1094s # return property_id_begin - 1; 1094s # } 1094s # 1094s # 1094s # inline static void 1094s # org_project_bar_frobnicator_method_marshal_random_method ( 1094s # GClosure *closure, 1094s # GValue *return_value, 1094s # unsigned int n_param_values, 1094s # const GValue *param_values, 1094s # void *invocation_hint, 1094s # void *marshal_data) 1094s # { 1094s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1094s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1094s # } 1094s # 1094s # 1094s # /** 1094s # * OrgProjectBarFrobnicator: 1094s # * 1094s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1094s # */ 1094s # 1094s # /** 1094s # * OrgProjectBarFrobnicatorIface: 1094s # * @parent_iface: The parent interface. 1094s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1094s # * 1094s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1094s # */ 1094s # 1094s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1094s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1094s # { 1094s # /* GObject signals for incoming D-Bus method calls: */ 1094s # /** 1094s # * OrgProjectBarFrobnicator::handle-random-method: 1094s # * @object: A #OrgProjectBarFrobnicator. 1094s # * @invocation: A #GDBusMethodInvocation. 1094s # * 1094s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1094s # * 1094s # * 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. 1094s # * 1094s # * 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. 1094s # */ 1094s # g_signal_new ("handle-random-method", 1094s # G_TYPE_FROM_INTERFACE (iface), 1094s # G_SIGNAL_RUN_LAST, 1094s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1094s # g_signal_accumulator_true_handled, 1094s # NULL, 1094s # org_project_bar_frobnicator_method_marshal_random_method, 1094s # G_TYPE_BOOLEAN, 1094s # 1, 1094s # G_TYPE_DBUS_METHOD_INVOCATION); 1094s # 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_call_random_method: 1094s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1094s # * 1094s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1094s # */ 1094s # void 1094s # org_project_bar_frobnicator_call_random_method ( 1094s # OrgProjectBarFrobnicator *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1094s # "RandomMethod", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # callback, 1094s # user_data); 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_call_random_method_finish: 1094s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # org_project_bar_frobnicator_call_random_method_finish ( 1094s # OrgProjectBarFrobnicator *proxy, 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_call_random_method_sync: 1094s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1094s # * 1094s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # org_project_bar_frobnicator_call_random_method_sync ( 1094s # OrgProjectBarFrobnicator *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1094s # "RandomMethod", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_complete_random_method: 1094s # * @object: A #OrgProjectBarFrobnicator. 1094s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1094s # * 1094s # * 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. 1094s # * 1094s # * This method will free @invocation, you cannot use it afterwards. 1094s # */ 1094s # void 1094s # org_project_bar_frobnicator_complete_random_method ( 1094s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1094s # GDBusMethodInvocation *invocation) 1094s # { 1094s # g_dbus_method_invocation_return_value (invocation, 1094s # g_variant_new ("()")); 1094s # } 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # 1094s # /** 1094s # * OrgProjectBarFrobnicatorProxy: 1094s # * 1094s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1094s # */ 1094s # 1094s # /** 1094s # * OrgProjectBarFrobnicatorProxyClass: 1094s # * @parent_class: The parent class. 1094s # * 1094s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1094s # */ 1094s # 1094s # struct _OrgProjectBarFrobnicatorProxyPrivate 1094s # { 1094s # GData *qdata; 1094s # }; 1094s # 1094s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1094s # 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1094s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1094s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1094s # 1094s # #else 1094s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1094s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1094s # 1094s # #endif 1094s # static void 1094s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1094s # { 1094s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1094s # g_datalist_clear (&proxy->priv->qdata); 1094s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1094s # guint prop_id G_GNUC_UNUSED, 1094s # GValue *value G_GNUC_UNUSED, 1094s # GParamSpec *pspec G_GNUC_UNUSED) 1094s # { 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1094s # guint prop_id G_GNUC_UNUSED, 1094s # const GValue *value G_GNUC_UNUSED, 1094s # GParamSpec *pspec G_GNUC_UNUSED) 1094s # { 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1094s # const gchar *sender_name G_GNUC_UNUSED, 1094s # const gchar *signal_name, 1094s # GVariant *parameters) 1094s # { 1094s # _ExtendedGDBusSignalInfo *info; 1094s # GVariantIter iter; 1094s # GVariant *child; 1094s # GValue *paramv; 1094s # gsize num_params; 1094s # gsize n; 1094s # guint signal_id; 1094s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1094s # if (info == NULL) 1094s # return; 1094s # num_params = g_variant_n_children (parameters); 1094s # paramv = g_new0 (GValue, num_params + 1); 1094s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1094s # g_value_set_object (¶mv[0], proxy); 1094s # g_variant_iter_init (&iter, parameters); 1094s # n = 1; 1094s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1094s # { 1094s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1094s # if (arg_info->use_gvariant) 1094s # { 1094s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1094s # g_value_set_variant (¶mv[n], child); 1094s # n++; 1094s # } 1094s # else 1094s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1094s # g_variant_unref (child); 1094s # } 1094s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1094s # g_signal_emitv (paramv, signal_id, 0, NULL); 1094s # for (n = 0; n < num_params + 1; n++) 1094s # g_value_unset (¶mv[n]); 1094s # g_free (paramv); 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1094s # GVariant *changed_properties, 1094s # const gchar *const *invalidated_properties) 1094s # { 1094s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1094s # guint n; 1094s # const gchar *key; 1094s # GVariantIter *iter; 1094s # _ExtendedGDBusPropertyInfo *info; 1094s # g_variant_get (changed_properties, "a{sv}", &iter); 1094s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1094s # { 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1094s # g_datalist_remove_data (&proxy->priv->qdata, key); 1094s # if (info != NULL) 1094s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1094s # } 1094s # g_variant_iter_free (iter); 1094s # for (n = 0; invalidated_properties[n] != NULL; n++) 1094s # { 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1094s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1094s # if (info != NULL) 1094s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1094s # } 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1094s # { 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1094s # #else 1094s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1094s # #endif 1094s # 1094s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1094s # { 1094s # GObjectClass *gobject_class; 1094s # GDBusProxyClass *proxy_class; 1094s # 1094s # gobject_class = G_OBJECT_CLASS (klass); 1094s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1094s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1094s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1094s # 1094s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1094s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1094s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1094s # 1094s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1094s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1094s # #endif 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1094s # { 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_proxy_new: 1094s # * @connection: A #GDBusConnection. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1094s # * 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1094s # * 1094s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1094s # */ 1094s # void 1094s # org_project_bar_frobnicator_proxy_new ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # 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); 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_proxy_new_finish: 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1094s # * 1094s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # OrgProjectBarFrobnicator * 1094s # org_project_bar_frobnicator_proxy_new_finish ( 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GObject *ret; 1094s # GObject *source_object; 1094s # source_object = g_async_result_get_source_object (res); 1094s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1094s # g_object_unref (source_object); 1094s # if (ret != NULL) 1094s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_proxy_new_sync: 1094s # * @connection: A #GDBusConnection. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1094s # * 1094s # * The calling thread is blocked until a reply is received. 1094s # * 1094s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1094s # * 1094s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # OrgProjectBarFrobnicator * 1094s # org_project_bar_frobnicator_proxy_new_sync ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GInitable *ret; 1094s # 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); 1094s # if (ret != NULL) 1094s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_proxy_new_for_bus: 1094s # * @bus_type: A #GBusType. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: A bus name (well-known or unique). 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1094s # * 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1094s # * 1094s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1094s # */ 1094s # void 1094s # org_project_bar_frobnicator_proxy_new_for_bus ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # 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); 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1094s # * 1094s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # OrgProjectBarFrobnicator * 1094s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GObject *ret; 1094s # GObject *source_object; 1094s # source_object = g_async_result_get_source_object (res); 1094s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1094s # g_object_unref (source_object); 1094s # if (ret != NULL) 1094s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1094s # * @bus_type: A #GBusType. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: A bus name (well-known or unique). 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1094s # * 1094s # * The calling thread is blocked until a reply is received. 1094s # * 1094s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1094s # * 1094s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # OrgProjectBarFrobnicator * 1094s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GInitable *ret; 1094s # 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); 1094s # if (ret != NULL) 1094s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # 1094s # /** 1094s # * OrgProjectBarFrobnicatorSkeleton: 1094s # * 1094s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1094s # */ 1094s # 1094s # /** 1094s # * OrgProjectBarFrobnicatorSkeletonClass: 1094s # * @parent_class: The parent class. 1094s # * 1094s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1094s # */ 1094s # 1094s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1094s # { 1094s # GValue *properties; 1094s # GList *changed_properties; 1094s # GSource *changed_properties_idle_source; 1094s # GMainContext *context; 1094s # GMutex lock; 1094s # }; 1094s # 1094s # static void 1094s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1094s # GDBusConnection *connection G_GNUC_UNUSED, 1094s # const gchar *sender G_GNUC_UNUSED, 1094s # const gchar *object_path G_GNUC_UNUSED, 1094s # const gchar *interface_name, 1094s # const gchar *method_name, 1094s # GVariant *parameters, 1094s # GDBusMethodInvocation *invocation, 1094s # gpointer user_data) 1094s # { 1094s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1094s # _ExtendedGDBusMethodInfo *info; 1094s # GVariantIter iter; 1094s # GVariant *child; 1094s # GValue *paramv; 1094s # gsize num_params; 1094s # guint num_extra; 1094s # gsize n; 1094s # guint signal_id; 1094s # GValue return_value = G_VALUE_INIT; 1094s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1094s # g_assert (info != NULL); 1094s # num_params = g_variant_n_children (parameters); 1094s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1094s # n = 0; 1094s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1094s # g_value_set_object (¶mv[n++], skeleton); 1094s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1094s # g_value_set_object (¶mv[n++], invocation); 1094s # if (info->pass_fdlist) 1094s # { 1094s # #ifdef G_OS_UNIX 1094s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1094s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1094s # #else 1094s # g_assert_not_reached (); 1094s # #endif 1094s # } 1094s # g_variant_iter_init (&iter, parameters); 1094s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1094s # { 1094s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1094s # if (arg_info->use_gvariant) 1094s # { 1094s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1094s # g_value_set_variant (¶mv[n], child); 1094s # n++; 1094s # } 1094s # else 1094s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1094s # g_variant_unref (child); 1094s # } 1094s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1094s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1094s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1094s # if (!g_value_get_boolean (&return_value)) 1094s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1094s # g_value_unset (&return_value); 1094s # for (n = 0; n < num_params + num_extra; n++) 1094s # g_value_unset (¶mv[n]); 1094s # g_free (paramv); 1094s # } 1094s # 1094s # static GVariant * 1094s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1094s # GDBusConnection *connection G_GNUC_UNUSED, 1094s # const gchar *sender G_GNUC_UNUSED, 1094s # const gchar *object_path G_GNUC_UNUSED, 1094s # const gchar *interface_name G_GNUC_UNUSED, 1094s # const gchar *property_name, 1094s # GError **error, 1094s # gpointer user_data) 1094s # { 1094s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1094s # GValue value = G_VALUE_INIT; 1094s # GParamSpec *pspec; 1094s # _ExtendedGDBusPropertyInfo *info; 1094s # GVariant *ret; 1094s # ret = NULL; 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1094s # g_assert (info != NULL); 1094s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1094s # if (pspec == NULL) 1094s # { 1094s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1094s # } 1094s # else 1094s # { 1094s # g_value_init (&value, pspec->value_type); 1094s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1094s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1094s # g_value_unset (&value); 1094s # } 1094s # return ret; 1094s # } 1094s # 1094s # static gboolean 1094s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1094s # GDBusConnection *connection G_GNUC_UNUSED, 1094s # const gchar *sender G_GNUC_UNUSED, 1094s # const gchar *object_path G_GNUC_UNUSED, 1094s # const gchar *interface_name G_GNUC_UNUSED, 1094s # const gchar *property_name, 1094s # GVariant *variant, 1094s # GError **error, 1094s # gpointer user_data) 1094s # { 1094s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1094s # GValue value = G_VALUE_INIT; 1094s # GParamSpec *pspec; 1094s # _ExtendedGDBusPropertyInfo *info; 1094s # gboolean ret; 1094s # ret = FALSE; 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1094s # g_assert (info != NULL); 1094s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1094s # if (pspec == NULL) 1094s # { 1094s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1094s # } 1094s # else 1094s # { 1094s # if (info->use_gvariant) 1094s # g_value_set_variant (&value, variant); 1094s # else 1094s # g_dbus_gvariant_to_gvalue (variant, &value); 1094s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1094s # g_value_unset (&value); 1094s # ret = TRUE; 1094s # } 1094s # return ret; 1094s # } 1094s # 1094s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1094s # { 1094s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1094s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1094s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1094s # {NULL} 1094s # }; 1094s # 1094s # static GDBusInterfaceInfo * 1094s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1094s # { 1094s # return org_project_bar_frobnicator_interface_info (); 1094s # } 1094s # 1094s # static GDBusInterfaceVTable * 1094s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1094s # { 1094s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1094s # } 1094s # 1094s # static GVariant * 1094s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1094s # { 1094s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1094s # 1094s # GVariantBuilder builder; 1094s # guint n; 1094s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1094s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1094s # goto out; 1094s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1094s # { 1094s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1094s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1094s # { 1094s # GVariant *value; 1094s # 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); 1094s # if (value != NULL) 1094s # { 1094s # g_variant_take_ref (value); 1094s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1094s # g_variant_unref (value); 1094s # } 1094s # } 1094s # } 1094s # out: 1094s # return g_variant_builder_end (&builder); 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1094s # { 1094s # } 1094s # 1094s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1094s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1094s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1094s # 1094s # #else 1094s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1094s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1094s # 1094s # #endif 1094s # static void 1094s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1094s # { 1094s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1094s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1094s # if (skeleton->priv->changed_properties_idle_source != NULL) 1094s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1094s # g_main_context_unref (skeleton->priv->context); 1094s # g_mutex_clear (&skeleton->priv->lock); 1094s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1094s # { 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1094s # #else 1094s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1094s # #endif 1094s # 1094s # g_mutex_init (&skeleton->priv->lock); 1094s # skeleton->priv->context = g_main_context_ref_thread_default (); 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1094s # { 1094s # GObjectClass *gobject_class; 1094s # GDBusInterfaceSkeletonClass *skeleton_class; 1094s # 1094s # gobject_class = G_OBJECT_CLASS (klass); 1094s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1094s # 1094s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1094s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1094s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1094s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1094s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1094s # 1094s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1094s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1094s # #endif 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1094s # { 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_skeleton_new: 1094s # * 1094s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1094s # * 1094s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1094s # */ 1094s # OrgProjectBarFrobnicator * 1094s # org_project_bar_frobnicator_skeleton_new (void) 1094s # { 1094s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1094s # } 1094s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkqcagrl6/tmpu_k9uow82.xml', '/tmp/tmpkqcagrl6/tmp40_8jdgy1.xml', '--output', '-', '--body'] 1094s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1094s # Output: /* 1094s # * This file is generated by gdbus-codegen, do not modify it. 1094s # * 1094s # * The license of this code is the same as for the D-Bus interface description 1094s # * it was derived from. Note that it links to GLib, so must comply with the 1094s # * LGPL linking clauses. 1094s # */ 1094s # 1094s # #ifdef HAVE_CONFIG_H 1094s # # include "config.h" 1094s # #endif 1094s # 1094s # #include 1094s # #ifdef G_OS_UNIX 1094s # # include 1094s # #endif 1094s # 1094s # #ifdef G_ENABLE_DEBUG 1094s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1094s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1094s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1094s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1094s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1094s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1094s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1094s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1094s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1094s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1094s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1094s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1094s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1094s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1094s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1094s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1094s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1094s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1094s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1094s # #else /* !G_ENABLE_DEBUG */ 1094s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1094s # * Do not access GValues directly in your code. Instead, use the 1094s # * g_value_get_*() functions 1094s # */ 1094s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1094s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1094s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1094s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1094s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1094s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1094s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1094s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1094s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1094s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1094s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1094s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1094s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1094s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1094s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1094s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1094s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1094s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1094s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1094s # #endif /* !G_ENABLE_DEBUG */ 1094s # 1094s # typedef struct 1094s # { 1094s # GDBusArgInfo parent_struct; 1094s # gboolean use_gvariant; 1094s # } _ExtendedGDBusArgInfo; 1094s # 1094s # typedef struct 1094s # { 1094s # GDBusMethodInfo parent_struct; 1094s # const gchar *signal_name; 1094s # gboolean pass_fdlist; 1094s # } _ExtendedGDBusMethodInfo; 1094s # 1094s # typedef struct 1094s # { 1094s # GDBusSignalInfo parent_struct; 1094s # const gchar *signal_name; 1094s # } _ExtendedGDBusSignalInfo; 1094s # 1094s # typedef struct 1094s # { 1094s # GDBusPropertyInfo parent_struct; 1094s # const gchar *hyphen_name; 1094s # guint use_gvariant : 1; 1094s # guint emits_changed_signal : 1; 1094s # } _ExtendedGDBusPropertyInfo; 1094s # 1094s # typedef struct 1094s # { 1094s # GDBusInterfaceInfo parent_struct; 1094s # const gchar *hyphen_name; 1094s # } _ExtendedGDBusInterfaceInfo; 1094s # 1094s # typedef struct 1094s # { 1094s # const _ExtendedGDBusPropertyInfo *info; 1094s # guint prop_id; 1094s # GValue orig_value; /* the value before the change */ 1094s # } ChangedProperty; 1094s # 1094s # static void 1094s # _changed_property_free (ChangedProperty *data) 1094s # { 1094s # g_value_unset (&data->orig_value); 1094s # g_free (data); 1094s # } 1094s # 1094s # static gboolean 1094s # _g_strv_equal0 (gchar **a, gchar **b) 1094s # { 1094s # gboolean ret = FALSE; 1094s # guint n; 1094s # if (a == NULL && b == NULL) 1094s # { 1094s # ret = TRUE; 1094s # goto out; 1094s # } 1094s # if (a == NULL || b == NULL) 1094s # goto out; 1094s # if (g_strv_length (a) != g_strv_length (b)) 1094s # goto out; 1094s # for (n = 0; a[n] != NULL; n++) 1094s # if (g_strcmp0 (a[n], b[n]) != 0) 1094s # goto out; 1094s # ret = TRUE; 1094s # out: 1094s # return ret; 1094s # } 1094s # 1094s # static gboolean 1094s # _g_variant_equal0 (GVariant *a, GVariant *b) 1094s # { 1094s # gboolean ret = FALSE; 1094s # if (a == NULL && b == NULL) 1094s # { 1094s # ret = TRUE; 1094s # goto out; 1094s # } 1094s # if (a == NULL || b == NULL) 1094s # goto out; 1094s # ret = g_variant_equal (a, b); 1094s # out: 1094s # return ret; 1094s # } 1094s # 1094s # G_GNUC_UNUSED static gboolean 1094s # _g_value_equal (const GValue *a, const GValue *b) 1094s # { 1094s # gboolean ret = FALSE; 1094s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1094s # switch (G_VALUE_TYPE (a)) 1094s # { 1094s # case G_TYPE_BOOLEAN: 1094s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1094s # break; 1094s # case G_TYPE_UCHAR: 1094s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1094s # break; 1094s # case G_TYPE_INT: 1094s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1094s # break; 1094s # case G_TYPE_UINT: 1094s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1094s # break; 1094s # case G_TYPE_INT64: 1094s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1094s # break; 1094s # case G_TYPE_UINT64: 1094s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1094s # break; 1094s # case G_TYPE_DOUBLE: 1094s # { 1094s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1094s # gdouble da = g_value_get_double (a); 1094s # gdouble db = g_value_get_double (b); 1094s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1094s # } 1094s # break; 1094s # case G_TYPE_STRING: 1094s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1094s # break; 1094s # case G_TYPE_VARIANT: 1094s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1094s # break; 1094s # default: 1094s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1094s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1094s # else 1094s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1094s # break; 1094s # } 1094s # return ret; 1094s # } 1094s # 1094s # static void 1094s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1094s # GClosure *closure, 1094s # GValue *return_value, 1094s # unsigned int n_param_values, 1094s # const GValue *param_values, 1094s # void *invocation_hint G_GNUC_UNUSED, 1094s # void *marshal_data) 1094s # { 1094s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1094s # (void *data1, 1094s # GDBusMethodInvocation *arg_method_invocation, 1094s # void *data2); 1094s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1094s # GCClosure *cc = (GCClosure*) closure; 1094s # void *data1, *data2; 1094s # gboolean v_return; 1094s # 1094s # g_return_if_fail (return_value != NULL); 1094s # g_return_if_fail (n_param_values == 2); 1094s # 1094s # if (G_CCLOSURE_SWAP_DATA (closure)) 1094s # { 1094s # data1 = closure->data; 1094s # data2 = g_value_peek_pointer (param_values + 0); 1094s # } 1094s # else 1094s # { 1094s # data1 = g_value_peek_pointer (param_values + 0); 1094s # data2 = closure->data; 1094s # } 1094s # 1094s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1094s # (marshal_data ? marshal_data : cc->callback); 1094s # 1094s # v_return = 1094s # callback (data1, 1094s # g_marshal_value_peek_object (param_values + 1), 1094s # data2); 1094s # 1094s # g_value_set_boolean (return_value, v_return); 1094s # } 1094s # 1094s # /* ------------------------------------------------------------------------ 1094s # * Code for interface com.acme.Coyote 1094s # * ------------------------------------------------------------------------ 1094s # */ 1094s # 1094s # /** 1094s # * SECTION:ComAcmeCoyote 1094s # * @title: ComAcmeCoyote 1094s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1094s # * 1094s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1094s # */ 1094s # 1094s # enum 1094s # { 1094s # _COM_ACME_COYOTE_SURPRISED, 1094s # }; 1094s # 1094s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1094s # 1094s # /* ---- Introspection data for com.acme.Coyote ---- */ 1094s # 1094s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "Run", 1094s # NULL, 1094s # NULL, 1094s # NULL 1094s # }, 1094s # "handle-run", 1094s # FALSE 1094s # }; 1094s # 1094s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "Sleep", 1094s # NULL, 1094s # NULL, 1094s # NULL 1094s # }, 1094s # "handle-sleep", 1094s # FALSE 1094s # }; 1094s # 1094s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "Attack", 1094s # NULL, 1094s # NULL, 1094s # NULL 1094s # }, 1094s # "handle-attack", 1094s # FALSE 1094s # }; 1094s # 1094s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1094s # { 1094s # &_com_acme_coyote_method_info_run.parent_struct, 1094s # &_com_acme_coyote_method_info_sleep.parent_struct, 1094s # &_com_acme_coyote_method_info_attack.parent_struct, 1094s # NULL 1094s # }; 1094s # 1094s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "Surprised", 1094s # NULL, 1094s # NULL 1094s # }, 1094s # "surprised" 1094s # }; 1094s # 1094s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1094s # { 1094s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1094s # NULL 1094s # }; 1094s # 1094s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "Mood", 1094s # (gchar *) "s", 1094s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1094s # NULL 1094s # }, 1094s # "mood", 1094s # FALSE, 1094s # TRUE 1094s # }; 1094s # 1094s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1094s # { 1094s # &_com_acme_coyote_property_info_mood.parent_struct, 1094s # NULL 1094s # }; 1094s # 1094s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "com.acme.Coyote", 1094s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1094s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1094s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1094s # NULL 1094s # }, 1094s # "com-acme-coyote", 1094s # }; 1094s # 1094s # 1094s # /** 1094s # * com_acme_coyote_interface_info: 1094s # * 1094s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1094s # * 1094s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1094s # */ 1094s # GDBusInterfaceInfo * 1094s # com_acme_coyote_interface_info (void) 1094s # { 1094s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_override_properties: 1094s # * @klass: The class structure for a #GObject derived class. 1094s # * @property_id_begin: The property id to assign to the first overridden property. 1094s # * 1094s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1094s # * The properties are overridden in the order they are defined. 1094s # * 1094s # * Returns: The last property id. 1094s # */ 1094s # guint 1094s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1094s # { 1094s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1094s # return property_id_begin - 1; 1094s # } 1094s # 1094s # 1094s # inline static void 1094s # com_acme_coyote_signal_marshal_surprised ( 1094s # GClosure *closure, 1094s # GValue *return_value, 1094s # unsigned int n_param_values, 1094s # const GValue *param_values, 1094s # void *invocation_hint, 1094s # void *marshal_data) 1094s # { 1094s # g_cclosure_marshal_VOID__VOID (closure, 1094s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1094s # } 1094s # 1094s # inline static void 1094s # com_acme_coyote_method_marshal_run ( 1094s # GClosure *closure, 1094s # GValue *return_value, 1094s # unsigned int n_param_values, 1094s # const GValue *param_values, 1094s # void *invocation_hint, 1094s # void *marshal_data) 1094s # { 1094s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1094s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1094s # } 1094s # 1094s # inline static void 1094s # com_acme_coyote_method_marshal_sleep ( 1094s # GClosure *closure, 1094s # GValue *return_value, 1094s # unsigned int n_param_values, 1094s # const GValue *param_values, 1094s # void *invocation_hint, 1094s # void *marshal_data) 1094s # { 1094s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1094s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1094s # } 1094s # 1094s # inline static void 1094s # com_acme_coyote_method_marshal_attack ( 1094s # GClosure *closure, 1094s # GValue *return_value, 1094s # unsigned int n_param_values, 1094s # const GValue *param_values, 1094s # void *invocation_hint, 1094s # void *marshal_data) 1094s # { 1094s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1094s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1094s # } 1094s # 1094s # 1094s # /** 1094s # * ComAcmeCoyote: 1094s # * 1094s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1094s # */ 1094s # 1094s # /** 1094s # * ComAcmeCoyoteIface: 1094s # * @parent_iface: The parent interface. 1094s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1094s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1094s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1094s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1094s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1094s # * 1094s # * Virtual table for the D-Bus interface com.acme.Coyote. 1094s # */ 1094s # 1094s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1094s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1094s # 1094s # static void 1094s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1094s # { 1094s # /* GObject signals for incoming D-Bus method calls: */ 1094s # /** 1094s # * ComAcmeCoyote::handle-run: 1094s # * @object: A #ComAcmeCoyote. 1094s # * @invocation: A #GDBusMethodInvocation. 1094s # * 1094s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1094s # * 1094s # * 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. 1094s # * 1094s # * 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. 1094s # */ 1094s # g_signal_new ("handle-run", 1094s # G_TYPE_FROM_INTERFACE (iface), 1094s # G_SIGNAL_RUN_LAST, 1094s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1094s # g_signal_accumulator_true_handled, 1094s # NULL, 1094s # com_acme_coyote_method_marshal_run, 1094s # G_TYPE_BOOLEAN, 1094s # 1, 1094s # G_TYPE_DBUS_METHOD_INVOCATION); 1094s # 1094s # /** 1094s # * ComAcmeCoyote::handle-sleep: 1094s # * @object: A #ComAcmeCoyote. 1094s # * @invocation: A #GDBusMethodInvocation. 1094s # * 1094s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1094s # * 1094s # * 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. 1094s # * 1094s # * 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. 1094s # */ 1094s # g_signal_new ("handle-sleep", 1094s # G_TYPE_FROM_INTERFACE (iface), 1094s # G_SIGNAL_RUN_LAST, 1094s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1094s # g_signal_accumulator_true_handled, 1094s # NULL, 1094s # com_acme_coyote_method_marshal_sleep, 1094s # G_TYPE_BOOLEAN, 1094s # 1, 1094s # G_TYPE_DBUS_METHOD_INVOCATION); 1094s # 1094s # /** 1094s # * ComAcmeCoyote::handle-attack: 1094s # * @object: A #ComAcmeCoyote. 1094s # * @invocation: A #GDBusMethodInvocation. 1094s # * 1094s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1094s # * 1094s # * 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. 1094s # * 1094s # * 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. 1094s # */ 1094s # g_signal_new ("handle-attack", 1094s # G_TYPE_FROM_INTERFACE (iface), 1094s # G_SIGNAL_RUN_LAST, 1094s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1094s # g_signal_accumulator_true_handled, 1094s # NULL, 1094s # com_acme_coyote_method_marshal_attack, 1094s # G_TYPE_BOOLEAN, 1094s # 1, 1094s # G_TYPE_DBUS_METHOD_INVOCATION); 1094s # 1094s # /* GObject signals for received D-Bus signals: */ 1094s # /** 1094s # * ComAcmeCoyote::surprised: 1094s # * @object: A #ComAcmeCoyote. 1094s # * 1094s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1094s # * 1094s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1094s # */ 1094s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1094s # g_signal_new ("surprised", 1094s # G_TYPE_FROM_INTERFACE (iface), 1094s # G_SIGNAL_RUN_LAST, 1094s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1094s # NULL, 1094s # NULL, 1094s # com_acme_coyote_signal_marshal_surprised, 1094s # G_TYPE_NONE, 1094s # 0); 1094s # 1094s # /* GObject properties for D-Bus properties: */ 1094s # /** 1094s # * ComAcmeCoyote:mood: 1094s # * 1094s # * Represents the D-Bus property "Mood". 1094s # * 1094s # * 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. 1094s # */ 1094s # g_object_interface_install_property (iface, 1094s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_get_mood: (skip) 1094s # * @object: A #ComAcmeCoyote. 1094s # * 1094s # * Gets the value of the "Mood" D-Bus property. 1094s # * 1094s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1094s # * 1094s # * 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. 1094s # * 1094s # * 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. 1094s # */ 1094s # const gchar * 1094s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1094s # { 1094s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1094s # 1094s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_dup_mood: (skip) 1094s # * @object: A #ComAcmeCoyote. 1094s # * 1094s # * Gets a copy of the "Mood" D-Bus property. 1094s # * 1094s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1094s # * 1094s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1094s # */ 1094s # gchar * 1094s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1094s # { 1094s # gchar *value; 1094s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1094s # return value; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_set_mood: (skip) 1094s # * @object: A #ComAcmeCoyote. 1094s # * @value: The value to set. 1094s # * 1094s # * Sets the "Mood" D-Bus property to @value. 1094s # * 1094s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1094s # */ 1094s # void 1094s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1094s # { 1094s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_emit_surprised: 1094s # * @object: A #ComAcmeCoyote. 1094s # * 1094s # * Emits the "Surprised" D-Bus signal. 1094s # */ 1094s # void 1094s # com_acme_coyote_emit_surprised ( 1094s # ComAcmeCoyote *object) 1094s # { 1094s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_run: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1094s # * 1094s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1094s # */ 1094s # void 1094s # com_acme_coyote_call_run ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1094s # "Run", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # callback, 1094s # user_data); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_run_finish: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Finishes an operation started with com_acme_coyote_call_run(). 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # com_acme_coyote_call_run_finish ( 1094s # ComAcmeCoyote *proxy, 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_run_sync: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1094s # * 1094s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # com_acme_coyote_call_run_sync ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1094s # "Run", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_sleep: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1094s # * 1094s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1094s # */ 1094s # void 1094s # com_acme_coyote_call_sleep ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1094s # "Sleep", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # callback, 1094s # user_data); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_sleep_finish: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # com_acme_coyote_call_sleep_finish ( 1094s # ComAcmeCoyote *proxy, 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_sleep_sync: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1094s # * 1094s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # com_acme_coyote_call_sleep_sync ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1094s # "Sleep", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_attack: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1094s # * 1094s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1094s # */ 1094s # void 1094s # com_acme_coyote_call_attack ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1094s # "Attack", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # callback, 1094s # user_data); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_attack_finish: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Finishes an operation started with com_acme_coyote_call_attack(). 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # com_acme_coyote_call_attack_finish ( 1094s # ComAcmeCoyote *proxy, 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_call_attack_sync: 1094s # * @proxy: A #ComAcmeCoyoteProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1094s # * 1094s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # com_acme_coyote_call_attack_sync ( 1094s # ComAcmeCoyote *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1094s # "Attack", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_complete_run: 1094s # * @object: A #ComAcmeCoyote. 1094s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1094s # * 1094s # * 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. 1094s # * 1094s # * This method will free @invocation, you cannot use it afterwards. 1094s # */ 1094s # void 1094s # com_acme_coyote_complete_run ( 1094s # ComAcmeCoyote *object G_GNUC_UNUSED, 1094s # GDBusMethodInvocation *invocation) 1094s # { 1094s # g_dbus_method_invocation_return_value (invocation, 1094s # g_variant_new ("()")); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_complete_sleep: 1094s # * @object: A #ComAcmeCoyote. 1094s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1094s # * 1094s # * 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. 1094s # * 1094s # * This method will free @invocation, you cannot use it afterwards. 1094s # */ 1094s # void 1094s # com_acme_coyote_complete_sleep ( 1094s # ComAcmeCoyote *object G_GNUC_UNUSED, 1094s # GDBusMethodInvocation *invocation) 1094s # { 1094s # g_dbus_method_invocation_return_value (invocation, 1094s # g_variant_new ("()")); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_complete_attack: 1094s # * @object: A #ComAcmeCoyote. 1094s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1094s # * 1094s # * 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. 1094s # * 1094s # * This method will free @invocation, you cannot use it afterwards. 1094s # */ 1094s # void 1094s # com_acme_coyote_complete_attack ( 1094s # ComAcmeCoyote *object G_GNUC_UNUSED, 1094s # GDBusMethodInvocation *invocation) 1094s # { 1094s # g_dbus_method_invocation_return_value (invocation, 1094s # g_variant_new ("()")); 1094s # } 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # 1094s # /** 1094s # * ComAcmeCoyoteProxy: 1094s # * 1094s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1094s # */ 1094s # 1094s # /** 1094s # * ComAcmeCoyoteProxyClass: 1094s # * @parent_class: The parent class. 1094s # * 1094s # * Class structure for #ComAcmeCoyoteProxy. 1094s # */ 1094s # 1094s # struct _ComAcmeCoyoteProxyPrivate 1094s # { 1094s # GData *qdata; 1094s # }; 1094s # 1094s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1094s # 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1094s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1094s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1094s # 1094s # #else 1094s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1094s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1094s # 1094s # #endif 1094s # static void 1094s # com_acme_coyote_proxy_finalize (GObject *object) 1094s # { 1094s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1094s # g_datalist_clear (&proxy->priv->qdata); 1094s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_get_property (GObject *object, 1094s # guint prop_id, 1094s # GValue *value, 1094s # GParamSpec *pspec G_GNUC_UNUSED) 1094s # { 1094s # const _ExtendedGDBusPropertyInfo *info; 1094s # GVariant *variant; 1094s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1094s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1094s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1094s # if (info->use_gvariant) 1094s # { 1094s # g_value_set_variant (value, variant); 1094s # } 1094s # else 1094s # { 1094s # if (variant != NULL) 1094s # g_dbus_gvariant_to_gvalue (variant, value); 1094s # } 1094s # if (variant != NULL) 1094s # g_variant_unref (variant); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1094s # GAsyncResult *res, 1094s # gpointer user_data) 1094s # { 1094s # const _ExtendedGDBusPropertyInfo *info = user_data; 1094s # GError *error; 1094s # GVariant *_ret; 1094s # error = NULL; 1094s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1094s # if (!_ret) 1094s # { 1094s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1094s # info->parent_struct.name, 1094s # error->message, g_quark_to_string (error->domain), error->code); 1094s # g_error_free (error); 1094s # } 1094s # else 1094s # { 1094s # g_variant_unref (_ret); 1094s # } 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_set_property (GObject *object, 1094s # guint prop_id, 1094s # const GValue *value, 1094s # GParamSpec *pspec G_GNUC_UNUSED) 1094s # { 1094s # const _ExtendedGDBusPropertyInfo *info; 1094s # GVariant *variant; 1094s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1094s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1094s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1094s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1094s # "org.freedesktop.DBus.Properties.Set", 1094s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1094s # g_variant_unref (variant); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1094s # const gchar *sender_name G_GNUC_UNUSED, 1094s # const gchar *signal_name, 1094s # GVariant *parameters) 1094s # { 1094s # _ExtendedGDBusSignalInfo *info; 1094s # GVariantIter iter; 1094s # GVariant *child; 1094s # GValue *paramv; 1094s # gsize num_params; 1094s # gsize n; 1094s # guint signal_id; 1094s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1094s # if (info == NULL) 1094s # return; 1094s # num_params = g_variant_n_children (parameters); 1094s # paramv = g_new0 (GValue, num_params + 1); 1094s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1094s # g_value_set_object (¶mv[0], proxy); 1094s # g_variant_iter_init (&iter, parameters); 1094s # n = 1; 1094s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1094s # { 1094s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1094s # if (arg_info->use_gvariant) 1094s # { 1094s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1094s # g_value_set_variant (¶mv[n], child); 1094s # n++; 1094s # } 1094s # else 1094s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1094s # g_variant_unref (child); 1094s # } 1094s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1094s # g_signal_emitv (paramv, signal_id, 0, NULL); 1094s # for (n = 0; n < num_params + 1; n++) 1094s # g_value_unset (¶mv[n]); 1094s # g_free (paramv); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1094s # GVariant *changed_properties, 1094s # const gchar *const *invalidated_properties) 1094s # { 1094s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1094s # guint n; 1094s # const gchar *key; 1094s # GVariantIter *iter; 1094s # _ExtendedGDBusPropertyInfo *info; 1094s # g_variant_get (changed_properties, "a{sv}", &iter); 1094s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1094s # { 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1094s # g_datalist_remove_data (&proxy->priv->qdata, key); 1094s # if (info != NULL) 1094s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1094s # } 1094s # g_variant_iter_free (iter); 1094s # for (n = 0; invalidated_properties[n] != NULL; n++) 1094s # { 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1094s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1094s # if (info != NULL) 1094s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1094s # } 1094s # } 1094s # 1094s # static const gchar * 1094s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1094s # { 1094s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1094s # GVariant *variant; 1094s # const gchar *value = NULL; 1094s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1094s # if (variant != NULL) 1094s # { 1094s # value = g_variant_get_string (variant, NULL); 1094s # g_variant_unref (variant); 1094s # } 1094s # return value; 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1094s # { 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1094s # #else 1094s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1094s # #endif 1094s # 1094s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1094s # { 1094s # GObjectClass *gobject_class; 1094s # GDBusProxyClass *proxy_class; 1094s # 1094s # gobject_class = G_OBJECT_CLASS (klass); 1094s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1094s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1094s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1094s # 1094s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1094s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1094s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1094s # 1094s # com_acme_coyote_override_properties (gobject_class, 1); 1094s # 1094s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1094s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1094s # #endif 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1094s # { 1094s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_proxy_new: 1094s # * @connection: A #GDBusConnection. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1094s # * 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1094s # * 1094s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1094s # */ 1094s # void 1094s # com_acme_coyote_proxy_new ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # 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); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_proxy_new_finish: 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1094s # * 1094s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # ComAcmeCoyote * 1094s # com_acme_coyote_proxy_new_finish ( 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GObject *ret; 1094s # GObject *source_object; 1094s # source_object = g_async_result_get_source_object (res); 1094s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1094s # g_object_unref (source_object); 1094s # if (ret != NULL) 1094s # return COM_ACME_COYOTE (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_proxy_new_sync: 1094s # * @connection: A #GDBusConnection. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1094s # * 1094s # * The calling thread is blocked until a reply is received. 1094s # * 1094s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1094s # * 1094s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # ComAcmeCoyote * 1094s # com_acme_coyote_proxy_new_sync ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GInitable *ret; 1094s # 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); 1094s # if (ret != NULL) 1094s # return COM_ACME_COYOTE (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # 1094s # /** 1094s # * com_acme_coyote_proxy_new_for_bus: 1094s # * @bus_type: A #GBusType. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: A bus name (well-known or unique). 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1094s # * 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1094s # * 1094s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1094s # */ 1094s # void 1094s # com_acme_coyote_proxy_new_for_bus ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # 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); 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_proxy_new_for_bus_finish: 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1094s # * 1094s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # ComAcmeCoyote * 1094s # com_acme_coyote_proxy_new_for_bus_finish ( 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GObject *ret; 1094s # GObject *source_object; 1094s # source_object = g_async_result_get_source_object (res); 1094s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1094s # g_object_unref (source_object); 1094s # if (ret != NULL) 1094s # return COM_ACME_COYOTE (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_proxy_new_for_bus_sync: 1094s # * @bus_type: A #GBusType. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: A bus name (well-known or unique). 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1094s # * 1094s # * The calling thread is blocked until a reply is received. 1094s # * 1094s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1094s # * 1094s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # ComAcmeCoyote * 1094s # com_acme_coyote_proxy_new_for_bus_sync ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GInitable *ret; 1094s # 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); 1094s # if (ret != NULL) 1094s # return COM_ACME_COYOTE (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # 1094s # /** 1094s # * ComAcmeCoyoteSkeleton: 1094s # * 1094s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1094s # */ 1094s # 1094s # /** 1094s # * ComAcmeCoyoteSkeletonClass: 1094s # * @parent_class: The parent class. 1094s # * 1094s # * Class structure for #ComAcmeCoyoteSkeleton. 1094s # */ 1094s # 1094s # struct _ComAcmeCoyoteSkeletonPrivate 1094s # { 1094s # GValue *properties; 1094s # GList *changed_properties; 1094s # GSource *changed_properties_idle_source; 1094s # GMainContext *context; 1094s # GMutex lock; 1094s # }; 1094s # 1094s # static void 1094s # _com_acme_coyote_skeleton_handle_method_call ( 1094s # GDBusConnection *connection G_GNUC_UNUSED, 1094s # const gchar *sender G_GNUC_UNUSED, 1094s # const gchar *object_path G_GNUC_UNUSED, 1094s # const gchar *interface_name, 1094s # const gchar *method_name, 1094s # GVariant *parameters, 1094s # GDBusMethodInvocation *invocation, 1094s # gpointer user_data) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1094s # _ExtendedGDBusMethodInfo *info; 1094s # GVariantIter iter; 1094s # GVariant *child; 1094s # GValue *paramv; 1094s # gsize num_params; 1094s # guint num_extra; 1094s # gsize n; 1094s # guint signal_id; 1094s # GValue return_value = G_VALUE_INIT; 1094s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1094s # g_assert (info != NULL); 1094s # num_params = g_variant_n_children (parameters); 1094s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1094s # n = 0; 1094s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1094s # g_value_set_object (¶mv[n++], skeleton); 1094s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1094s # g_value_set_object (¶mv[n++], invocation); 1094s # if (info->pass_fdlist) 1094s # { 1094s # #ifdef G_OS_UNIX 1094s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1094s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1094s # #else 1094s # g_assert_not_reached (); 1094s # #endif 1094s # } 1094s # g_variant_iter_init (&iter, parameters); 1094s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1094s # { 1094s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1094s # if (arg_info->use_gvariant) 1094s # { 1094s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1094s # g_value_set_variant (¶mv[n], child); 1094s # n++; 1094s # } 1094s # else 1094s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1094s # g_variant_unref (child); 1094s # } 1094s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1094s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1094s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1094s # if (!g_value_get_boolean (&return_value)) 1094s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1094s # g_value_unset (&return_value); 1094s # for (n = 0; n < num_params + num_extra; n++) 1094s # g_value_unset (¶mv[n]); 1094s # g_free (paramv); 1094s # } 1094s # 1094s # static GVariant * 1094s # _com_acme_coyote_skeleton_handle_get_property ( 1094s # GDBusConnection *connection G_GNUC_UNUSED, 1094s # const gchar *sender G_GNUC_UNUSED, 1094s # const gchar *object_path G_GNUC_UNUSED, 1094s # const gchar *interface_name G_GNUC_UNUSED, 1094s # const gchar *property_name, 1094s # GError **error, 1094s # gpointer user_data) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1094s # GValue value = G_VALUE_INIT; 1094s # GParamSpec *pspec; 1094s # _ExtendedGDBusPropertyInfo *info; 1094s # GVariant *ret; 1094s # ret = NULL; 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1094s # g_assert (info != NULL); 1094s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1094s # if (pspec == NULL) 1094s # { 1094s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1094s # } 1094s # else 1094s # { 1094s # g_value_init (&value, pspec->value_type); 1094s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1094s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1094s # g_value_unset (&value); 1094s # } 1094s # return ret; 1094s # } 1094s # 1094s # static gboolean 1094s # _com_acme_coyote_skeleton_handle_set_property ( 1094s # GDBusConnection *connection G_GNUC_UNUSED, 1094s # const gchar *sender G_GNUC_UNUSED, 1094s # const gchar *object_path G_GNUC_UNUSED, 1094s # const gchar *interface_name G_GNUC_UNUSED, 1094s # const gchar *property_name, 1094s # GVariant *variant, 1094s # GError **error, 1094s # gpointer user_data) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1094s # GValue value = G_VALUE_INIT; 1094s # GParamSpec *pspec; 1094s # _ExtendedGDBusPropertyInfo *info; 1094s # gboolean ret; 1094s # ret = FALSE; 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1094s # g_assert (info != NULL); 1094s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1094s # if (pspec == NULL) 1094s # { 1094s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1094s # } 1094s # else 1094s # { 1094s # if (info->use_gvariant) 1094s # g_value_set_variant (&value, variant); 1094s # else 1094s # g_dbus_gvariant_to_gvalue (variant, &value); 1094s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1094s # g_value_unset (&value); 1094s # ret = TRUE; 1094s # } 1094s # return ret; 1094s # } 1094s # 1094s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1094s # { 1094s # _com_acme_coyote_skeleton_handle_method_call, 1094s # _com_acme_coyote_skeleton_handle_get_property, 1094s # _com_acme_coyote_skeleton_handle_set_property, 1094s # {NULL} 1094s # }; 1094s # 1094s # static GDBusInterfaceInfo * 1094s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1094s # { 1094s # return com_acme_coyote_interface_info (); 1094s # } 1094s # 1094s # static GDBusInterfaceVTable * 1094s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1094s # { 1094s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1094s # } 1094s # 1094s # static GVariant * 1094s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1094s # 1094s # GVariantBuilder builder; 1094s # guint n; 1094s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1094s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1094s # goto out; 1094s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1094s # { 1094s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1094s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1094s # { 1094s # GVariant *value; 1094s # 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); 1094s # if (value != NULL) 1094s # { 1094s # g_variant_take_ref (value); 1094s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1094s # g_variant_unref (value); 1094s # } 1094s # } 1094s # } 1094s # out: 1094s # return g_variant_builder_end (&builder); 1094s # } 1094s # 1094s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1094s # 1094s # static void 1094s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1094s # gboolean emit_changed = FALSE; 1094s # 1094s # g_mutex_lock (&skeleton->priv->lock); 1094s # if (skeleton->priv->changed_properties_idle_source != NULL) 1094s # { 1094s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1094s # skeleton->priv->changed_properties_idle_source = NULL; 1094s # emit_changed = TRUE; 1094s # } 1094s # g_mutex_unlock (&skeleton->priv->lock); 1094s # 1094s # if (emit_changed) 1094s # _com_acme_coyote_emit_changed (skeleton); 1094s # } 1094s # 1094s # static void 1094s # _com_acme_coyote_on_signal_surprised ( 1094s # ComAcmeCoyote *object) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1094s # 1094s # GList *connections, *l; 1094s # GVariant *signal_variant; 1094s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1094s # 1094s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1094s # for (l = connections; l != NULL; l = l->next) 1094s # { 1094s # GDBusConnection *connection = l->data; 1094s # g_dbus_connection_emit_signal (connection, 1094s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1094s # signal_variant, NULL); 1094s # } 1094s # g_variant_unref (signal_variant); 1094s # g_list_free_full (connections, g_object_unref); 1094s # } 1094s # 1094s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1094s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1094s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1094s # 1094s # #else 1094s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1094s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1094s # 1094s # #endif 1094s # static void 1094s # com_acme_coyote_skeleton_finalize (GObject *object) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1094s # guint n; 1094s # for (n = 0; n < 1; n++) 1094s # g_value_unset (&skeleton->priv->properties[n]); 1094s # g_free (skeleton->priv->properties); 1094s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1094s # if (skeleton->priv->changed_properties_idle_source != NULL) 1094s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1094s # g_main_context_unref (skeleton->priv->context); 1094s # g_mutex_clear (&skeleton->priv->lock); 1094s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_skeleton_get_property (GObject *object, 1094s # guint prop_id, 1094s # GValue *value, 1094s # GParamSpec *pspec G_GNUC_UNUSED) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1094s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1094s # g_mutex_lock (&skeleton->priv->lock); 1094s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1094s # g_mutex_unlock (&skeleton->priv->lock); 1094s # } 1094s # 1094s # static gboolean 1094s # _com_acme_coyote_emit_changed (gpointer user_data) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1094s # GList *l; 1094s # GVariantBuilder builder; 1094s # GVariantBuilder invalidated_builder; 1094s # guint num_changes; 1094s # 1094s # g_mutex_lock (&skeleton->priv->lock); 1094s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1094s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1094s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1094s # { 1094s # ChangedProperty *cp = l->data; 1094s # GVariant *variant; 1094s # const GValue *cur_value; 1094s # 1094s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1094s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1094s # { 1094s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1094s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1094s # g_variant_unref (variant); 1094s # num_changes++; 1094s # } 1094s # } 1094s # if (num_changes > 0) 1094s # { 1094s # GList *connections, *ll; 1094s # GVariant *signal_variant; 1094s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1094s # &builder, &invalidated_builder)); 1094s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1094s # for (ll = connections; ll != NULL; ll = ll->next) 1094s # { 1094s # GDBusConnection *connection = ll->data; 1094s # 1094s # g_dbus_connection_emit_signal (connection, 1094s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1094s # "org.freedesktop.DBus.Properties", 1094s # "PropertiesChanged", 1094s # signal_variant, 1094s # NULL); 1094s # } 1094s # g_variant_unref (signal_variant); 1094s # g_list_free_full (connections, g_object_unref); 1094s # } 1094s # else 1094s # { 1094s # g_variant_builder_clear (&builder); 1094s # g_variant_builder_clear (&invalidated_builder); 1094s # } 1094s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1094s # skeleton->priv->changed_properties = NULL; 1094s # skeleton->priv->changed_properties_idle_source = NULL; 1094s # g_mutex_unlock (&skeleton->priv->lock); 1094s # return FALSE; 1094s # } 1094s # 1094s # static void 1094s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1094s # { 1094s # ChangedProperty *cp; 1094s # GList *l; 1094s # cp = NULL; 1094s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1094s # { 1094s # ChangedProperty *i_cp = l->data; 1094s # if (i_cp->info == info) 1094s # { 1094s # cp = i_cp; 1094s # break; 1094s # } 1094s # } 1094s # if (cp == NULL) 1094s # { 1094s # cp = g_new0 (ChangedProperty, 1); 1094s # cp->prop_id = prop_id; 1094s # cp->info = info; 1094s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1094s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1094s # g_value_copy (orig_value, &cp->orig_value); 1094s # } 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_skeleton_notify (GObject *object, 1094s # GParamSpec *pspec G_GNUC_UNUSED) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1094s # g_mutex_lock (&skeleton->priv->lock); 1094s # if (skeleton->priv->changed_properties != NULL && 1094s # skeleton->priv->changed_properties_idle_source == NULL) 1094s # { 1094s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1094s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1094s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1094s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1094s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1094s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1094s # } 1094s # g_mutex_unlock (&skeleton->priv->lock); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_skeleton_set_property (GObject *object, 1094s # guint prop_id, 1094s # const GValue *value, 1094s # GParamSpec *pspec) 1094s # { 1094s # const _ExtendedGDBusPropertyInfo *info; 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1094s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1094s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1094s # g_mutex_lock (&skeleton->priv->lock); 1094s # g_object_freeze_notify (object); 1094s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1094s # { 1094s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1094s # info->emits_changed_signal) 1094s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1094s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1094s # g_object_notify_by_pspec (object, pspec); 1094s # } 1094s # g_mutex_unlock (&skeleton->priv->lock); 1094s # g_object_thaw_notify (object); 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1094s # { 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1094s # #else 1094s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1094s # #endif 1094s # 1094s # g_mutex_init (&skeleton->priv->lock); 1094s # skeleton->priv->context = g_main_context_ref_thread_default (); 1094s # skeleton->priv->properties = g_new0 (GValue, 1); 1094s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1094s # } 1094s # 1094s # static const gchar * 1094s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1094s # { 1094s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1094s # const gchar *value; 1094s # g_mutex_lock (&skeleton->priv->lock); 1094s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1094s # g_mutex_unlock (&skeleton->priv->lock); 1094s # return value; 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1094s # { 1094s # GObjectClass *gobject_class; 1094s # GDBusInterfaceSkeletonClass *skeleton_class; 1094s # 1094s # gobject_class = G_OBJECT_CLASS (klass); 1094s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1094s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1094s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1094s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1094s # 1094s # 1094s # com_acme_coyote_override_properties (gobject_class, 1); 1094s # 1094s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1094s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1094s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1094s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1094s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1094s # 1094s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1094s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1094s # #endif 1094s # } 1094s # 1094s # static void 1094s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1094s # { 1094s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1094s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1094s # } 1094s # 1094s # /** 1094s # * com_acme_coyote_skeleton_new: 1094s # * 1094s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1094s # * 1094s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1094s # */ 1094s # ComAcmeCoyote * 1094s # com_acme_coyote_skeleton_new (void) 1094s # { 1094s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1094s # } 1094s # 1094s # /* ------------------------------------------------------------------------ 1094s # * Code for interface org.project.Bar.Frobnicator 1094s # * ------------------------------------------------------------------------ 1094s # */ 1094s # 1094s # /** 1094s # * SECTION:OrgProjectBarFrobnicator 1094s # * @title: OrgProjectBarFrobnicator 1094s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1094s # * 1094s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1094s # */ 1094s # 1094s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1094s # 1094s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "RandomMethod", 1094s # NULL, 1094s # NULL, 1094s # NULL 1094s # }, 1094s # "handle-random-method", 1094s # FALSE 1094s # }; 1094s # 1094s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1094s # { 1094s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1094s # NULL 1094s # }; 1094s # 1094s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1094s # { 1094s # { 1094s # -1, 1094s # (gchar *) "org.project.Bar.Frobnicator", 1094s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1094s # NULL, 1094s # NULL, 1094s # NULL 1094s # }, 1094s # "org-project-bar-frobnicator", 1094s # }; 1094s # 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_interface_info: 1094s # * 1094s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1094s # * 1094s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1094s # */ 1094s # GDBusInterfaceInfo * 1094s # org_project_bar_frobnicator_interface_info (void) 1094s # { 1094s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_override_properties: 1094s # * @klass: The class structure for a #GObject derived class. 1094s # * @property_id_begin: The property id to assign to the first overridden property. 1094s # * 1094s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1094s # * The properties are overridden in the order they are defined. 1094s # * 1094s # * Returns: The last property id. 1094s # */ 1094s # guint 1094s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1094s # { 1094s # return property_id_begin - 1; 1094s # } 1094s # 1094s # 1094s # inline static void 1094s # org_project_bar_frobnicator_method_marshal_random_method ( 1094s # GClosure *closure, 1094s # GValue *return_value, 1094s # unsigned int n_param_values, 1094s # const GValue *param_values, 1094s # void *invocation_hint, 1094s # void *marshal_data) 1094s # { 1094s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1094s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1094s # } 1094s # 1094s # 1094s # /** 1094s # * OrgProjectBarFrobnicator: 1094s # * 1094s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1094s # */ 1094s # 1094s # /** 1094s # * OrgProjectBarFrobnicatorIface: 1094s # * @parent_iface: The parent interface. 1094s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1094s # * 1094s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1094s # */ 1094s # 1094s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1094s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1094s # { 1094s # /* GObject signals for incoming D-Bus method calls: */ 1094s # /** 1094s # * OrgProjectBarFrobnicator::handle-random-method: 1094s # * @object: A #OrgProjectBarFrobnicator. 1094s # * @invocation: A #GDBusMethodInvocation. 1094s # * 1094s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1094s # * 1094s # * 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. 1094s # * 1094s # * 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. 1094s # */ 1094s # g_signal_new ("handle-random-method", 1094s # G_TYPE_FROM_INTERFACE (iface), 1094s # G_SIGNAL_RUN_LAST, 1094s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1094s # g_signal_accumulator_true_handled, 1094s # NULL, 1094s # org_project_bar_frobnicator_method_marshal_random_method, 1094s # G_TYPE_BOOLEAN, 1094s # 1, 1094s # G_TYPE_DBUS_METHOD_INVOCATION); 1094s # 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_call_random_method: 1094s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1094s # * 1094s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1094s # */ 1094s # void 1094s # org_project_bar_frobnicator_call_random_method ( 1094s # OrgProjectBarFrobnicator *proxy, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1094s # "RandomMethod", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # callback, 1094s # user_data); 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_call_random_method_finish: 1094s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # org_project_bar_frobnicator_call_random_method_finish ( 1094s # OrgProjectBarFrobnicator *proxy, 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_call_random_method_sync: 1094s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL. 1094s # * 1094s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1094s # * 1094s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1094s # * 1094s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1094s # */ 1094s # gboolean 1094s # org_project_bar_frobnicator_call_random_method_sync ( 1094s # OrgProjectBarFrobnicator *proxy, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GVariant *_ret; 1094s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1094s # "RandomMethod", 1094s # g_variant_new ("()"), 1094s # G_DBUS_CALL_FLAGS_NONE, 1094s # -1, 1094s # cancellable, 1094s # error); 1094s # if (_ret == NULL) 1094s # goto _out; 1094s # g_variant_get (_ret, 1094s # "()"); 1094s # g_variant_unref (_ret); 1094s # _out: 1094s # return _ret != NULL; 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_complete_random_method: 1094s # * @object: A #OrgProjectBarFrobnicator. 1094s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1094s # * 1094s # * 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. 1094s # * 1094s # * This method will free @invocation, you cannot use it afterwards. 1094s # */ 1094s # void 1094s # org_project_bar_frobnicator_complete_random_method ( 1094s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1094s # GDBusMethodInvocation *invocation) 1094s # { 1094s # g_dbus_method_invocation_return_value (invocation, 1094s # g_variant_new ("()")); 1094s # } 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # 1094s # /** 1094s # * OrgProjectBarFrobnicatorProxy: 1094s # * 1094s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1094s # */ 1094s # 1094s # /** 1094s # * OrgProjectBarFrobnicatorProxyClass: 1094s # * @parent_class: The parent class. 1094s # * 1094s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1094s # */ 1094s # 1094s # struct _OrgProjectBarFrobnicatorProxyPrivate 1094s # { 1094s # GData *qdata; 1094s # }; 1094s # 1094s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1094s # 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1094s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1094s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1094s # 1094s # #else 1094s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1094s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1094s # 1094s # #endif 1094s # static void 1094s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1094s # { 1094s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1094s # g_datalist_clear (&proxy->priv->qdata); 1094s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1094s # guint prop_id G_GNUC_UNUSED, 1094s # GValue *value G_GNUC_UNUSED, 1094s # GParamSpec *pspec G_GNUC_UNUSED) 1094s # { 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1094s # guint prop_id G_GNUC_UNUSED, 1094s # const GValue *value G_GNUC_UNUSED, 1094s # GParamSpec *pspec G_GNUC_UNUSED) 1094s # { 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1094s # const gchar *sender_name G_GNUC_UNUSED, 1094s # const gchar *signal_name, 1094s # GVariant *parameters) 1094s # { 1094s # _ExtendedGDBusSignalInfo *info; 1094s # GVariantIter iter; 1094s # GVariant *child; 1094s # GValue *paramv; 1094s # gsize num_params; 1094s # gsize n; 1094s # guint signal_id; 1094s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1094s # if (info == NULL) 1094s # return; 1094s # num_params = g_variant_n_children (parameters); 1094s # paramv = g_new0 (GValue, num_params + 1); 1094s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1094s # g_value_set_object (¶mv[0], proxy); 1094s # g_variant_iter_init (&iter, parameters); 1094s # n = 1; 1094s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1094s # { 1094s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1094s # if (arg_info->use_gvariant) 1094s # { 1094s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1094s # g_value_set_variant (¶mv[n], child); 1094s # n++; 1094s # } 1094s # else 1094s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1094s # g_variant_unref (child); 1094s # } 1094s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1094s # g_signal_emitv (paramv, signal_id, 0, NULL); 1094s # for (n = 0; n < num_params + 1; n++) 1094s # g_value_unset (¶mv[n]); 1094s # g_free (paramv); 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1094s # GVariant *changed_properties, 1094s # const gchar *const *invalidated_properties) 1094s # { 1094s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1094s # guint n; 1094s # const gchar *key; 1094s # GVariantIter *iter; 1094s # _ExtendedGDBusPropertyInfo *info; 1094s # g_variant_get (changed_properties, "a{sv}", &iter); 1094s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1094s # { 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1094s # g_datalist_remove_data (&proxy->priv->qdata, key); 1094s # if (info != NULL) 1094s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1094s # } 1094s # g_variant_iter_free (iter); 1094s # for (n = 0; invalidated_properties[n] != NULL; n++) 1094s # { 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1094s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1094s # if (info != NULL) 1094s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1094s # } 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1094s # { 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1094s # #else 1094s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1094s # #endif 1094s # 1094s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1094s # { 1094s # GObjectClass *gobject_class; 1094s # GDBusProxyClass *proxy_class; 1094s # 1094s # gobject_class = G_OBJECT_CLASS (klass); 1094s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1094s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1094s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1094s # 1094s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1094s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1094s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1094s # 1094s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1094s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1094s # #endif 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1094s # { 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_proxy_new: 1094s # * @connection: A #GDBusConnection. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1094s # * 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1094s # * 1094s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1094s # */ 1094s # void 1094s # org_project_bar_frobnicator_proxy_new ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # 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); 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_proxy_new_finish: 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1094s # * 1094s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # OrgProjectBarFrobnicator * 1094s # org_project_bar_frobnicator_proxy_new_finish ( 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GObject *ret; 1094s # GObject *source_object; 1094s # source_object = g_async_result_get_source_object (res); 1094s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1094s # g_object_unref (source_object); 1094s # if (ret != NULL) 1094s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_proxy_new_sync: 1094s # * @connection: A #GDBusConnection. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1094s # * 1094s # * The calling thread is blocked until a reply is received. 1094s # * 1094s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1094s # * 1094s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # OrgProjectBarFrobnicator * 1094s # org_project_bar_frobnicator_proxy_new_sync ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GInitable *ret; 1094s # 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); 1094s # if (ret != NULL) 1094s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_proxy_new_for_bus: 1094s # * @bus_type: A #GBusType. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: A bus name (well-known or unique). 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1094s # * @user_data: User data to pass to @callback. 1094s # * 1094s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1094s # * 1094s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1094s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1094s # * 1094s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1094s # */ 1094s # void 1094s # org_project_bar_frobnicator_proxy_new_for_bus ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data) 1094s # { 1094s # 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); 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1094s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1094s # * 1094s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # OrgProjectBarFrobnicator * 1094s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1094s # GAsyncResult *res, 1094s # GError **error) 1094s # { 1094s # GObject *ret; 1094s # GObject *source_object; 1094s # source_object = g_async_result_get_source_object (res); 1094s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1094s # g_object_unref (source_object); 1094s # if (ret != NULL) 1094s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1094s # * @bus_type: A #GBusType. 1094s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1094s # * @name: A bus name (well-known or unique). 1094s # * @object_path: An object path. 1094s # * @cancellable: (nullable): A #GCancellable or %NULL. 1094s # * @error: Return location for error or %NULL 1094s # * 1094s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1094s # * 1094s # * The calling thread is blocked until a reply is received. 1094s # * 1094s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1094s # * 1094s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1094s # */ 1094s # OrgProjectBarFrobnicator * 1094s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error) 1094s # { 1094s # GInitable *ret; 1094s # 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); 1094s # if (ret != NULL) 1094s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1094s # else 1094s # return NULL; 1094s # } 1094s # 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # 1094s # /** 1094s # * OrgProjectBarFrobnicatorSkeleton: 1094s # * 1094s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1094s # */ 1094s # 1094s # /** 1094s # * OrgProjectBarFrobnicatorSkeletonClass: 1094s # * @parent_class: The parent class. 1094s # * 1094s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1094s # */ 1094s # 1094s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1094s # { 1094s # GValue *properties; 1094s # GList *changed_properties; 1094s # GSource *changed_properties_idle_source; 1094s # GMainContext *context; 1094s # GMutex lock; 1094s # }; 1094s # 1094s # static void 1094s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1094s # GDBusConnection *connection G_GNUC_UNUSED, 1094s # const gchar *sender G_GNUC_UNUSED, 1094s # const gchar *object_path G_GNUC_UNUSED, 1094s # const gchar *interface_name, 1094s # const gchar *method_name, 1094s # GVariant *parameters, 1094s # GDBusMethodInvocation *invocation, 1094s # gpointer user_data) 1094s # { 1094s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1094s # _ExtendedGDBusMethodInfo *info; 1094s # GVariantIter iter; 1094s # GVariant *child; 1094s # GValue *paramv; 1094s # gsize num_params; 1094s # guint num_extra; 1094s # gsize n; 1094s # guint signal_id; 1094s # GValue return_value = G_VALUE_INIT; 1094s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1094s # g_assert (info != NULL); 1094s # num_params = g_variant_n_children (parameters); 1094s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1094s # n = 0; 1094s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1094s # g_value_set_object (¶mv[n++], skeleton); 1094s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1094s # g_value_set_object (¶mv[n++], invocation); 1094s # if (info->pass_fdlist) 1094s # { 1094s # #ifdef G_OS_UNIX 1094s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1094s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1094s # #else 1094s # g_assert_not_reached (); 1094s # #endif 1094s # } 1094s # g_variant_iter_init (&iter, parameters); 1094s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1094s # { 1094s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1094s # if (arg_info->use_gvariant) 1094s # { 1094s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1094s # g_value_set_variant (¶mv[n], child); 1094s # n++; 1094s # } 1094s # else 1094s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1094s # g_variant_unref (child); 1094s # } 1094s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1094s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1094s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1094s # if (!g_value_get_boolean (&return_value)) 1094s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1094s # g_value_unset (&return_value); 1094s # for (n = 0; n < num_params + num_extra; n++) 1094s # g_value_unset (¶mv[n]); 1094s # g_free (paramv); 1094s # } 1094s # 1094s # static GVariant * 1094s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1094s # GDBusConnection *connection G_GNUC_UNUSED, 1094s # const gchar *sender G_GNUC_UNUSED, 1094s # const gchar *object_path G_GNUC_UNUSED, 1094s # const gchar *interface_name G_GNUC_UNUSED, 1094s # const gchar *property_name, 1094s # GError **error, 1094s # gpointer user_data) 1094s # { 1094s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1094s # GValue value = G_VALUE_INIT; 1094s # GParamSpec *pspec; 1094s # _ExtendedGDBusPropertyInfo *info; 1094s # GVariant *ret; 1094s # ret = NULL; 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1094s # g_assert (info != NULL); 1094s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1094s # if (pspec == NULL) 1094s # { 1094s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1094s # } 1094s # else 1094s # { 1094s # g_value_init (&value, pspec->value_type); 1094s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1094s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1094s # g_value_unset (&value); 1094s # } 1094s # return ret; 1094s # } 1094s # 1094s # static gboolean 1094s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1094s # GDBusConnection *connection G_GNUC_UNUSED, 1094s # const gchar *sender G_GNUC_UNUSED, 1094s # const gchar *object_path G_GNUC_UNUSED, 1094s # const gchar *interface_name G_GNUC_UNUSED, 1094s # const gchar *property_name, 1094s # GVariant *variant, 1094s # GError **error, 1094s # gpointer user_data) 1094s # { 1094s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1094s # GValue value = G_VALUE_INIT; 1094s # GParamSpec *pspec; 1094s # _ExtendedGDBusPropertyInfo *info; 1094s # gboolean ret; 1094s # ret = FALSE; 1094s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1094s # g_assert (info != NULL); 1094s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1094s # if (pspec == NULL) 1094s # { 1094s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1094s # } 1094s # else 1094s # { 1094s # if (info->use_gvariant) 1094s # g_value_set_variant (&value, variant); 1094s # else 1094s # g_dbus_gvariant_to_gvalue (variant, &value); 1094s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1094s # g_value_unset (&value); 1094s # ret = TRUE; 1094s # } 1094s # return ret; 1094s # } 1094s # 1094s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1094s # { 1094s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1094s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1094s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1094s # {NULL} 1094s # }; 1094s # 1094s # static GDBusInterfaceInfo * 1094s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1094s # { 1094s # return org_project_bar_frobnicator_interface_info (); 1094s # } 1094s # 1094s # static GDBusInterfaceVTable * 1094s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1094s # { 1094s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1094s # } 1094s # 1094s # static GVariant * 1094s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1094s # { 1094s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1094s # 1094s # GVariantBuilder builder; 1094s # guint n; 1094s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1094s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1094s # goto out; 1094s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1094s # { 1094s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1094s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1094s # { 1094s # GVariant *value; 1094s # 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); 1094s # if (value != NULL) 1094s # { 1094s # g_variant_take_ref (value); 1094s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1094s # g_variant_unref (value); 1094s # } 1094s # } 1094s # } 1094s # out: 1094s # return g_variant_builder_end (&builder); 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1094s # { 1094s # } 1094s # 1094s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1094s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1094s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1094s # 1094s # #else 1094s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1094s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1094s # 1094s # #endif 1094s # static void 1094s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1094s # { 1094s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1094s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1094s # if (skeleton->priv->changed_properties_idle_source != NULL) 1094s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1094s # g_main_context_unref (skeleton->priv->context); 1094s # g_mutex_clear (&skeleton->priv->lock); 1094s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1094s # { 1094s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1094s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1094s # #else 1094s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1094s # #endif 1094s # 1094s # g_mutex_init (&skeleton->priv->lock); 1094s # skeleton->priv->context = g_main_context_ref_thread_default (); 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1094s # { 1094s # GObjectClass *gobject_class; 1094s # GDBusInterfaceSkeletonClass *skeleton_class; 1094s # 1094s # gobject_class = G_OBJECT_CLASS (klass); 1094s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1094s # 1094s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1094s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1094s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1094s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1094s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1094s # 1094s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1094s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1094s # #endif 1094s # } 1094s # 1094s # static void 1094s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1094s # { 1094s # } 1094s # 1094s # /** 1094s # * org_project_bar_frobnicator_skeleton_new: 1094s # * 1094s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1094s # * 1094s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1094s # */ 1094s # OrgProjectBarFrobnicator * 1094s # org_project_bar_frobnicator_skeleton_new (void) 1094s # { 1094s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1094s # } 1094s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1094s # tmpdir: /tmp/tmpyhgj07w5 1094s # codegen: /usr/bin/gdbus-codegen 1094s # /tmp/tmpyhgj07w5/tmpxjhgga_9.xml: 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyhgj07w5/tmpxjhgga_9.xml', '--output', '-', '--header'] 1094s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1094s # Output: /* 1094s # * This file is generated by gdbus-codegen, do not modify it. 1094s # * 1094s # * The license of this code is the same as for the D-Bus interface description 1094s # * it was derived from. Note that it links to GLib, so must comply with the 1094s # * LGPL linking clauses. 1094s # */ 1094s # 1094s # #ifndef __STDOUT__ 1094s # #define __STDOUT__ 1094s # 1094s # #include 1094s # 1094s # G_BEGIN_DECLS 1094s # 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # /* Declarations for FDPassing */ 1094s # 1094s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1094s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1094s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1094s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1094s # 1094s # struct _FDPassing; 1094s # typedef struct _FDPassing FDPassing; 1094s # typedef struct _FDPassingIface FDPassingIface; 1094s # 1094s # struct _FDPassingIface 1094s # { 1094s # GTypeInterface parent_iface; 1094s # 1094s # gboolean (*handle_hello_fd) ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GUnixFDList *fd_list, 1094s # const gchar *arg_greeting); 1094s # 1094s # gboolean (*handle_no_annotation) ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GVariant *arg_greeting, 1094s # const gchar *arg_greeting_locale); 1094s # 1094s # gboolean (*handle_no_annotation_nested) ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GVariant *arg_files); 1094s # 1094s # }; 1094s # 1094s # GType fdpassing_get_type (void) G_GNUC_CONST; 1094s # 1094s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1094s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1094s # 1094s # 1094s # /* D-Bus method call completion functions: */ 1094s # void fdpassing_complete_hello_fd ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GUnixFDList *fd_list, 1094s # const gchar *response); 1094s # 1094s # void fdpassing_complete_no_annotation ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GVariant *response, 1094s # const gchar *response_locale); 1094s # 1094s # void fdpassing_complete_no_annotation_nested ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # 1094s # 1094s # /* D-Bus method calls: */ 1094s # void fdpassing_call_hello_fd ( 1094s # FDPassing *proxy, 1094s # const gchar *arg_greeting, 1094s # GUnixFDList *fd_list, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean fdpassing_call_hello_fd_finish ( 1094s # FDPassing *proxy, 1094s # gchar **out_response, 1094s # GUnixFDList **out_fd_list, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean fdpassing_call_hello_fd_sync ( 1094s # FDPassing *proxy, 1094s # const gchar *arg_greeting, 1094s # GUnixFDList *fd_list, 1094s # gchar **out_response, 1094s # GUnixFDList **out_fd_list, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void fdpassing_call_no_annotation ( 1094s # FDPassing *proxy, 1094s # GVariant *arg_greeting, 1094s # const gchar *arg_greeting_locale, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean fdpassing_call_no_annotation_finish ( 1094s # FDPassing *proxy, 1094s # GVariant **out_response, 1094s # gchar **out_response_locale, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean fdpassing_call_no_annotation_sync ( 1094s # FDPassing *proxy, 1094s # GVariant *arg_greeting, 1094s # const gchar *arg_greeting_locale, 1094s # GVariant **out_response, 1094s # gchar **out_response_locale, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void fdpassing_call_no_annotation_nested ( 1094s # FDPassing *proxy, 1094s # GVariant *arg_files, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean fdpassing_call_no_annotation_nested_finish ( 1094s # FDPassing *proxy, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean fdpassing_call_no_annotation_nested_sync ( 1094s # FDPassing *proxy, 1094s # GVariant *arg_files, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # 1094s # 1094s # /* ---- */ 1094s # 1094s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1094s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1094s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1094s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1094s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1094s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1094s # 1094s # typedef struct _FDPassingProxy FDPassingProxy; 1094s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1094s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1094s # 1094s # struct _FDPassingProxy 1094s # { 1094s # /*< private >*/ 1094s # GDBusProxy parent_instance; 1094s # FDPassingProxyPrivate *priv; 1094s # }; 1094s # 1094s # struct _FDPassingProxyClass 1094s # { 1094s # GDBusProxyClass parent_class; 1094s # }; 1094s # 1094s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1094s # 1094s # #if GLIB_CHECK_VERSION(2, 44, 0) 1094s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1094s # #endif 1094s # 1094s # void fdpassing_proxy_new ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # FDPassing *fdpassing_proxy_new_finish ( 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # FDPassing *fdpassing_proxy_new_sync ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void fdpassing_proxy_new_for_bus ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # 1094s # /* ---- */ 1094s # 1094s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1094s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1094s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1094s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1094s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1094s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1094s # 1094s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1094s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1094s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1094s # 1094s # struct _FDPassingSkeleton 1094s # { 1094s # /*< private >*/ 1094s # GDBusInterfaceSkeleton parent_instance; 1094s # FDPassingSkeletonPrivate *priv; 1094s # }; 1094s # 1094s # struct _FDPassingSkeletonClass 1094s # { 1094s # GDBusInterfaceSkeletonClass parent_class; 1094s # }; 1094s # 1094s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1094s # 1094s # #if GLIB_CHECK_VERSION(2, 44, 0) 1094s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1094s # #endif 1094s # 1094s # FDPassing *fdpassing_skeleton_new (void); 1094s # 1094s # 1094s # G_END_DECLS 1094s # 1094s # #endif /* __STDOUT__ */ 1094s # /tmp/tmpyhgj07w5/tmp2ki696zx.xml: 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyhgj07w5/tmp2ki696zx.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1094s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1094s # Output: /* 1094s # * This file is generated by gdbus-codegen, do not modify it. 1094s # * 1094s # * The license of this code is the same as for the D-Bus interface description 1094s # * it was derived from. Note that it links to GLib, so must comply with the 1094s # * LGPL linking clauses. 1094s # */ 1094s # 1094s # #ifndef __STDOUT__ 1094s # #define __STDOUT__ 1094s # 1094s # #include 1094s # 1094s # G_BEGIN_DECLS 1094s # 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # /* Declarations for FDPassing */ 1094s # 1094s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1094s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1094s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1094s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1094s # 1094s # struct _FDPassing; 1094s # typedef struct _FDPassing FDPassing; 1094s # typedef struct _FDPassingIface FDPassingIface; 1094s # 1094s # struct _FDPassingIface 1094s # { 1094s # GTypeInterface parent_iface; 1094s # 1094s # gboolean (*handle_hello_fd) ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GUnixFDList *fd_list, 1094s # const gchar *arg_greeting); 1094s # 1094s # gboolean (*handle_no_annotation) ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GVariant *arg_greeting, 1094s # const gchar *arg_greeting_locale); 1094s # 1094s # gboolean (*handle_no_annotation_nested) ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GVariant *arg_files); 1094s # 1094s # }; 1094s # 1094s # GType fdpassing_get_type (void) G_GNUC_CONST; 1094s # 1094s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1094s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1094s # 1094s # 1094s # /* D-Bus method call completion functions: */ 1094s # void fdpassing_complete_hello_fd ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GUnixFDList *fd_list, 1094s # const gchar *response); 1094s # 1094s # void fdpassing_complete_no_annotation ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GVariant *response, 1094s # const gchar *response_locale); 1094s # 1094s # void fdpassing_complete_no_annotation_nested ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation); 1094s # 1094s # 1094s # 1094s # /* D-Bus method calls: */ 1094s # void fdpassing_call_hello_fd ( 1094s # FDPassing *proxy, 1094s # const gchar *arg_greeting, 1094s # GUnixFDList *fd_list, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean fdpassing_call_hello_fd_finish ( 1094s # FDPassing *proxy, 1094s # gchar **out_response, 1094s # GUnixFDList **out_fd_list, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean fdpassing_call_hello_fd_sync ( 1094s # FDPassing *proxy, 1094s # const gchar *arg_greeting, 1094s # GUnixFDList *fd_list, 1094s # gchar **out_response, 1094s # GUnixFDList **out_fd_list, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void fdpassing_call_no_annotation ( 1094s # FDPassing *proxy, 1094s # GVariant *arg_greeting, 1094s # const gchar *arg_greeting_locale, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean fdpassing_call_no_annotation_finish ( 1094s # FDPassing *proxy, 1094s # GVariant **out_response, 1094s # gchar **out_response_locale, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean fdpassing_call_no_annotation_sync ( 1094s # FDPassing *proxy, 1094s # GVariant *arg_greeting, 1094s # const gchar *arg_greeting_locale, 1094s # GVariant **out_response, 1094s # gchar **out_response_locale, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void fdpassing_call_no_annotation_nested ( 1094s # FDPassing *proxy, 1094s # GVariant *arg_files, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean fdpassing_call_no_annotation_nested_finish ( 1094s # FDPassing *proxy, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean fdpassing_call_no_annotation_nested_sync ( 1094s # FDPassing *proxy, 1094s # GVariant *arg_files, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # 1094s # 1094s # /* ---- */ 1094s # 1094s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1094s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1094s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1094s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1094s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1094s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1094s # 1094s # typedef struct _FDPassingProxy FDPassingProxy; 1094s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1094s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1094s # 1094s # struct _FDPassingProxy 1094s # { 1094s # /*< private >*/ 1094s # GDBusProxy parent_instance; 1094s # FDPassingProxyPrivate *priv; 1094s # }; 1094s # 1094s # struct _FDPassingProxyClass 1094s # { 1094s # GDBusProxyClass parent_class; 1094s # }; 1094s # 1094s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1094s # 1094s # #if GLIB_CHECK_VERSION(2, 44, 0) 1094s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1094s # #endif 1094s # 1094s # void fdpassing_proxy_new ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # FDPassing *fdpassing_proxy_new_finish ( 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # FDPassing *fdpassing_proxy_new_sync ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void fdpassing_proxy_new_for_bus ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # 1094s # /* ---- */ 1094s # 1094s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1094s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1094s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1094s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1094s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1094s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1094s # 1094s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1094s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1094s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1094s # 1094s # struct _FDPassingSkeleton 1094s # { 1094s # /*< private >*/ 1094s # GDBusInterfaceSkeleton parent_instance; 1094s # FDPassingSkeletonPrivate *priv; 1094s # }; 1094s # 1094s # struct _FDPassingSkeletonClass 1094s # { 1094s # GDBusInterfaceSkeletonClass parent_class; 1094s # }; 1094s # 1094s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1094s # 1094s # #if GLIB_CHECK_VERSION(2, 44, 0) 1094s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1094s # #endif 1094s # 1094s # FDPassing *fdpassing_skeleton_new (void); 1094s # 1094s # 1094s # G_END_DECLS 1094s # 1094s # #endif /* __STDOUT__ */ 1094s # /tmp/tmpyhgj07w5/tmpjxmjicy3.xml: 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # 1094s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyhgj07w5/tmpjxmjicy3.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1094s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1094s # Output: /* 1094s # * This file is generated by gdbus-codegen, do not modify it. 1094s # * 1094s # * The license of this code is the same as for the D-Bus interface description 1094s # * it was derived from. Note that it links to GLib, so must comply with the 1094s # * LGPL linking clauses. 1094s # */ 1094s # 1094s # #ifndef __STDOUT__ 1094s # #define __STDOUT__ 1094s # 1094s # #include 1094s # 1094s # G_BEGIN_DECLS 1094s # 1094s # 1094s # /* ------------------------------------------------------------------------ */ 1094s # /* Declarations for FDPassing */ 1094s # 1094s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1094s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1094s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1094s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1094s # 1094s # struct _FDPassing; 1094s # typedef struct _FDPassing FDPassing; 1094s # typedef struct _FDPassingIface FDPassingIface; 1094s # 1094s # struct _FDPassingIface 1094s # { 1094s # GTypeInterface parent_iface; 1094s # 1094s # gboolean (*handle_hello_fd) ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GUnixFDList *fd_list, 1094s # const gchar *arg_greeting); 1094s # 1094s # gboolean (*handle_no_annotation) ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GUnixFDList *fd_list, 1094s # GVariant *arg_greeting, 1094s # const gchar *arg_greeting_locale); 1094s # 1094s # gboolean (*handle_no_annotation_nested) ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GUnixFDList *fd_list, 1094s # GVariant *arg_files); 1094s # 1094s # }; 1094s # 1094s # GType fdpassing_get_type (void) G_GNUC_CONST; 1094s # 1094s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1094s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1094s # 1094s # 1094s # /* D-Bus method call completion functions: */ 1094s # void fdpassing_complete_hello_fd ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GUnixFDList *fd_list, 1094s # const gchar *response); 1094s # 1094s # void fdpassing_complete_no_annotation ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GUnixFDList *fd_list, 1094s # GVariant *response, 1094s # const gchar *response_locale); 1094s # 1094s # void fdpassing_complete_no_annotation_nested ( 1094s # FDPassing *object, 1094s # GDBusMethodInvocation *invocation, 1094s # GUnixFDList *fd_list); 1094s # 1094s # 1094s # 1094s # /* D-Bus method calls: */ 1094s # void fdpassing_call_hello_fd ( 1094s # FDPassing *proxy, 1094s # const gchar *arg_greeting, 1094s # GDBusCallFlags call_flags, 1094s # gint timeout_msec, 1094s # GUnixFDList *fd_list, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean fdpassing_call_hello_fd_finish ( 1094s # FDPassing *proxy, 1094s # gchar **out_response, 1094s # GUnixFDList **out_fd_list, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean fdpassing_call_hello_fd_sync ( 1094s # FDPassing *proxy, 1094s # const gchar *arg_greeting, 1094s # GDBusCallFlags call_flags, 1094s # gint timeout_msec, 1094s # GUnixFDList *fd_list, 1094s # gchar **out_response, 1094s # GUnixFDList **out_fd_list, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void fdpassing_call_no_annotation ( 1094s # FDPassing *proxy, 1094s # GVariant *arg_greeting, 1094s # const gchar *arg_greeting_locale, 1094s # GDBusCallFlags call_flags, 1094s # gint timeout_msec, 1094s # GUnixFDList *fd_list, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean fdpassing_call_no_annotation_finish ( 1094s # FDPassing *proxy, 1094s # GVariant **out_response, 1094s # gchar **out_response_locale, 1094s # GUnixFDList **out_fd_list, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean fdpassing_call_no_annotation_sync ( 1094s # FDPassing *proxy, 1094s # GVariant *arg_greeting, 1094s # const gchar *arg_greeting_locale, 1094s # GDBusCallFlags call_flags, 1094s # gint timeout_msec, 1094s # GUnixFDList *fd_list, 1094s # GVariant **out_response, 1094s # gchar **out_response_locale, 1094s # GUnixFDList **out_fd_list, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void fdpassing_call_no_annotation_nested ( 1094s # FDPassing *proxy, 1094s # GVariant *arg_files, 1094s # GDBusCallFlags call_flags, 1094s # gint timeout_msec, 1094s # GUnixFDList *fd_list, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # 1094s # gboolean fdpassing_call_no_annotation_nested_finish ( 1094s # FDPassing *proxy, 1094s # GUnixFDList **out_fd_list, 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # 1094s # gboolean fdpassing_call_no_annotation_nested_sync ( 1094s # FDPassing *proxy, 1094s # GVariant *arg_files, 1094s # GDBusCallFlags call_flags, 1094s # gint timeout_msec, 1094s # GUnixFDList *fd_list, 1094s # GUnixFDList **out_fd_list, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # 1094s # 1094s # /* ---- */ 1094s # 1094s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1094s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1094s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1094s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1094s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1094s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1094s # 1094s # typedef struct _FDPassingProxy FDPassingProxy; 1094s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1094s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1094s # 1094s # struct _FDPassingProxy 1094s # { 1094s # /*< private >*/ 1094s # GDBusProxy parent_instance; 1094s # FDPassingProxyPrivate *priv; 1094s # }; 1094s # 1094s # struct _FDPassingProxyClass 1094s # { 1094s # GDBusProxyClass parent_class; 1094s # }; 1094s # 1094s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1094s # 1094s # #if GLIB_CHECK_VERSION(2, 44, 0) 1094s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1094s # #endif 1094s # 1094s # void fdpassing_proxy_new ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # FDPassing *fdpassing_proxy_new_finish ( 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # FDPassing *fdpassing_proxy_new_sync ( 1094s # GDBusConnection *connection, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # void fdpassing_proxy_new_for_bus ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GAsyncReadyCallback callback, 1094s # gpointer user_data); 1094s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1094s # GAsyncResult *res, 1094s # GError **error); 1094s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1094s # GBusType bus_type, 1094s # GDBusProxyFlags flags, 1094s # const gchar *name, 1094s # const gchar *object_path, 1094s # GCancellable *cancellable, 1094s # GError **error); 1094s # 1094s # 1094s # /* ---- */ 1094s # 1094s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1094s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1094s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1094s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1094s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1094s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1094s # 1094s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1094s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1094s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1094s # 1094s # struct _FDPassingSkeleton 1094s # { 1094s # /*< private >*/ 1094s # GDBusInterfaceSkeleton parent_instance; 1094s # FDPassingSkeletonPrivate *priv; 1094s # }; 1094s # 1094s # struct _FDPassingSkeletonClass 1094s # { 1094s # GDBusInterfaceSkeletonClass parent_class; 1094s # }; 1094s # 1094s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1094s # 1094s # #if GLIB_CHECK_VERSION(2, 44, 0) 1094s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1094s # #endif 1094s # 1094s # FDPassing *fdpassing_skeleton_new (void); 1094s # 1094s # 1094s # G_END_DECLS 1094s # 1094s # #endif /* __STDOUT__ */ 1094s 1..39 1094s ok - glib/codegen.py.test 1094s # Running test: glib/permission.test 1094s TAP version 13 1094s # random seed: R02S58897d6cdb2ea5b47f619489d54951d7 1094s 1..1 1094s # Start of permission tests 1094s ok 1 /permission/simple 1094s # End of permission tests 1094s ok - glib/permission.test 1094s # Running test: glib/test-printf.test 1094s TAP version 13 1094s # random seed: R02S7c230b048098de3f47790a9f6722bbf0 1094s 1..22 1094s # Start of snprintf tests 1094s ok 1 /snprintf/retval-and-trunc 1094s ok 2 /snprintf/%d 1094s ok 3 /snprintf/%d-invalid 1094s ok 4 /snprintf/%o 1094s ok 5 /snprintf/%u 1094s ok 6 /snprintf/%x 1094s ok 7 /snprintf/%X 1094s ok 8 /snprintf/%f 1094s ok 9 /snprintf/%e 1094s ok 10 /snprintf/%c 1094s ok 11 /snprintf/%s 1094s ok 12 /snprintf/%n 1094s ok 13 /snprintf/test-percent 1094s ok 14 /snprintf/test-positional-params 1094s ok 15 /snprintf/test-64bit 1094s # End of snprintf tests 1094s # Start of printf tests 1094s ok 16 /printf/test-percent 1094s ok 17 /printf/test-positional-params 1094s ok 18 /printf/test-64bit 1094s # Start of test-64bit tests 1094s # Start of subprocess tests 1094s # End of subprocess tests 1094s # End of test-64bit tests 1094s # End of printf tests 1094s # Start of sprintf tests 1094s ok 19 /sprintf/test-positional-params 1094s ok 20 /sprintf/upper-bound 1094s # End of sprintf tests 1094s # Start of vasprintf tests 1094s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1094s ok 21 /vasprintf/invalid-format-placeholder 1094s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1094s ok 22 /vasprintf/invalid-wide-string 1094s # End of vasprintf tests 1094s ok - glib/test-printf.test 1094s # Running test: glib/performance-threaded.test 1094s Running test "liststore-is-a" 1095s 2067 runs, min/avg/max = 0.446/0.484/4.119 ms 1095s Running test "liststore-interface-peek" 1095s # Executing: glib/performance-threaded.test 1096s 2504 runs, min/avg/max = 0.373/0.399/1.576 ms 1096s Running test "liststore-interface-peek-same" 1097s 2533 runs, min/avg/max = 0.373/0.395/1.506 ms 1097s ok - glib/performance-threaded.test 1097s # Running test: glib/gdbus-non-socket.test 1097s TAP version 13 1097s # random seed: R02S4fbf5395121ad2383f2235f4ceb75632 1097s 1..1 1097s # Start of gdbus tests 1097s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_BJ1ZK2/gdbus/non-socket/.dirs/home 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_BJ1ZK2/gdbus/non-socket/.dirs/cache 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_BJ1ZK2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_BJ1ZK2/gdbus/non-socket/.dirs/system-config2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_BJ1ZK2/gdbus/non-socket/.dirs/config 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_BJ1ZK2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_BJ1ZK2/gdbus/non-socket/.dirs/system-data2 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_BJ1ZK2/gdbus/non-socket/.dirs/data 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_BJ1ZK2/gdbus/non-socket/.dirs/state 1097s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_BJ1ZK2/gdbus/non-socket/.dirs/runtime 1097s ok 1 /gdbus/non-socket 1097s # End of gdbus tests 1097s ok - glib/gdbus-non-socket.test 1097s # Running test: glib/mutex.test 1097s TAP version 13 1097s # random seed: R02Sfc0ac6370b8e97d8defa872edbffa588 1097s 1..17 1097s # Start of thread tests 1097s ok 1 /thread/mutex1 1097s ok 2 /thread/mutex2 1097s ok 3 /thread/mutex3 1097s ok 4 /thread/mutex4 1100s # Executing: glib/mutex.test 1105s # Executing: glib/mutex.test 1106s ok 5 /thread/mutex5 1106s # slow test /thread/mutex5 executed in 9.37 secs 1106s # Start of mutex tests 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1106s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1106s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1107s ok 6 /thread/mutex/errno 1107s # slow test /thread/mutex/errno executed in 0.68 secs 1107s # Start of perf tests 1107s # max perf: 1.000000 mips 1107s ok 7 /thread/mutex/perf/uncontended 1107s # Start of contended tests 1107s # max perf: inf mips 1107s ok 8 /thread/mutex/perf/contended/1 1107s # max perf: inf mips 1107s ok 9 /thread/mutex/perf/contended/2 1107s # max perf: 4.000000 mips 1107s ok 10 /thread/mutex/perf/contended/3 1107s # max perf: inf mips 1107s ok 11 /thread/mutex/perf/contended/4 1107s # max perf: inf mips 1107s ok 12 /thread/mutex/perf/contended/5 1107s # max perf: 7.000000 mips 1107s ok 13 /thread/mutex/perf/contended/6 1107s # max perf: 8.000000 mips 1107s ok 14 /thread/mutex/perf/contended/7 1107s # max perf: 9.000000 mips 1107s ok 15 /thread/mutex/perf/contended/8 1107s # max perf: 10.000000 mips 1107s ok 16 /thread/mutex/perf/contended/9 1107s # max perf: 11.000000 mips 1107s ok 17 /thread/mutex/perf/contended/10 1107s # End of contended tests 1107s # End of perf tests 1107s # End of mutex tests 1107s # End of thread tests 1107s ok - glib/mutex.test 1107s # Running test: glib/gdatetime.test 1107s TAP version 13 1107s # random seed: R02Sfadd396e406f830094e73f98883a4faf 1107s 1..68 1107s # Start of GDateTime tests 1107s # Bug Reference: http://bugzilla.gnome.org/702674 1107s ok 1 /GDateTime/invalid 1107s ok 2 /GDateTime/add_days 1107s ok 3 /GDateTime/add_full 1107s ok 4 /GDateTime/add_hours 1107s ok 5 /GDateTime/add_minutes 1107s ok 6 /GDateTime/add_months 1107s ok 7 /GDateTime/add_seconds 1107s ok 8 /GDateTime/add_weeks 1107s ok 9 /GDateTime/add_years 1107s ok 10 /GDateTime/compare 1107s ok 11 /GDateTime/diff 1107s ok 12 /GDateTime/equal 1107s ok 13 /GDateTime/get_day_of_week 1107s ok 14 /GDateTime/get_day_of_month 1107s ok 15 /GDateTime/get_day_of_year 1107s ok 16 /GDateTime/get_hour 1107s ok 17 /GDateTime/get_microsecond 1107s ok 18 /GDateTime/get_minute 1107s ok 19 /GDateTime/get_month 1107s ok 20 /GDateTime/get_second 1107s ok 21 /GDateTime/get_utc_offset 1107s ok 22 /GDateTime/get_year 1107s ok 23 /GDateTime/hash 1107s ok 24 /GDateTime/new_from_unix 1107s ok 25 /GDateTime/new_from_unix_utc 1107s ok 26 /GDateTime/new_from_timeval 1107s ok 27 /GDateTime/new_from_timeval_utc 1107s ok 28 /GDateTime/new_from_iso8601 1107s ok 29 /GDateTime/new_full 1107s ok 30 /GDateTime/now 1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1107s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1107s ok 32 /GDateTime/printf 1107s ok 33 /GDateTime/non_utf8_printf 1107s ok 34 /GDateTime/format_unrepresentable 1107s ok 35 /GDateTime/format_iso8601 1107s ok 36 /GDateTime/strftime 1107s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1107s # Bug Reference: http://bugzilla.gnome.org/749206 1107s ok 38 /GDateTime/month_names 1107s ok 39 /GDateTime/to_local 1107s ok 40 /GDateTime/to_unix 1107s ok 41 /GDateTime/to_timeval 1107s ok 42 /GDateTime/to_utc 1107s ok 43 /GDateTime/now_utc 1107s ok 44 /GDateTime/dst 1107s # Bug Reference: http://bugzilla.gnome.org/642935 1107s ok 45 /GDateTime/test_z 1109s ok 46 /GDateTime/test-all-dates 1109s # slow test /GDateTime/test-all-dates executed in 1.47 secs 1109s ok 47 /GDateTime/unix_usec 1109s # Start of new_from_unix tests 1109s # Bug Reference: http://bugzilla.gnome.org/782089 1109s ok 48 /GDateTime/new_from_unix/overflow 1109s # End of new_from_unix tests 1109s # Start of new_from_timeval tests 1109s # Bug Reference: http://bugzilla.gnome.org/782089 1109s # Maximum supported GTimeVal.tv_sec = 253402300799 1109s ok 49 /GDateTime/new_from_timeval/overflow 1109s # End of new_from_timeval tests 1109s # Start of new_from_iso8601 tests 1109s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1109s # Vector 0: 1990-11-01T10:21:17Z 1109s # Vector 1: 19901101T102117Z 1109s # Vector 2: 1970-01-01T00:00:17.12Z 1109s # Vector 3: 1970-01-01T00:00:17.1234Z 1109s # Vector 4: 1970-01-01T00:00:17.123456Z 1109s # Vector 5: 1980-02-22T12:36:00+02:00 1109s # Vector 6: 1990-12-31T15:59:60-08:00 1109s # Vector 7: 1109s # Vector 8: x 1109s # Vector 9: 123x 1109s # Vector 10: 2001-10+x 1109s # Vector 11: 1980-02-22T 1109s # Vector 12: 2001-10-08Tx 1109s # Vector 13: 2001-10-08T10:11x 1109s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1109s # Vector 15: 1980-02-22T10:36:00Zulu 1109s # Vector 16: 2T0+819855292164632335 1109s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1109s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1109s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1109s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1109s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1109s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1109s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1109s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1109s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1109s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1109s # Vector 27: 20180803T140805.446178377+0100 1109s # Vector 28: 21474836480803T140805.446178377+0100 1109s # Vector 29: 20181303T140805.446178377+0100 1109s # Vector 30: 20180003T140805.446178377+0100 1109s # Vector 31: 20180800T140805.446178377+0100 1109s # Vector 32: 20180832T140805.446178377+0100 1109s # Vector 33: 20180803T240805.446178377+0100 1109s # Vector 34: 20180803T146005.446178377+0100 1109s # Vector 35: 20180803T140863.446178377+0100 1109s # Vector 36: 20180803T140805.446178377+10000 1109s # Vector 37: -0005-01-01T00:00:00Z 1109s # Vector 38: 2018-08-06 1109s # Vector 39: 20180803T140805,446178377+0100 1109s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1109s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1109s # Vector 42: 1990-11-01T10:21:17 1109s # Vector 43: 1719W462 407777-07 1109s # Vector 44: 4011090 260528Z 1109s # Vector 45: 0000W011 228214-22 1109s ok 50 /GDateTime/new_from_iso8601/2 1109s # End of new_from_iso8601 tests 1109s # Start of format_mixed tests 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1109s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1109s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1109s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1109s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1109s # End of format_mixed tests 1109s # Start of strftime tests 1109s ok 55 /GDateTime/strftime/error_handling 1109s # End of strftime tests 1109s # Start of eras tests 1109s ok 56 /GDateTime/eras/japan 1109s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1109s # Vector 0: 1109s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1109s # 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年 1109s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1109s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1109s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1109s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1109s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1109s # Vector 8: + 1109s # Vector 9: +: 1109s # Vector 10: +:: 1109s # Vector 11: +:200 1109s # Vector 12: +:2nonsense 1109s # Vector 13: +:2nonsense: 1109s # Vector 14: +:2: 1109s # Vector 15: +:2:: 1109s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1109s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1109s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1109s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1109s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1109s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1109s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1109s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1109s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1109s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1109s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1109s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1109s # Vector 28: +:2:2020/01/01 1109s # Vector 29: +:2:2020/01/01: 1109s # Vector 30: +:2:2020/01/01:: 1109s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1109s # Vector 32: +:2:2020/01/01:+* 1109s # Vector 33: +:2:2020/01/01:+*: 1109s # Vector 34: +:2:2020/01/01:+*:: 1109s # Vector 35: +:2:2020/01/01:+*:令和 1109s # Vector 36: +:2:2020/01/01:+*:令和: 1109s # Vector 37: +:2:2020/01/01:+*:令和:; 1109s ok 58 /GDateTime/eras/parsing 1109s # End of eras tests 1109s # End of GDateTime tests 1109s # Start of GTimeZone tests 1109s ok 59 /GTimeZone/find-interval 1109s ok 60 /GTimeZone/adjust-time 1109s ok 61 /GTimeZone/no-header 1109s ok 62 /GTimeZone/no-header-identifier 1109s ok 63 /GTimeZone/posix-parse 1109s # Bug Reference: http://bugzilla.gnome.org/697715 1109s ok 64 /GTimeZone/floating-point 1109s # System time zone identifier: Etc/UTC 1109s ok 65 /GTimeZone/identifier 1109s # Vector 0: -158400 1109s # Vector 1: -10000 1109s # Vector 2: -3600 1109s # Vector 3: -61 1109s # Vector 4: -60 1109s # Vector 5: -59 1109s # Vector 6: 0 1109s # Vector 7: 59 1109s # Vector 8: 60 1109s # Vector 9: 61 1109s # Vector 10: 3600 1109s # Vector 11: 10000 1109s # Vector 12: 158400 1109s ok 66 /GTimeZone/new-offset 1109s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1109s ok 67 /GTimeZone/parse-rfc8536 1109s # /GTimeZone/caching summary: GTimeZone instances are cached 1109s ok 68 /GTimeZone/caching 1109s # End of GTimeZone tests 1109s ok - glib/gdatetime.test 1109s # Running test: glib/charset.test 1109s TAP version 13 1109s # random seed: R02S3cfe09b56d2c60d873587e5c2d5613f2 1109s 1..2 1109s # Start of charset tests 1109s # Test 0 1109s # Test 1 1109s # Test 2 1109s # Test 3 1109s ok 1 /charset/language_names_with_category 1109s ok 2 /charset/language_names_with_category_async 1109s # End of charset tests 1109s ok - glib/charset.test 1109s # Running test: glib/bindinggroup.test 1109s TAP version 13 1109s # random seed: R02S328a7aec3361f767b6e9fc12a9d25e5a 1109s 1..11 1109s # Start of GObject tests 1109s # Start of BindingGroup tests 1109s ok 1 /GObject/BindingGroup/invalid 1109s ok 2 /GObject/BindingGroup/default 1109s ok 3 /GObject/BindingGroup/bidirectional 1109s ok 4 /GObject/BindingGroup/transform 1109s ok 5 /GObject/BindingGroup/transform-closures 1109s ok 6 /GObject/BindingGroup/same-object 1109s ok 7 /GObject/BindingGroup/weak-ref-source 1109s ok 8 /GObject/BindingGroup/weak-ref-target 1109s ok 9 /GObject/BindingGroup/properties 1109s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1109s ok 11 /GObject/BindingGroup/empty-closures 1109s # End of BindingGroup tests 1109s # End of GObject tests 1109s ok - glib/bindinggroup.test 1109s # Running test: glib/dynamictests.test 1109s TAP version 13 1109s # random seed: R02Sc935a063394fee0b27693b435e298e1f 1109s 1..2 1109s # Start of GObject tests 1109s ok 1 /GObject/threaded-dynamic-ref-unref-init 1109s ok 2 /GObject/dynamic-interface-properties 1109s # End of GObject tests 1109s ok - glib/dynamictests.test 1109s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1109s TAP version 13 1109s # random seed: R02S16ef96a3660b9aab11e601ff248cd526 1109s 1..8 1109s # Start of gdbus tests 1109s # Start of codegen tests 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/annotations/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/annotations/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/annotations/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/annotations/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/annotations/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/annotations/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/annotations/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/annotations/.dirs/runtime 1109s ok 1 /gdbus/codegen/annotations 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/interface_stability/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/interface_stability/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/interface_stability/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/interface_stability/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/interface_stability/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/interface_stability/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/interface_stability/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/interface_stability/.dirs/runtime 1109s ok 2 /gdbus/codegen/interface_stability 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/object-manager/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/object-manager/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/object-manager/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/object-manager/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/object-manager/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/object-manager/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/object-manager/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/object-manager/.dirs/runtime 1109s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1109s ok 3 /gdbus/codegen/object-manager 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/property-naming/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/property-naming/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/property-naming/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/property-naming/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/property-naming/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/property-naming/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/property-naming/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/property-naming/.dirs/runtime 1109s ok 4 /gdbus/codegen/property-naming 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/autocleanups/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/autocleanups/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/autocleanups/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/autocleanups/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/autocleanups/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/autocleanups/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/autocleanups/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/autocleanups/.dirs/runtime 1109s ok 5 /gdbus/codegen/autocleanups 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/deprecations/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/deprecations/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/deprecations/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/deprecations/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/deprecations/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/deprecations/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/deprecations/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/deprecations/.dirs/runtime 1109s ok 6 /gdbus/codegen/deprecations 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/standalone-interface-info/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/standalone-interface-info/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/standalone-interface-info/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/standalone-interface-info/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/standalone-interface-info/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1109s ok 7 /gdbus/codegen/standalone-interface-info 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/unix-fd-list/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/unix-fd-list/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/unix-fd-list/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/unix-fd-list/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/unix-fd-list/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_1NA0K2/gdbus/codegen/unix-fd-list/.dirs/runtime 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1109s ok 8 /gdbus/codegen/unix-fd-list 1109s # End of codegen tests 1109s # End of gdbus tests 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1109s ok - glib/gdbus-test-codegen-min-required-2-64.test 1109s # Running test: glib/memory-output-stream.test 1109s TAP version 13 1109s # random seed: R02S0ae9c637b71746d97b4a77106a62292a 1109s 1..10 1109s # Start of memory-output-stream tests 1109s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1109s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1109s ok 1 /memory-output-stream/truncate 1109s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1109s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1109s ok 2 /memory-output-stream/get-data-size 1109s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1109s ok 3 /memory-output-stream/properties 1109s ok 4 /memory-output-stream/write-bytes 1109s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1109s ok 5 /memory-output-stream/write-null 1109s ok 6 /memory-output-stream/writev 1109s ok 7 /memory-output-stream/writev_nonblocking 1109s ok 8 /memory-output-stream/steal_as_bytes 1109s # Start of seek tests 1109s ok 9 /memory-output-stream/seek/fixed 1109s ok 10 /memory-output-stream/seek/resizable 1109s # End of seek tests 1109s # End of memory-output-stream tests 1109s ok - glib/memory-output-stream.test 1109s # Running test: glib/inet-address.test 1109s TAP version 13 1109s # random seed: R02S7e907cd1a3d1d642ce40e989b5a68341 1109s 1..11 1109s # Start of inet-address tests 1109s ok 1 /inet-address/parse 1109s ok 2 /inet-address/any 1109s ok 3 /inet-address/loopback 1109s ok 4 /inet-address/bytes 1109s ok 5 /inet-address/property 1109s # End of inet-address tests 1109s # Start of socket-address tests 1109s ok 6 /socket-address/basic 1109s ok 7 /socket-address/to-string 1109s # End of socket-address tests 1109s # Start of address-mask tests 1109s ok 8 /address-mask/parse 1109s ok 9 /address-mask/property 1109s ok 10 /address-mask/equal 1109s ok 11 /address-mask/match 1109s # End of address-mask tests 1109s ok - glib/inet-address.test 1109s # Running test: glib/tls-certificate.test 1109s TAP version 13 1109s # random seed: R02Sd50a29ec5d5d15bc1f28dacee4ecce5f 1109s 1..19 1109s # Start of tls-certificate tests 1109s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1109s ok 1 /tls-certificate/pem-parser 1109s ok 2 /tls-certificate/pem-parser-handles-chain 1109s ok 3 /tls-certificate/from_file 1109s ok 4 /tls-certificate/from_files 1109s ok 5 /tls-certificate/from_files_crlf 1109s ok 6 /tls-certificate/from_files_pkcs8 1109s ok 7 /tls-certificate/from_files_pkcs8enc 1109s ok 8 /tls-certificate/list_from_file 1109s ok 9 /tls-certificate/pkcs11-uri 1109s ok 10 /tls-certificate/pkcs11-uri-unsupported 1109s ok 11 /tls-certificate/from_pkcs12 1109s ok 12 /tls-certificate/from_pkcs12_file 1109s ok 13 /tls-certificate/not-valid-before 1109s ok 14 /tls-certificate/not-valid-after 1109s ok 15 /tls-certificate/subject-name 1109s ok 16 /tls-certificate/issuer-name 1109s ok 17 /tls-certificate/dns-names 1109s ok 18 /tls-certificate/ip-addresses 1109s ok 19 /tls-certificate/pem-parser-no-sentinel 1109s # End of tls-certificate tests 1109s ok - glib/tls-certificate.test 1109s # Running test: glib/properties.test 1109s TAP version 13 1109s # random seed: R02S856453de0f422118d97abfec3d1b6be0 1109s 1..13 1109s # Start of properties tests 1109s ok 1 /properties/install 1109s ok 2 /properties/install-many 1109s ok 3 /properties/notify 1109s ok 4 /properties/notify-queue 1109s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1109s ok 5 /properties/construct 1109s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1109s # Test g_object_get_property with an initialized value 1109s # Test g_object_get_property with an uninitialized value 1109s # Test g_object_get_property with a transformable value 1109s ok 6 /properties/get-property 1109s ok 7 /properties/testv_with_no_properties 1109s ok 8 /properties/testv_with_valid_properties 1109s ok 9 /properties/testv_with_invalid_property_type 1109s ok 10 /properties/testv_with_invalid_property_names 1109s ok 11 /properties/testv_getv 1109s ok 12 /properties/testv_notify_queue 1109s # Start of set-property tests 1109s # Start of variant tests 1109s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1109s ok 13 /properties/set-property/variant/floating 1109s # End of variant tests 1109s # End of set-property tests 1109s # End of properties tests 1109s ok - glib/properties.test 1109s # Running test: glib/fileattributematcher.test 1109s TAP version 13 1109s # random seed: R02S43364dabdc580ae914d9b804431018c6 1109s 1..3 1109s # Start of fileattributematcher tests 1109s ok 1 /fileattributematcher/exact 1109s ok 2 /fileattributematcher/equality 1109s ok 3 /fileattributematcher/subtract 1109s # End of fileattributematcher tests 1109s ok - glib/fileattributematcher.test 1109s # Running test: glib/unicode-normalize.test 1109s TAP version 13 1109s # random seed: R02S991a00bd8c8e2577f8fa60631808570d 1109s 1..3 1109s # Start of unicode tests 1109s # Processing Part0 # Specific cases 1109s # Processing Part1 # Character by character test 1109s # Processing Part2 # Canonical Order Test 1109s # Processing Part3 # PRI #29 Test 1109s ok 1 /unicode/normalize 1109s # Invalid UTF-8 vector 0 1109s # Invalid UTF-8 vector 1 1109s # Invalid UTF-8 vector 2 1109s # Invalid UTF-8 vector 3 1109s # Invalid UTF-8 vector 4 1109s # Invalid UTF-8 vector 5 1109s # Invalid UTF-8 vector 6 1109s # Invalid UTF-8 vector 7 1109s # Invalid UTF-8 vector 8 1109s # Invalid UTF-8 vector 9 1109s # Invalid UTF-8 vector 10 1109s # Invalid UTF-8 vector 11 1109s # Invalid UTF-8 vector 12 1109s ok 2 /unicode/normalize-invalid 1109s # Start of normalize tests 1109s ok 3 /unicode/normalize/bad-length 1109s # End of normalize tests 1109s # End of unicode tests 1109s ok - glib/unicode-normalize.test 1109s # Running test: glib/gdbus-peer.test 1109s TAP version 13 1109s # random seed: R02S439d9e117c95bce6e421b118a0baa832 1109s 1..12 1109s # Start of gdbus tests 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/.dirs/runtime 1109s # Testing with unix:dir address 1109s # Testing with unix:tmpdir address 1109s # Testing with unix:path address 1109s ok 1 /gdbus/peer-to-peer 1109s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/delayed-message-processing/.dirs/home 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/delayed-message-processing/.dirs/cache 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/delayed-message-processing/.dirs/system-config2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/delayed-message-processing/.dirs/config 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/delayed-message-processing/.dirs/system-data2 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/delayed-message-processing/.dirs/data 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/delayed-message-processing/.dirs/state 1109s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NZ4JK2/gdbus/delayed-message-processing/.dirs/runtime 1109s # Testing with unix:dir address 1110s ok 2 /gdbus/delayed-message-processing 1110s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/nonce-tcp/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/nonce-tcp/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/nonce-tcp/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/nonce-tcp/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/nonce-tcp/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/nonce-tcp/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/nonce-tcp/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NZ4JK2/gdbus/nonce-tcp/.dirs/runtime 1110s ok 3 /gdbus/nonce-tcp 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/tcp-anonymous/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/tcp-anonymous/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/tcp-anonymous/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/tcp-anonymous/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/tcp-anonymous/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/tcp-anonymous/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/tcp-anonymous/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NZ4JK2/gdbus/tcp-anonymous/.dirs/runtime 1110s ok 4 /gdbus/tcp-anonymous 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/credentials/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/credentials/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/credentials/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/credentials/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/credentials/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/credentials/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/credentials/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NZ4JK2/gdbus/credentials/.dirs/runtime 1110s ok 5 /gdbus/credentials 1110s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/codegen-peer-to-peer/.dirs/home 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/codegen-peer-to-peer/.dirs/cache 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/codegen-peer-to-peer/.dirs/config 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/codegen-peer-to-peer/.dirs/data 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/codegen-peer-to-peer/.dirs/state 1110s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NZ4JK2/gdbus/codegen-peer-to-peer/.dirs/runtime 1110s # Testing with unix:dir address 1110s # Machine ID: 7bb76ccd1ece4adf9ff99575616098a9 1110s # Executing: glib/gdbus-peer.test 1111s ok 6 /gdbus/codegen-peer-to-peer 1111s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1111s # Start of peer-to-peer tests 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/signals/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/signals/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/signals/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/signals/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/signals/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/signals/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/signals/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/signals/.dirs/runtime 1111s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1111s # Testing with unix:dir address 1111s ok 7 /gdbus/peer-to-peer/signals 1111s # Start of invalid tests 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/server/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/server/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/server/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/server/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1111s ok 8 /gdbus/peer-to-peer/invalid/server 1111s # Start of conn tests 1111s # Start of stream tests 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1111s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1111s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1111s # End of stream tests 1111s # Start of addr tests 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1111s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1111s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1111s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NZ4JK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1111s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1111s # End of addr tests 1111s # End of conn tests 1111s # End of invalid tests 1111s # End of peer-to-peer tests 1111s # End of gdbus tests 1111s ok - glib/gdbus-peer.test 1111s # Running test: glib/socket-address.test 1111s TAP version 13 1111s # random seed: R02S540c2d3b5462ecf7ccbd6f0d12c00fb3 1111s 1..2 1111s # Start of socket tests 1111s # Start of address tests 1111s # Start of unix tests 1111s ok 1 /socket/address/unix/construct 1111s ok 2 /socket/address/unix/to-string 1111s # End of unix tests 1111s # End of address tests 1111s # End of socket tests 1111s ok - glib/socket-address.test 1111s # Running test: glib/socket.test 1111s TAP version 13 1111s # random seed: R02S5372907d89672a32d471780fd711206d 1111s 1..28 1111s # Start of socket tests 1112s ok 1 /socket/ipv4_sync 1112s # slow test /socket/ipv4_sync executed in 1.00 secs 1113s ok 2 /socket/ipv4_async 1113s # slow test /socket/ipv4_async executed in 1.00 secs 1113s ok 3 /socket/ipv6_sync 1113s ok 4 /socket/ipv6_async 1113s ok 5 /socket/ipv6_v4mapped 1114s ok 6 /socket/close_graceful 1114s # slow test /socket/close_graceful executed in 1.00 secs 1114s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1114s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1114s ok 8 /socket/fd_reuse 1114s ok 9 /socket/address 1114s ok 10 /socket/unix-from-fd 1114s ok 11 /socket/unix-connection 1114s ok 12 /socket/unix-connection-ancillary-data 1114s ok 13 /socket/source-postmortem 1114s ok 14 /socket/read_write 1114s ok 15 /socket/read_writev 1114s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1114s ok 16 /socket/receive_bytes 1114s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1114s ok 17 /socket/receive_bytes_from 1114s # Start of ipv4_sync tests 1114s ok 18 /socket/ipv4_sync/datagram 1114s # Start of datagram tests 1115s ok 19 /socket/ipv4_sync/datagram/timeouts 1115s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1115s # End of datagram tests 1115s # End of ipv4_sync tests 1115s # Start of ipv6_sync tests 1115s ok 20 /socket/ipv6_sync/datagram 1115s # Start of datagram tests 1115s # Executing: glib/socket.test 1116s ok 21 /socket/ipv6_sync/datagram/timeouts 1116s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1116s # End of datagram tests 1116s # End of ipv6_sync tests 1116s # Start of reuse tests 1116s ok 22 /socket/reuse/tcp 1116s ok 23 /socket/reuse/udp 1116s # End of reuse tests 1116s # Start of get_available tests 1116s ok 24 /socket/get_available/datagram 1116s ok 25 /socket/get_available/stream 1116s # End of get_available tests 1116s # Start of credentials tests 1116s # Supported on this OS: GCredentials:linux-ucred:pid=0 1116s ok 26 /socket/credentials/tcp_client 1116s # Supported on this OS: GCredentials:linux-ucred:pid=0 1116s ok 27 /socket/credentials/tcp_server 1116s # Supported on this OS: GCredentials:linux-ucred:pid=2809,uid=1000,gid=1000 1116s ok 28 /socket/credentials/unix_socketpair 1116s # End of credentials tests 1116s # End of socket tests 1116s ok - glib/socket.test 1116s # Running test: glib/search-utils.test 1116s TAP version 13 1116s # random seed: R02Sb8d6ac436580822de6d58d24d4282d75 1116s # GLib-DEBUG: Current user locale: C.UTF-8 1116s 1..6 1116s # Start of search tests 1116s # GLib-DEBUG: Started 1116s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1116s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1116s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1116s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1116s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1116s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1116s ok 1 /search/basic 1116s # GLib-DEBUG: Started 1116s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1116s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1116s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1116s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1116s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1116s ok 2 /search/composed 1116s # GLib-DEBUG: Started 1116s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1116s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1116s ok 3 /search/decomposed 1116s # GLib-DEBUG: Started 1116s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1116s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1116s ok 4 /search/turkish 1116s # GLib-DEBUG: Started 1116s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1116s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1116s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1116s ok 5 /search/c_locale_unicode 1116s # GLib-DEBUG: Started 1116s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1116s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1116s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1116s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1116s ok 6 /search/multi_words 1116s # End of search tests 1116s ok - glib/search-utils.test 1116s # Running test: glib/strvbuilder.test 1116s TAP version 13 1116s # random seed: R02S6ddb6ca41f70618739fc353a6e205ecb 1116s 1..6 1116s # Start of strvbuilder tests 1116s ok 1 /strvbuilder/empty 1116s ok 2 /strvbuilder/add 1116s ok 3 /strvbuilder/addv 1116s ok 4 /strvbuilder/add_many 1116s ok 5 /strvbuilder/take 1116s ok 6 /strvbuilder/ref 1116s # End of strvbuilder tests 1116s ok - glib/strvbuilder.test 1116s # Running test: glib/unix.test 1116s TAP version 13 1116s # random seed: R02Sc29823c7d5df33653b08cfb0f0ab09cb 1116s 1..17 1116s # Start of glib-unix tests 1116s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1116s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1116s ok 1 /glib-unix/closefrom 1116s ok 2 /glib-unix/pipe 1116s # /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 1116s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1116s ok 3 /glib-unix/pipe-stdio-overwrite 1116s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1116s ok 4 /glib-unix/pipe-struct 1116s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1116s ok 5 /glib-unix/pipe-struct-auto 1116s ok 6 /glib-unix/error 1116s ok 7 /glib-unix/nonblocking 1117s ok 8 /glib-unix/sighup 1117s # slow test /glib-unix/sighup executed in 0.50 secs 1117s ok 9 /glib-unix/sigterm 1117s # slow test /glib-unix/sigterm executed in 0.50 secs 1118s ok 10 /glib-unix/sighup_again 1118s # slow test /glib-unix/sighup_again executed in 0.50 secs 1118s ok 11 /glib-unix/sighup_add_remove 1118s ok 12 /glib-unix/sighup_nested 1120s ok 13 /glib-unix/callback_after_signal 1120s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1120s ok 14 /glib-unix/child-wait 1120s # Start of closefrom tests 1120s # Start of subprocess tests 1120s # End of subprocess tests 1120s # End of closefrom tests 1120s # Start of pipe tests 1120s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1120s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1120s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1120s ok 15 /glib-unix/pipe/fd-cloexec 1120s # End of pipe tests 1120s # Start of get-passwd-entry tests 1120s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1120s ok 16 /glib-unix/get-passwd-entry/root 1120s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1120s ok 17 /glib-unix/get-passwd-entry/nonexistent 1120s # End of get-passwd-entry tests 1120s # End of glib-unix tests 1120s ok - glib/unix.test 1120s # Running test: glib/atomic-c-90.test 1120s TAP version 13 1120s # random seed: R02S36f9490d66f70706249c8cba18cdbed5 1120s 1..2 1120s # Start of atomic tests 1120s ok 1 /atomic/types 1120s ok 2 /atomic/threaded 1120s # End of atomic tests 1120s ok - glib/atomic-c-90.test 1120s # Running test: glib/dir.test 1120s TAP version 13 1120s # random seed: R02S1186782f1c2a720897594bf38c3011da 1120s 1..3 1120s # Start of dir tests 1120s ok 1 /dir/read 1120s ok 2 /dir/nonexisting 1120s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1120s ok 3 /dir/refcounting 1120s # End of dir tests 1120s ok - glib/dir.test 1120s # Running test: glib/node.test 1120s TAP version 13 1120s # random seed: R02Sfddee359a34892bd5c2fc452e15b1fdd 1120s 1..6 1120s # Start of node tests 1120s ok 1 /node/allocation 1120s ok 2 /node/construction 1120s ok 3 /node/traversal 1120s ok 4 /node/misc 1120s ok 5 /node/unlink 1120s ok 6 /node/copy 1120s # End of node tests 1120s ok - glib/node.test 1120s # Running test: glib/memory-settings-backend.test 1120s TAP version 13 1120s # random seed: R02Sb3b43327cf98c47ea617718c65f7aeab 1120s 1..1 1120s # Start of memory-settings-backend tests 1120s ok 1 /memory-settings-backend/extension-point-registered 1120s # End of memory-settings-backend tests 1120s ok - glib/memory-settings-backend.test 1120s # Running test: glib/gsubprocess.test 1120s TAP version 13 1120s # random seed: R02Sda4267fa9df5aba17c3fa5577f60c710 1120s 1..83 1120s # Start of gsubprocess tests 1120s ok 1 /gsubprocess/noop 1120s ok 2 /gsubprocess/noop-all-to-null 1120s ok 3 /gsubprocess/noop-no-wait 1120s ok 4 /gsubprocess/noop-stdin-inherit 1120s ok 5 /gsubprocess/search-path 1120s ok 6 /gsubprocess/search-path-from-envp 1120s # Executing: glib/gsubprocess.test 1123s ok 7 /gsubprocess/signal 1123s # slow test /gsubprocess/signal executed in 3.06 secs 1123s ok 8 /gsubprocess/exit1 1123s ok 9 /gsubprocess/echo1 1123s ok 10 /gsubprocess/echo-merged 1123s ok 11 /gsubprocess/cat-utf8 1124s ok 12 /gsubprocess/cat-eof 1124s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1125s # Executing: glib/gsubprocess.test 1127s ok 13 /gsubprocess/multi1 1127s # slow test /gsubprocess/multi1 executed in 3.01 secs 1127s ok 14 /gsubprocess/communicate 1130s ok 15 /gsubprocess/terminate 1130s # slow test /gsubprocess/terminate executed in 2.97 secs 1130s ok 16 /gsubprocess/env 1130s # Executing: glib/gsubprocess.test 1130s ok 17 /gsubprocess/cwd 1130s ok 18 /gsubprocess/launcher-close 1130s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1130s ok 19 /gsubprocess/stdout-file 1130s ok 20 /gsubprocess/stdout-fd 1130s ok 21 /gsubprocess/child-setup 1130s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1130s ok 22 /gsubprocess/launcher-environment 1130s # Start of exit1 tests 1130s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1130s ok 23 /gsubprocess/exit1/cancel 1130s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1130s ok 24 /gsubprocess/exit1/cancel_in_cb 1130s # End of exit1 tests 1130s # Start of communicate tests 1130s ok 25 /gsubprocess/communicate/cancelled 1130s ok 26 /gsubprocess/communicate/async 1130s ok 27 /gsubprocess/communicate/utf8 1130s # hello world 1130s ok 28 /gsubprocess/communicate/no-pipes 1130s ok 29 /gsubprocess/communicate/separate-stderr 1130s ok 30 /gsubprocess/communicate/stdout-only 1130s # hello world 1130s ok 31 /gsubprocess/communicate/stderr-only 1130s ok 32 /gsubprocess/communicate/stdout-silence 1130s ok 33 /gsubprocess/communicate/nothing 1130s # Start of async tests 1130s ok 34 /gsubprocess/communicate/async/cancelled 1130s # hello world 1130s ok 35 /gsubprocess/communicate/async/no-pipes 1130s ok 36 /gsubprocess/communicate/async/separate-stderr 1130s ok 37 /gsubprocess/communicate/async/stdout-only 1130s # hello world 1130s ok 38 /gsubprocess/communicate/async/stderr-only 1130s ok 39 /gsubprocess/communicate/async/stdout-silence 1130s # Start of cancelled tests 1130s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1130s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1130s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1130s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1130s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1130s # End of cancelled tests 1130s # End of async tests 1130s # Start of utf8 tests 1130s ok 45 /gsubprocess/communicate/utf8/cancelled 1130s ok 46 /gsubprocess/communicate/utf8/async 1130s # hello world 1130s ok 47 /gsubprocess/communicate/utf8/no-pipes 1130s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1130s ok 49 /gsubprocess/communicate/utf8/stdout-only 1130s # hello world 1130s ok 50 /gsubprocess/communicate/utf8/stderr-only 1130s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1130s ok 52 /gsubprocess/communicate/utf8/invalid 1130s # Start of async tests 1130s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1130s # hello world 1130s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1130s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1130s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1130s # hello world 1130s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1130s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1130s ok 59 /gsubprocess/communicate/utf8/async/invalid 1130s # Start of cancelled tests 1130s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1130s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1130s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1130s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1130s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1130s # End of cancelled tests 1130s # End of async tests 1130s # Start of cancelled tests 1130s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1130s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1130s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1130s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1130s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1130s # End of cancelled tests 1130s # End of utf8 tests 1130s # Start of cancelled tests 1130s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1130s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1130s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1130s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1130s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1130s # End of cancelled tests 1130s # End of communicate tests 1130s # Start of env tests 1130s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1130s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1130s ok 75 /gsubprocess/env/inherit 1130s # End of env tests 1130s # Start of pass-fd tests 1130s ok 76 /gsubprocess/pass-fd/basic 1130s ok 77 /gsubprocess/pass-fd/empty-child-setup 1130s ok 78 /gsubprocess/pass-fd/inherit-fds 1130s # End of pass-fd tests 1130s # Start of fd-conflation tests 1130s ok 79 /gsubprocess/fd-conflation/basic 1130s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1130s ok 81 /gsubprocess/fd-conflation/inherit-fds 1130s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1130s # End of fd-conflation tests 1130s # Start of exit-status tests 1130s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1130s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1130s ok 83 /gsubprocess/exit-status/trapped 1130s # End of exit-status tests 1130s # End of gsubprocess tests 1130s ok - glib/gsubprocess.test 1130s # Running test: glib/network-monitor-race.test 1130s TAP version 13 1130s # random seed: R02S00445750f86a60b0f7adad8817768b1f 1130s 1..1 1130s # Start of network-monitor tests 1130s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1132s ok 1 /network-monitor/create-in-thread 1132s # slow test /network-monitor/create-in-thread executed in 2.17 secs 1132s # End of network-monitor tests 1132s ok - glib/network-monitor-race.test 1132s # Running test: glib/spawn-multithreaded.test 1132s TAP version 13 1132s # random seed: R02Seda155da95d4089517afb41f81617207 1132s 1..4 1132s # Start of gthread tests 1133s # Child 3071 (ttl 1) exited, status 0 1134s # Child 3072 (ttl 2) exited, status 0 1134s ok 1 /gthread/spawn-childs 1134s # slow test /gthread/spawn-childs executed in 2.00 secs 1134s # Created pid: 3076 (ttl 1) 1134s # Created pid: 3077 (ttl 2) 1135s # Executing: glib/spawn-multithreaded.test 1135s # Child 3076 (ttl 1) exited, status 0 1136s # Child 3077 (ttl 2) exited, status 0 1136s ok 2 /gthread/spawn-childs-threads 1136s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1136s ok 3 /gthread/spawn-sync 1136s ok 4 /gthread/spawn-async 1136s # End of gthread tests 1136s ok - glib/spawn-multithreaded.test 1136s # Running test: glib/date.test 1136s TAP version 13 1136s # random seed: R02S9f3bf214c0395d54c536ecbd1c2d7859 1136s 1..121 1136s # Start of date tests 1136s ok 1 /date/basic 1136s ok 2 /date/empty 1136s ok 3 /date/dmy 1136s ok 4 /date/julian 1136s ok 5 /date/compare 1136s ok 6 /date/dates 1136s ok 7 /date/strftime 1136s ok 8 /date/two-digit-years 1136s ok 9 /date/parse 1136s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1136s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1136s ok 11 /date/month_substring 1136s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1136s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1136s ok 13 /date/clamp 1136s ok 14 /date/order 1136s ok 15 /date/copy 1136s # Vector 0: 0000-00-00, invalid 1136s # Vector 1: 0001-01-01, valid 1136s # Vector 2: 0000-01-01, invalid 1136s # Vector 3: 2000-02-30, invalid 1136s # Vector 4: 2000-02-29, valid 1136s # Vector 5: 2001-02-29, invalid 1136s # Vector 6: 65535-01-01, valid 1136s ok 16 /date/valid-dmy 1136s # Start of parse tests 1136s # Test 0 1136s # Test 1 1136s ok 17 /date/parse/invalid 1136s # End of parse tests 1136s # Start of year tests 1136s ok 18 /date/year/1 1136s ok 19 /date/year/2 1136s ok 20 /date/year/3 1136s ok 21 /date/year/4 1136s ok 22 /date/year/5 1136s ok 23 /date/year/6 1136s ok 24 /date/year/7 1136s ok 25 /date/year/8 1136s ok 26 /date/year/9 1136s ok 27 /date/year/10 1136s ok 28 /date/year/11 1136s ok 29 /date/year/12 1136s ok 30 /date/year/13 1136s ok 31 /date/year/14 1136s ok 32 /date/year/98 1136s ok 33 /date/year/99 1136s ok 34 /date/year/100 1136s ok 35 /date/year/101 1136s ok 36 /date/year/102 1136s ok 37 /date/year/103 1136s ok 38 /date/year/397 1136s ok 39 /date/year/398 1136s ok 40 /date/year/399 1136s ok 41 /date/year/400 1136s ok 42 /date/year/401 1136s ok 43 /date/year/402 1136s ok 44 /date/year/403 1136s ok 45 /date/year/404 1136s ok 46 /date/year/405 1137s ok 47 /date/year/406 1137s ok 48 /date/year/1598 1137s ok 49 /date/year/1599 1137s ok 50 /date/year/1600 1137s ok 51 /date/year/1601 1137s ok 52 /date/year/1602 1137s ok 53 /date/year/1650 1137s ok 54 /date/year/1651 1137s ok 55 /date/year/1897 1137s ok 56 /date/year/1898 1137s ok 57 /date/year/1899 1137s ok 58 /date/year/1900 1137s ok 59 /date/year/1901 1137s ok 60 /date/year/1902 1137s ok 61 /date/year/1903 1137s ok 62 /date/year/1961 1137s ok 63 /date/year/1962 1137s ok 64 /date/year/1963 1137s ok 65 /date/year/1964 1137s ok 66 /date/year/1965 1137s ok 67 /date/year/1967 1137s ok 68 /date/year/1968 1137s ok 69 /date/year/1969 1137s ok 70 /date/year/1970 1137s ok 71 /date/year/1971 1137s ok 72 /date/year/1972 1137s ok 73 /date/year/1973 1137s ok 74 /date/year/1974 1137s ok 75 /date/year/1975 1137s ok 76 /date/year/1976 1137s ok 77 /date/year/1977 1137s ok 78 /date/year/1978 1137s ok 79 /date/year/1979 1137s ok 80 /date/year/1980 1137s ok 81 /date/year/1981 1137s ok 82 /date/year/1982 1137s ok 83 /date/year/1983 1137s ok 84 /date/year/1984 1137s ok 85 /date/year/1985 1137s ok 86 /date/year/1986 1137s ok 87 /date/year/1987 1137s ok 88 /date/year/1988 1137s ok 89 /date/year/1989 1137s ok 90 /date/year/1990 1137s ok 91 /date/year/1991 1137s ok 92 /date/year/1992 1137s ok 93 /date/year/1993 1137s ok 94 /date/year/1994 1137s ok 95 /date/year/1995 1137s ok 96 /date/year/1996 1137s ok 97 /date/year/1997 1137s ok 98 /date/year/1998 1137s ok 99 /date/year/1999 1137s ok 100 /date/year/2000 1137s ok 101 /date/year/2001 1137s ok 102 /date/year/2002 1137s ok 103 /date/year/2003 1137s ok 104 /date/year/2004 1137s ok 105 /date/year/2005 1137s ok 106 /date/year/2006 1137s ok 107 /date/year/2007 1137s ok 108 /date/year/2008 1137s ok 109 /date/year/2009 1137s ok 110 /date/year/2010 1137s ok 111 /date/year/2011 1137s ok 112 /date/year/2012 1137s ok 113 /date/year/3000 1137s ok 114 /date/year/3001 1137s ok 115 /date/year/3002 1137s ok 116 /date/year/3998 1137s ok 117 /date/year/3999 1137s ok 118 /date/year/4000 1137s ok 119 /date/year/4001 1137s ok 120 /date/year/4002 1137s ok 121 /date/year/4003 1137s # End of year tests 1137s # End of date tests 1137s ok - glib/date.test 1137s # Running test: glib/signals-refcount3.test 1137s TAP version 13 1137s # random seed: R02S2ee25fed02d34bb8dc8ad4362f050917 1137s 1..1 1137s # Start of gobject tests 1137s # Start of refcount tests 1137s # init 0x1a0ea653f420 1137s # 1137s # init 0x1a0ea653f5c0 1137s # 1140s # Executing: glib/signals-refcount3.test 1142s # dispose 0x1a0ea653f420! 1142s # 1142s # dispose 0x1a0ea653f5c0! 1142s # 1142s ok 1 /gobject/refcount/signals 1142s # slow test /gobject/refcount/signals executed in 5.00 secs 1142s # End of refcount tests 1142s # End of gobject tests 1142s ok - glib/signals-refcount3.test 1142s # Running test: glib/qdata.test 1142s TAP version 13 1142s # random seed: R02S3e94983c97e6ee9d4660b8639d4ccab6 1142s 1..2 1142s # Start of qdata tests 1142s ok 1 /qdata/threaded 1142s ok 2 /qdata/dup 1142s # End of qdata tests 1142s ok - glib/qdata.test 1142s # Running test: glib/slist.test 1142s TAP version 13 1142s # random seed: R02S2c27815322b8036869ad589b75018072 1142s 1..14 1142s # Start of slist tests 1142s ok 1 /slist/sort 1142s ok 2 /slist/sort-with-data 1142s ok 3 /slist/insert-sorted 1142s ok 4 /slist/insert-sorted-with-data 1142s ok 5 /slist/reverse 1142s ok 6 /slist/nth 1142s ok 7 /slist/remove 1142s ok 8 /slist/remove-all 1142s ok 9 /slist/insert 1142s ok 10 /slist/position 1142s ok 11 /slist/concat 1142s ok 12 /slist/copy 1142s # Start of sort tests 1142s ok 13 /slist/sort/stable 1142s # End of sort tests 1142s # Start of copy tests 1142s ok 14 /slist/copy/deep 1142s # End of copy tests 1142s # End of slist tests 1142s ok - glib/slist.test 1142s # Running test: glib/memory-monitor-dbus.test 1142s TAP version 13 1142s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1142s 1..1 1142s ok - glib/memory-monitor-dbus.test 1142s # Running test: glib/utils-c-11.test 1142s TAP version 13 1142s # random seed: R02S9e5763de503645d3d29f37f7bb2e505d 1142s 1..40 1142s # Start of utils tests 1142s ok 1 /utils/language-names 1142s ok 2 /utils/locale-variants 1142s ok 3 /utils/version 1142s ok 4 /utils/appname 1142s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1142s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1142s ok 5 /utils/prgname-thread-safety 1142s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1142s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1142s ok 6 /utils/tmpdir 1142s ok 7 /utils/basic_bits 1142s ok 8 /utils/bits 1142s ok 9 /utils/swap 1142s ok 10 /utils/find-program 1142s ok 11 /utils/find-program-for-path 1142s ok 12 /utils/debug 1142s ok 13 /utils/codeset 1142s ok 14 /utils/codeset2 1142s ok 15 /utils/console-charset 1142s ok 16 /utils/gettext 1142s ok 17 /utils/username 1142s ok 18 /utils/realname 1142s ok 19 /utils/hostname 1142s ok 20 /utils/xdgdirs 1142s ok 21 /utils/specialdir 1142s # NAME: Ubuntu 1142s ok 22 /utils/os-info 1142s ok 23 /utils/clear-pointer 1142s ok 24 /utils/clear-pointer-cast 1142s ok 25 /utils/take-pointer 1142s ok 26 /utils/clear-source 1142s ok 27 /utils/misc-mem 1142s # /utils/aligned-mem summary: Aligned memory allocator 1142s # Alignment must not be zero 1142s # Alignment must be a power of two 1142s # Alignment must be a multiple of sizeof(void*) 1142s ok 28 /utils/aligned-mem 1142s # /utils/free-sized summary: Check that g_free_sized() works 1142s ok 29 /utils/free-sized 1142s ok 30 /utils/nullify 1142s ok 31 /utils/atexit 1142s ok 32 /utils/check-setuid 1142s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1142s ok 33 /utils/int-limits 1142s ok 34 /utils/clear-list 1142s ok 35 /utils/clear-slist 1142s # Start of specialdir tests 1142s ok 36 /utils/specialdir/desktop 1142s # End of specialdir tests 1142s # Start of clear-pointer tests 1142s ok 37 /utils/clear-pointer/side-effects 1142s # End of clear-pointer tests 1142s # Start of aligned-mem tests 1142s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1142s ok 38 /utils/aligned-mem/alignment 1142s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1142s ok 39 /utils/aligned-mem/zeroed 1142s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1142s ok 40 /utils/aligned-mem/free-sized 1142s # Start of subprocess tests 1142s # End of subprocess tests 1142s # End of aligned-mem tests 1142s # End of utils tests 1142s ok - glib/utils-c-11.test 1142s # Running test: glib/gdbus-test-codegen-old.test 1142s TAP version 13 1142s # random seed: R02S571fbb171ac9b566396c789db3dec37f 1142s 1..8 1142s # Start of gdbus tests 1142s # Start of codegen tests 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/annotations/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/annotations/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/annotations/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/annotations/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/annotations/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/annotations/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/annotations/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/annotations/.dirs/runtime 1142s ok 1 /gdbus/codegen/annotations 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/interface_stability/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/interface_stability/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/interface_stability/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/interface_stability/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/interface_stability/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/interface_stability/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/interface_stability/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/interface_stability/.dirs/runtime 1142s ok 2 /gdbus/codegen/interface_stability 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/object-manager/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/object-manager/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/object-manager/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/object-manager/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/object-manager/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/object-manager/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/object-manager/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/object-manager/.dirs/runtime 1142s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1142s ok 3 /gdbus/codegen/object-manager 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/property-naming/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/property-naming/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/property-naming/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/property-naming/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/property-naming/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/property-naming/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/property-naming/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/property-naming/.dirs/runtime 1142s ok 4 /gdbus/codegen/property-naming 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/autocleanups/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/autocleanups/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/autocleanups/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/autocleanups/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/autocleanups/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/autocleanups/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/autocleanups/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/autocleanups/.dirs/runtime 1142s ok 5 /gdbus/codegen/autocleanups 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/deprecations/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/deprecations/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/deprecations/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/deprecations/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/deprecations/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/deprecations/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/deprecations/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/deprecations/.dirs/runtime 1142s ok 6 /gdbus/codegen/deprecations 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/standalone-interface-info/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/standalone-interface-info/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/standalone-interface-info/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/standalone-interface-info/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1142s ok 7 /gdbus/codegen/standalone-interface-info 1142s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/unix-fd-list/.dirs/home 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/unix-fd-list/.dirs/cache 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/unix-fd-list/.dirs/config 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/unix-fd-list/.dirs/data 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/unix-fd-list/.dirs/state 1142s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_2KDMK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1142s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1142s ok 8 /gdbus/codegen/unix-fd-list 1142s # End of codegen tests 1142s # End of gdbus tests 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1142s ok - glib/gdbus-test-codegen-old.test 1142s # Running test: glib/gdbus-threading.test 1142s TAP version 13 1142s # random seed: R02S0b9b45f32a0a0810791d0564d6aabb9b 1142s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1142s ok - glib/gdbus-threading.test 1142s # Running test: glib/cancellable.test 1142s TAP version 13 1142s # random seed: R02S0e507770be0c0da101cbd9113c8e6c06 1142s 1..10 1142s # Start of cancellable tests 1142s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1142s ok 2 /cancellable/null 1142s # /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 1142s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1142s # /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 1143s ok 4 /cancellable/resets-on-cancel-callback-hangs 1143s ok 5 /cancellable/poll-fd 1143s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1143s ok 6 /cancellable/poll-fd-cancelled 1143s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1143s ok 7 /cancellable/poll-fd-cancelled-threaded 1143s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1143s ok 8 /cancellable/cancel-reset-races 1143s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1143s ok 9 /cancellable/cancel-reset-connect-races 1143s # End of cancellable tests 1143s # Start of cancellable-source tests 1143s # /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) 1143s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1144s ok 10 /cancellable-source/threaded-dispose 1144s # slow test /cancellable-source/threaded-dispose executed in 0.96 secs 1144s # End of cancellable-source tests 1144s ok - glib/cancellable.test 1144s # Running test: glib/registered-type-info.test 1144s TAP version 13 1144s # random seed: R02S14c56ccb0801d64fffb33dd885ecf528 1144s 1..1 1144s # Start of registered-type-info tests 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_VYOVK2/registered-type-info/boxed/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_VYOVK2/registered-type-info/boxed/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_VYOVK2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_VYOVK2/registered-type-info/boxed/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_VYOVK2/registered-type-info/boxed/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_VYOVK2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_VYOVK2/registered-type-info/boxed/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_VYOVK2/registered-type-info/boxed/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_VYOVK2/registered-type-info/boxed/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_VYOVK2/registered-type-info/boxed/.dirs/runtime 1144s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1144s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1144s # Expecting CClosure to not be boxed 1144s # Expecting TypeCValue to not be boxed 1144s # Expecting InitiallyUnownedClass to not be boxed 1144s # Expecting BookmarkFile to be boxed 1144s # Expecting Closure to be boxed 1144s # Expecting Object to not be boxed 1144s ok 1 /registered-type-info/boxed 1144s # End of registered-type-info tests 1144s ok - glib/registered-type-info.test 1144s # Running test: glib/gdbus-names.test 1144s TAP version 13 1144s # random seed: R02Scd41f2b594c18b27f80b816618dcf3e3 1144s 1..10 1144s # Start of gdbus tests 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/validate-names/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/validate-names/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_GGJVK2/gdbus/validate-names/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/validate-names/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_GGJVK2/gdbus/validate-names/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/validate-names/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/validate-names/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GGJVK2/gdbus/validate-names/.dirs/runtime 1144s ok 1 /gdbus/validate-names 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-own-name/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-own-name/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-own-name/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-own-name/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-own-name/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-own-name/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-own-name/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-own-name/.dirs/runtime 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s ok 2 /gdbus/bus-own-name 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name/.dirs/runtime 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s ok 3 /gdbus/bus-watch-name 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start/.dirs/runtime 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s ok 4 /gdbus/bus-watch-name-auto-start 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1144s dbus-daemon[3159]: [session uid=1000 pid=3159] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=3150 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1144s # Acquired a message bus connection 1144s dbus-daemon[3159]: [session uid=1000 pid=3159] Successfully activated service 'org.gtk.GDBus.FakeService' 1144s # Acquired the name org.gtk.GDBus.FakeService 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures/.dirs/runtime 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s ok 6 /gdbus/bus-watch-name-closures 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s ok 7 /gdbus/bus-watch-name-closures-auto-start 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-different-context/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-different-context/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-different-context/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-different-context/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-different-context/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-different-context/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-different-context/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-watch-different-context/.dirs/runtime 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s ok 8 /gdbus/bus-watch-different-context 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-unwatch-early/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-unwatch-early/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-unwatch-early/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-unwatch-early/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_GGJVK2/gdbus/bus-unwatch-early/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-unwatch-early/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-unwatch-early/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GGJVK2/gdbus/bus-unwatch-early/.dirs/runtime 1144s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s ok 9 /gdbus/bus-unwatch-early 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/escape-object-path/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/escape-object-path/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_GGJVK2/gdbus/escape-object-path/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/escape-object-path/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_GGJVK2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_GGJVK2/gdbus/escape-object-path/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/escape-object-path/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_GGJVK2/gdbus/escape-object-path/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_GGJVK2/gdbus/escape-object-path/.dirs/runtime 1144s ok 10 /gdbus/escape-object-path 1144s # End of gdbus tests 1144s ok - glib/gdbus-names.test 1144s # Running test: glib/cxx-11.test 1144s TAP version 13 1144s # random seed: R02S13bc0acd9b8424587928ba5603211924 1144s 1..2 1144s # Start of gtask tests 1144s # 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. 1144s ok 1 /gtask/name 1144s # Start of name tests 1144s # 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. 1144s ok 2 /gtask/name/macro-wrapper 1144s # End of name tests 1144s # End of gtask tests 1144s ok - glib/cxx-11.test 1144s # Running test: glib/gdbus-connection-slow.test 1144s TAP version 13 1144s # random seed: R02S67b494372593763ba4d35b799acdf53b 1144s 1..2 1144s # Start of gdbus tests 1144s # Start of connection tests 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/flush/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/flush/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/flush/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/flush/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/flush/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/flush/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/flush/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/flush/.dirs/runtime 1144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s ok 1 /gdbus/connection/flush 1144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/large_message/.dirs/home 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/large_message/.dirs/cache 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/large_message/.dirs/system-config2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/large_message/.dirs/config 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/large_message/.dirs/system-data2 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/large_message/.dirs/data 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/large_message/.dirs/state 1144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_NBJWK2/gdbus/connection/large_message/.dirs/runtime 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1144s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1144s ok 2 /gdbus/connection/large_message 1144s # End of connection tests 1144s # End of gdbus tests 1144s ok - glib/gdbus-connection-slow.test 1144s # Running test: glib/live-g-file.test 1144s TAP version 13 1144s # random seed: R02Sc6ab44c899209ea6f303041ea68050e2 1144s 1..13 1144s # Start of live-g-file tests 1144s # Cleaning target testing structure in 'testdir_live-g-file'... 1144s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1144s ok 1 /live-g-file/prep_clean_structure 1144s # 1144s # Going to create testing structure in 'testdir_live-g-file'... 1144s # Creating directory 'dir1'... 1144s # Creating directory 'dir1/subdir'... 1144s # Creating directory 'dir2'... 1144s # Creating directory 'dir-target'... 1144s # Creating directory 'dir_no-access'... 1144s # Creating directory 'dir_no-write'... 1144s # Creating file 'target-file'... 1144s # Creating file 'normal_file'... 1144s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1144s # Creating file 'executable_file'... 1144s # Creating file 'private_file'... 1144s # Creating file 'normal_file2'... 1144s # Creating file 'readonly_file'... 1144s # Creating file 'UTF_pr?i?lis? z'... 1144s # Creating directory 'dir_pr?i?lis? z'... 1144s # Creating symlink 'lost_symlink' --> 'nowhere'... 1144s # Creating directory 'dir_hidden'... 1144s # Creating file 'dir_hidden/.a-hidden-file'... 1144s # Creating file 'dir_hidden/file-in-.hidden1'... 1144s # Creating file 'dir_hidden/file-in-.hidden2'... 1144s # Creating pattern file... 1144s # done. 1144s ok 2 /live-g-file/create_structure 1144s # Testing sample structure in 'testdir_live-g-file'... 1144s # Testing file 'dir1'... 1144s # Testing file 'dir1/subdir'... 1144s # Testing file 'dir2'... 1144s # Testing file 'dir-target'... 1144s # Testing file 'dir_no-access'... 1144s # Testing file 'dir_no-write'... 1144s # Testing file 'target-file'... 1144s # Testing file 'normal_file'... 1144s # Testing file 'normal_file-symlink'... 1144s # Testing file 'executable_file'... 1144s # Testing file 'private_file'... 1144s # Testing file 'normal_file2'... 1144s # Testing file 'readonly_file'... 1144s # Testing file 'UTF_pr?i?lis? z'... 1144s # Testing file 'dir_pr?i?lis? z'... 1144s # Testing file 'lost_symlink'... 1144s # Testing file 'dir_hidden'... 1144s # Testing file 'dir_hidden/.a-hidden-file'... 1144s # Testing file 'dir_hidden/file-in-.hidden1'... 1144s # Testing file 'dir_hidden/file-in-.hidden2'... 1144s # Testing pattern file... 1144s # read 65536 bytes, total = 65536 of 65536. 1144s ok 3 /live-g-file/test_initial_structure 1144s # Traversing through the sample structure in 'testdir_live-g-file'... 1144s # Found file dir1, relative to root: dir1 1144s # Found file subdir, relative to root: dir1/subdir 1144s # Found file dir2, relative to root: dir2 1144s # Found file dir-target, relative to root: dir-target 1144s # Found file dir_no-access, relative to root: dir_no-access 1144s # Found file dir_no-write, relative to root: dir_no-write 1144s # Found file target-file, relative to root: target-file 1144s # Found file normal_file, relative to root: normal_file 1144s # Found file normal_file-symlink, relative to root: normal_file-symlink 1144s # Found file executable_file, relative to root: executable_file 1144s # Found file private_file, relative to root: private_file 1144s # Found file normal_file2, relative to root: normal_file2 1144s # Found file readonly_file, relative to root: readonly_file 1144s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1144s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1144s # Found file lost_symlink, relative to root: lost_symlink 1144s # Found file dir_hidden, relative to root: dir_hidden 1144s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1144s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1144s # Found file .hidden, relative to root: dir_hidden/.hidden 1144s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1144s # Found file pattern_file, relative to root: pattern_file 1144s ok 4 /live-g-file/test_traverse_structure 1144s # Test enumerate 'testdir_live-g-file'... 1144s # Testing file 'dir_no-access' 1144s # Testing file 'normal_file' 1144s # Testing file 'normal_file-symlink' 1144s # Testing file 'not_exists' 1144s # Testing file 'not_exists' 1144s # Testing file 'not_exists2' 1144s # Testing file 'not_exists3' 1144s # Testing file 'not_exists4' 1144s # Testing file 'dir_no-execute/file' 1144s ok 5 /live-g-file/test_enumerate 1144s # test_open: 'dir1' 1144s # test_open: 'dir_no-access' 1144s # test_open: 'target-file' 1144s # test_open: 'normal_file-symlink' 1144s # test_open: 'executable_file' 1144s # test_open: 'private_file' 1144s # test_open: 'readonly_file' 1144s # test_open: 'UTF_pr?i?lis? z' 1144s # test_open: 'pattern_file' 1144s # test_open: 'not_exists' 1144s # test_open: 'dir_no-execute/file' 1144s # test_open: 'lost_symlink' 1144s ok 6 /live-g-file/test_open 1144s # test_create: 'dir1' 1144s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir1?: Is a directory 1144s # test_create: 'dir1/subdir' 1144s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir1/subdir?: Is a directory 1144s # test_create: 'dir2' 1144s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir2?: File exists 1144s # test_create: 'normal_file' 1144s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/normal_file?: File exists 1144s # test_create: 'executable_file' 1144s # test_create: 'private_file' 1144s # test_create: 'normal_file2' 1144s # test_create: 'UTF_pr?i?lis? z' 1144s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1144s # test_create: 'dir_pr?i?lis? z' 1144s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1144s # test_create: 'pattern_file' 1144s # test_create: 'not_exists2' 1144s # test_create: 'not_exists3' 1144s # test_create: 'not_exists4' 1144s ok 7 /live-g-file/test_create 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir1/subdir' --> '.' 1144s # res = 0, error code 2 = Target file exists 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir1/subdir' --> 'target-file' 1144s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir2' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir-target' --> 'dir-target' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir-target' --> '.' 1144s # res = 0, error code 2 = Target file exists 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir-target' --> 'target-file' 1144s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/target-file/dir-target?: Not a directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir-target' --> 'not_exists' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir-target' --> 'dir_no-access' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'dir-target' --> 'dir_no-write' 1144s # res = 0, error code 25 = Can?t recursively copy directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'target-file' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'target-file' --> '.' 1144s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/target-file?: File exists 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'target-file' --> 'target-file' 1144s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/target-file/target-file?: Not a directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'target-file' --> 'not_exists' 1144s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'target-file' --> 'dir_no-access' 1144s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'target-file' --> 'dir_no-write' 1144s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file-symlink' --> '.' 1144s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/normal_file-symlink: File exists 1144s # We do not have CAP_DAC_OVERRIDE or equivalent 1144s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1144s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1145s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1145s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1145s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'executable_file' --> 'dir-target' 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'executable_file' --> 'dir-target' 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'executable_file' --> '.' 1145s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/executable_file?: File exists 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'executable_file' --> 'target-file' 1145s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/target-file/executable_file?: Not a directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'executable_file' --> 'not_exists' 1145s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'executable_file' --> 'dir_no-access' 1145s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'executable_file' --> 'dir_no-write' 1145s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'private_file' --> 'dir-target' 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'private_file' --> 'dir-target' 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'private_file' --> '.' 1145s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/private_file?: File exists 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'private_file' --> 'target-file' 1145s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/target-file/private_file?: Not a directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'private_file' --> 'not_exists' 1145s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'private_file' --> 'dir_no-access' 1145s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'private_file' --> 'dir_no-write' 1145s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'normal_file2' --> 'dir-target' 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'normal_file2' --> 'dir-target' 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'normal_file2' --> '.' 1145s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/normal_file2?: File exists 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'normal_file2' --> 'target-file' 1145s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'normal_file2' --> 'not_exists' 1145s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1145s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1145s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1145s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1145s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1145s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1145s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1145s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'pattern_file' --> 'dir-target' 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'pattern_file' --> '.' 1145s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/pattern_file?: File exists 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'pattern_file' --> 'target-file' 1145s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'pattern_file' --> 'not_exists' 1145s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1145s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1145s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'not_exists' --> 'dir-target' 1145s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists?: No such file or directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'not_exists' --> '.' 1145s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists?: No such file or directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'not_exists' --> 'target-file' 1145s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists?: No such file or directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'not_exists' --> 'not_exists' 1145s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists?: No such file or directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'not_exists' --> 'dir_no-access' 1145s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists?: No such file or directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'not_exists' --> 'dir_no-write' 1145s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists?: No such file or directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'not_exists' --> 'dir-target' 1145s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists: No such file or directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'lost_symlink' --> 'dir-target' 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'lost_symlink' --> '.' 1145s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/lost_symlink: File exists 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'lost_symlink' --> 'target-file' 1145s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'lost_symlink' --> 'not_exists' 1145s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1145s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1145s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1145s ok 8 /live-g-file/test_copy_move 1145s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir1 1145s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir1: Directory not empty 1145s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir2 1145s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir2: No such file or directory 1145s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/executable_file 1145s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/readonly_file 1145s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_pr?i?lis? z 1145s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists 1145s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists: No such file or directory 1145s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists 1145s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/not_exists: No such file or directory 1145s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-execute/file 1145s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1145s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-1Z4NK2/testdir_live-g-file/lost_symlink 1145s ok 9 /live-g-file/test_delete 1145s # We do not have CAP_DAC_OVERRIDE or equivalent 1145s ok 10 /live-g-file/test_make_directory_with_parents 1145s # Cleaning target testing structure in 'testdir_live-g-file'... 1145s # deleting 'dir1' 1145s # deleting 'subdir' 1145s # deleting 'dir-target' 1145s # deleting 'dir2' 1145s # deleting 'target-file' 1145s # deleting 'normal_file-symlink' 1145s # deleting 'pattern_file' 1145s # deleting 'executable_file' 1145s # deleting 'private_file' 1145s # deleting 'normal_file2' 1145s # deleting 'UTF_pr?i?lis? z' 1145s # deleting 'lost_symlink' 1145s # deleting 'dir_no-access' 1145s # deleting 'dir_no-write' 1145s # deleting 'target-file' 1145s # deleting 'normal_file' 1145s # deleting 'normal_file-symlink' 1145s # deleting 'executable_file~' 1145s # deleting 'private_file' 1145s # deleting 'normal_file2~' 1145s # deleting 'a' 1145s # deleting 'UTF_pr?i?lis? z' 1145s # deleting 'dir_hidden' 1145s # deleting '.a-hidden-file' 1145s # deleting 'file-in-.hidden1' 1145s # deleting '.hidden' 1145s # deleting 'file-in-.hidden2' 1145s # deleting 'pattern_file' 1145s # deleting 'normal_file2' 1145s # deleting 'not_exists2' 1145s # deleting 'not_exists3' 1145s # deleting 'not_exists4' 1145s ok 11 /live-g-file/final_clean 1145s # Start of test_unix_is_mountpoint tests 1145s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1145s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1145s # End of test_unix_is_mountpoint tests 1145s # End of live-g-file tests 1145s ok - glib/live-g-file.test 1145s # Running test: glib/io-channel.test 1145s TAP version 13 1145s # random seed: R02Se6b9dca3a0ef559074a96be5559d59e5 1145s 1..2 1145s # Start of io-channel tests 1145s # Line one 1145s # 1145s # Line two 1145s # 1145s # Line three 1145s # 1145s # /* Hello */ 1145s # 1145s # \x1234\x567890\x6666 1145s # 1145s # read 62 bytes, wrote 62 bytes 1145s ok 1 /io-channel/read-write 1145s # Start of read-line tests 1145s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1145s ok 2 /io-channel/read-line/embedded-nuls 1145s # End of read-line tests 1145s # End of io-channel tests 1145s ok - glib/io-channel.test 1145s # Running test: glib/overflow.test 1145s TAP version 13 1145s # random seed: R02S63fc75f21acdc478752acab05048c427 1145s 1..6 1145s # Start of glib tests 1145s # Start of checked-math tests 1145s ok 1 /glib/checked-math/guint-add 1145s ok 2 /glib/checked-math/guint-mul 1145s ok 3 /glib/checked-math/guint64-add 1145s ok 4 /glib/checked-math/guint64-mul 1145s ok 5 /glib/checked-math/gsize-add 1145s ok 6 /glib/checked-math/gsize-mul 1145s # End of checked-math tests 1145s # End of glib tests 1145s ok - glib/overflow.test 1145s # Running test: glib/threadtests.test 1145s TAP version 13 1145s # random seed: R02S23a788705328242dcaed80102a73b946 1145s 1..5 1145s # Start of GObject tests 1145s ok 1 /GObject/threaded-object-init 1145s # Executing: glib/threadtests.test 1145s ok 2 /GObject/threaded-weak-ref 1145s # slow test /GObject/threaded-weak-ref executed in 0.77 secs 1145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1145s # /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 1150s # Executing: glib/threadtests.test 1151s ok 3 /GObject/threaded-toggle-notify 1151s # slow test /GObject/threaded-toggle-notify executed in 5.59 secs 1151s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1151s # Start of threaded-weak-ref tests 1151s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1151s # /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. 1151s ok 5 /GObject/threaded-weak-ref/on-finalization 1151s # End of threaded-weak-ref tests 1151s # End of GObject tests 1151s ok - glib/threadtests.test 1151s # Running test: glib/vfs.test 1151s TAP version 13 1151s # random seed: R02S6f1d1db7a4cbd26792a147411f0f4fda 1151s 1..3 1151s # Start of gvfs tests 1151s ok 1 /gvfs/local 1151s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1151s ok 2 /gvfs/register-scheme 1151s # Start of resource tests 1151s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1151s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1151s ok 3 /gvfs/resource/malformed-escaping 1151s # End of resource tests 1151s # End of gvfs tests 1151s ok - glib/vfs.test 1151s # Running test: glib/642026.test 1151s TAP version 13 1151s # random seed: R02S5bbdeec8e6e5ff17667c41ef3bd01360 1151s 1..1 1151s # Start of glib tests 1151s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1151s ok 1 /glib/642026 1151s # End of glib tests 1151s ok - glib/642026.test 1151s # Running test: glib/contenttype.test 1151s TAP version 13 1151s # random seed: R02Se3ce657ea91237c95a7b4d98cdb168a8 1151s 1..13 1151s # Start of contenttype tests 1151s ok 1 /contenttype/guess 1151s ok 2 /contenttype/guess_svg_from_data 1151s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1151s ok 4 /contenttype/unknown 1151s ok 5 /contenttype/subtype 1151s ok 6 /contenttype/list 1151s ok 7 /contenttype/executable 1151s ok 8 /contenttype/description 1151s ok 9 /contenttype/icon 1151s ok 10 /contenttype/symbolic-icon 1151s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1151s ok 11 /contenttype/tree 1151s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1151s ok 12 /contenttype/tree_invalid_encoding 1151s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1151s ok 13 /contenttype/test_type_is_a_special_case 1151s # End of contenttype tests 1151s ok - glib/contenttype.test 1151s # Running test: glib/types.test 1151s TAP version 13 1151s # random seed: R02Sdc18ca1cf852f8b9592db34b65523e0a 1151s 1..1 1151s # Start of types tests 1151s ok 1 /types/basic_types 1151s # End of types tests 1151s ok - glib/types.test 1151s # Running test: glib/cache.test 1151s TAP version 13 1151s # random seed: R02Sf5b8fa135b204f3727962dc6079a23f7 1151s 1..1 1151s # Start of cache tests 1151s ok 1 /cache/basic 1151s # End of cache tests 1151s ok - glib/cache.test 1151s # Running test: glib/init.test 1151s TAP version 13 1151s # random seed: R02S6379d27ba3abe6956affcefa7c329ec6 1151s 1..2 1151s # Start of thread tests 1151s # Start of deprecated tests 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_5EO4K2/thread/deprecated/init/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_5EO4K2/thread/deprecated/init/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_5EO4K2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_5EO4K2/thread/deprecated/init/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_5EO4K2/thread/deprecated/init/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_5EO4K2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_5EO4K2/thread/deprecated/init/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_5EO4K2/thread/deprecated/init/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_5EO4K2/thread/deprecated/init/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_5EO4K2/thread/deprecated/init/.dirs/runtime 1151s ok 1 /thread/deprecated/init 1151s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_5EO4K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_5EO4K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_5EO4K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_5EO4K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_5EO4K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_5EO4K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_5EO4K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_5EO4K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_5EO4K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1151s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_5EO4K2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1151s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1151s # End of deprecated tests 1151s # End of thread tests 1151s ok - glib/init.test 1151s # Running test: glib/readwrite.test 1151s TAP version 13 1151s # random seed: R02S3fa0332d4951fd7c0b76111f1a5d7e29 1151s 1..3 1151s # Start of readwrite tests 1151s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1151s ok 1 /readwrite/test_g_file_open_readwrite 1151s ok 2 /readwrite/test_g_file_create_readwrite 1151s ok 3 /readwrite/test_g_file_replace_readwrite 1151s # End of readwrite tests 1151s ok - glib/readwrite.test 1151s # Running test: glib/gsocketclient-slow.test 1151s TAP version 13 1151s # random seed: R02Sf6d7a000b4a84d0f787cdb84876ea7bc 1151s 1..3 1151s # Start of socket-client tests 1151s # Start of happy-eyeballs tests 1151s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1151s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1840b92cad0 and GSocketClientAsyncConnectData 0x1840b9262a0 1151s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1151s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1151s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1840b92e1e0 for GSocketClientAsyncConnectData 0x1840b9262a0 1151s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1152s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1152s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1152s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1152s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1152s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1152s ok 1 /socket-client/happy-eyeballs/slow 1152s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1152s # Start of cancellation tests 1152s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1840b931900 and GSocketClientAsyncConnectData 0x1840b92d9f0 1152s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1152s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1152s ok 2 /socket-client/happy-eyeballs/cancellation/instant 1152s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1840b9306f0 and GSocketClientAsyncConnectData 0x1840b9262a0 1152s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1152s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1152s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1840b932550 for GSocketClientAsyncConnectData 0x1840b9262a0 1152s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1152s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1152s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1152s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1152s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1152s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1152s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 1152s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1152s # End of cancellation tests 1152s # End of happy-eyeballs tests 1152s # End of socket-client tests 1152s ok - glib/gsocketclient-slow.test 1152s # Running test: glib/macros-c-90.test 1152s TAP version 13 1152s # random seed: R02S330c674d9582b9e06ac0a08ed454b28e 1152s 1..4 1152s # Start of C tests 1152s ok 1 /C/standard-90 1152s # End of C tests 1152s # Start of alignof tests 1152s ok 2 /alignof/fallback 1152s # End of alignof tests 1152s # Start of assert tests 1152s ok 3 /assert/static 1152s # End of assert tests 1152s # Start of struct tests 1152s ok 4 /struct/sizeof_member 1152s # End of struct tests 1152s ok - glib/macros-c-90.test 1152s # Running test: glib/param.test 1152s TAP version 13 1152s # random seed: R02S679d30715d295c74dbe1ee5f23cd6e3c 1152s 1..32 1152s # Start of param tests 1152s ok 1 /param/value 1152s ok 2 /param/strings 1152s ok 3 /param/qdata 1152s ok 4 /param/validate 1152s ok 5 /param/convert 1152s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1152s ok 7 /param/default 1152s ok 8 /param/is-valid-name 1152s # Start of invalid-name tests 1152s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1152s ok 9 /param/invalid-name/colon 1152s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1152s ok 10 /param/invalid-name/first-char 1152s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1152s ok 11 /param/invalid-name/empty 1152s # End of invalid-name tests 1152s # Start of implement tests 1152s # Start of subprocess tests 1152s # End of subprocess tests 1152s # End of implement tests 1152s # End of param tests 1152s # Start of value tests 1152s ok 12 /value/transform 1152s # End of value tests 1152s # Start of paramspec tests 1152s ok 13 /paramspec/char 1152s ok 14 /paramspec/uchar 1152s ok 15 /paramspec/int 1152s ok 16 /paramspec/uint 1152s ok 17 /paramspec/long 1152s ok 18 /paramspec/ulong 1152s ok 19 /paramspec/int64 1152s ok 20 /paramspec/uint64 1152s ok 21 /paramspec/float 1152s ok 22 /paramspec/double 1152s ok 23 /paramspec/unichar 1152s ok 24 /paramspec/param 1152s ok 25 /paramspec/null-param 1152s ok 26 /paramspec/string 1152s ok 27 /paramspec/override 1152s ok 28 /paramspec/gtype 1152s ok 29 /paramspec/variant 1152s ok 30 /paramspec/custom 1152s ok 31 /paramspec/pool 1152s # Start of variant tests 1152s ok 32 /paramspec/variant/cmp 1152s # End of variant tests 1152s # End of paramspec tests 1152s ok - glib/param.test 1152s # Running test: glib/environment.test 1152s TAP version 13 1152s # random seed: R02S8571159cd0320c622e81d823f2e6781d 1152s 1..6 1152s # Start of environ tests 1152s # /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. 1152s ok 1 /environ/listenv 1152s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1152s ok 2 /environ/getenv 1152s ok 3 /environ/setenv 1152s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1152s ok 4 /environ/array 1152s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1152s ok 5 /environ/null 1152s # /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. 1152s ok 6 /environ/case 1152s # End of environ tests 1152s ok - glib/environment.test 1152s # Running test: glib/collate.test 1152s TAP version 13 1152s # random seed: R02S888e4b9ee50b506971824e1bc09a8633 1152s 1..9 1152s # Start of unicode tests 1152s # Start of collate tests 1152s ok 1 /unicode/collate/0 1152s ok 2 /unicode/collate/1 1152s ok 3 /unicode/collate/2 1152s # End of collate tests 1152s # Start of collate-key tests 1152s ok 4 /unicode/collate-key/0 1152s ok 5 /unicode/collate-key/1 1152s ok 6 /unicode/collate-key/2 1152s # End of collate-key tests 1152s # Start of collate-filename tests 1152s ok 7 /unicode/collate-filename/0 1152s ok 8 /unicode/collate-filename/1 1152s ok 9 /unicode/collate-filename/2 1152s # End of collate-filename tests 1152s # End of unicode tests 1152s ok - glib/collate.test 1152s # Running test: glib/glistmodel.test 1152s TAP version 13 1152s # random seed: R02S77421f72b9f90214d27ee80f2dd9da02 1152s 1..18 1152s # Start of glistmodel tests 1152s # Start of store tests 1152s ok 1 /glistmodel/store/properties 1152s ok 2 /glistmodel/store/non-gobjects 1152s ok 3 /glistmodel/store/boundaries 1152s ok 4 /glistmodel/store/refcounts 1152s ok 5 /glistmodel/store/sorted 1152s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1152s ok 6 /glistmodel/store/splice-replace-middle 1152s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1152s ok 7 /glistmodel/store/splice-replace-all 1152s ok 8 /glistmodel/store/splice-noop 1152s ok 9 /glistmodel/store/splice-remove-multiple 1152s ok 10 /glistmodel/store/splice-add-multiple 1152s ok 11 /glistmodel/store/splice-wrong-type 1152s ok 12 /glistmodel/store/item-type 1152s ok 13 /glistmodel/store/remove-all 1152s ok 14 /glistmodel/store/sort 1152s ok 15 /glistmodel/store/get-item-cache 1152s ok 16 /glistmodel/store/items-changed 1152s ok 17 /glistmodel/store/past-end 1152s ok 18 /glistmodel/store/find 1152s # End of store tests 1152s # End of glistmodel tests 1152s ok - glib/glistmodel.test 1152s # Running test: glib/network-monitor.test 1152s TAP version 13 1152s # random seed: R02Sc9fa8e292d90f02b487905e89970d118 1152s 1..4 1152s # Start of network-monitor tests 1152s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1152s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1152s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1152s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 1152s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1152s ok 1 /network-monitor/default 1152s ok 2 /network-monitor/remove_default 1152s ok 3 /network-monitor/add_networks 1152s ok 4 /network-monitor/remove_networks 1152s # End of network-monitor tests 1152s ok - glib/network-monitor.test 1152s # Running test: glib/mkenums.py.test 1153s TAP version 13 1153s ok 1 __main__.TestMkenums.test_available_in 1153s # tmpdir: /tmp/tmpeicgqg14 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpeicgqg14/tmpwfxyxu4o.h: 1153s # typedef enum { 1153s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1153s # } GDBusServerFlags; 1153s # 1153s # /tmp/tmpeicgqg14/tmp4vclsrck.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpeicgqg14/tmp4vclsrck.template', '/tmp/tmpeicgqg14/tmpwfxyxu4o.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpeicgqg14/tmpwfxyxu4o.h 1153s # basename: tmpwfxyxu4o.h 1153s # enumeration-production 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-header 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-production 1153s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1153s # valuenick: user 1153s # valuenum: 4 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-tail 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1153s # tmpdir: /tmp/tmpux90haz4 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpux90haz4/tmpj6tgeloc.h: 1153s # typedef enum { 1153s # ENUM_VALUE_WITH_COMMA = ',', 1153s # } TestCommaEnum; 1153s # 1153s # /tmp/tmpux90haz4/tmp8ut5v3qn.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpux90haz4/tmp8ut5v3qn.template', '/tmp/tmpux90haz4/tmpj6tgeloc.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpux90haz4/tmpj6tgeloc.h 1153s # basename: tmpj6tgeloc.h 1153s # enumeration-production 1153s # EnumName: TestCommaEnum 1153s # enum_name: test_comma_enum 1153s # ENUMNAME: TEST_COMMA_ENUM 1153s # ENUMSHORT: COMMA_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: TestCommaEnum 1153s # enum_name: test_comma_enum 1153s # ENUMNAME: TEST_COMMA_ENUM 1153s # ENUMSHORT: COMMA_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE_WITH_COMMA 1153s # valuenick: comma 1153s # valuenum: 44 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: TestCommaEnum 1153s # enum_name: test_comma_enum 1153s # ENUMNAME: TEST_COMMA_ENUM 1153s # ENUMSHORT: COMMA_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 3 __main__.TestMkenums.test_deprecated_in 1153s # tmpdir: /tmp/tmpx6ds2djf 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpx6ds2djf/tmp2sxvu3q5.h: 1153s # typedef enum { 1153s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1153s # } GDBusServerFlags; 1153s # 1153s # /tmp/tmpx6ds2djf/tmpcilwhlck.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpx6ds2djf/tmpcilwhlck.template', '/tmp/tmpx6ds2djf/tmp2sxvu3q5.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpx6ds2djf/tmp2sxvu3q5.h 1153s # basename: tmp2sxvu3q5.h 1153s # enumeration-production 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-header 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-production 1153s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1153s # valuenick: user 1153s # valuenum: 4 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-tail 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 4 __main__.TestMkenums.test_deprecated_in_for 1153s # tmpdir: /tmp/tmp57510z07 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp57510z07/tmpgfdhhelq.h: 1153s # typedef enum { 1153s # 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) 1153s # } GDBusServerFlags; 1153s # 1153s # /tmp/tmp57510z07/tmpy3oaivjx.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp57510z07/tmpy3oaivjx.template', '/tmp/tmp57510z07/tmpgfdhhelq.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmp57510z07/tmpgfdhhelq.h 1153s # basename: tmpgfdhhelq.h 1153s # enumeration-production 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-header 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-production 1153s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1153s # valuenick: user 1153s # valuenum: 4 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-tail 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 5 __main__.TestMkenums.test_empty_header 1153s # tmpdir: /tmp/tmpy06gj30h 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpy06gj30h/tmprf18t2ng.h: 1153s # /tmp/tmpy06gj30h/tmp3ukc1yj7.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpy06gj30h/tmp3ukc1yj7.template', '/tmp/tmpy06gj30h/tmprf18t2ng.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 6 __main__.TestMkenums.test_empty_template 1153s # tmpdir: /tmp/tmp1j5xaff2 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp1j5xaff2/tmpld0yae6v.template: 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1j5xaff2/tmpld0yae6v.template'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # 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. */ 1153s # 1153s # 1153s # /* Generated data ends here */ 1153s ok 7 __main__.TestMkenums.test_enum_name 1153s # tmpdir: /tmp/tmp_objonqj 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp_objonqj/tmpxwrwzneg.h: 1153s # typedef enum _SomeEnumIdentifier { 1153s # ENUM_VALUE 1153s # } SomeEnumIdentifier; 1153s # 1153s # /tmp/tmp_objonqj/tmp92ybiwkp.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_objonqj/tmp92ybiwkp.template', '/tmp/tmp_objonqj/tmpxwrwzneg.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmp_objonqj/tmpxwrwzneg.h 1153s # basename: tmpxwrwzneg.h 1153s # enumeration-production 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE 1153s # valuenick: value 1153s # valuenum: 0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 8 __main__.TestMkenums.test_enum_private_public 1153s # tmpdir: /tmp/tmp_gk999sk 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp_gk999sk/tmpn0wnok0g.h: 1153s # typedef enum { 1153s # ENUM_VALUE_PUBLIC1, 1153s # /*< private >*/ 1153s # ENUM_VALUE_PRIVATE, 1153s # } SomeEnumA 1153s # 1153s # /tmp/tmp_gk999sk/tmptgt5qvs7.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_gk999sk/tmptgt5qvs7.template', '/tmp/tmp_gk999sk/tmpn0wnok0g.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmp_gk999sk/tmpn0wnok0g.h 1153s # basename: tmpn0wnok0g.h 1153s # enumeration-production 1153s # EnumName: SomeEnumA 1153s # enum_name: some_enum_a 1153s # ENUMNAME: SOME_ENUM_A 1153s # ENUMSHORT: ENUM_A 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: SomeEnumA 1153s # enum_name: some_enum_a 1153s # ENUMNAME: SOME_ENUM_A 1153s # ENUMSHORT: ENUM_A 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE_PUBLIC1 1153s # valuenick: public1 1153s # valuenum: 0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: SomeEnumA 1153s # enum_name: some_enum_a 1153s # ENUMNAME: SOME_ENUM_A 1153s # ENUMSHORT: ENUM_A 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s # /tmp/tmp_gk999sk/tmp65ldrbid.h: 1153s # typedef enum { 1153s # /*< private >*/ 1153s # ENUM_VALUE_PRIVATE, 1153s # /*< public >*/ 1153s # ENUM_VALUE_PUBLIC2, 1153s # } SomeEnumB; 1153s # 1153s # /tmp/tmp_gk999sk/tmplvliuyec.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_gk999sk/tmplvliuyec.template', '/tmp/tmp_gk999sk/tmp65ldrbid.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmp_gk999sk/tmp65ldrbid.h 1153s # basename: tmp65ldrbid.h 1153s # enumeration-production 1153s # EnumName: SomeEnumB 1153s # enum_name: some_enum_b 1153s # ENUMNAME: SOME_ENUM_B 1153s # ENUMSHORT: ENUM_B 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: SomeEnumB 1153s # enum_name: some_enum_b 1153s # ENUMNAME: SOME_ENUM_B 1153s # ENUMSHORT: ENUM_B 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE_PUBLIC2 1153s # valuenick: public2 1153s # valuenum: 1 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: SomeEnumB 1153s # enum_name: some_enum_b 1153s # ENUMNAME: SOME_ENUM_B 1153s # ENUMSHORT: ENUM_B 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1153s # tmpdir: /tmp/tmpwuh6sqs6 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpwuh6sqs6/tmpk2rh07yq.h: 1153s # typedef enum { 1153s # /*< private >*/ 1153s # ENUM_VALUE_PRIVATE = 5, 1153s # /*< public >*/ 1153s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1153s # } TestSymbolicEnum; 1153s # 1153s # /tmp/tmpwuh6sqs6/tmpi_vpxrf4.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwuh6sqs6/tmpi_vpxrf4.template', '/tmp/tmpwuh6sqs6/tmpk2rh07yq.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpwuh6sqs6/tmpk2rh07yq.h 1153s # basename: tmpk2rh07yq.h 1153s # enumeration-production 1153s # EnumName: TestSymbolicEnum 1153s # enum_name: test_symbolic_enum 1153s # ENUMNAME: TEST_SYMBOLIC_ENUM 1153s # ENUMSHORT: SYMBOLIC_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: TestSymbolicEnum 1153s # enum_name: test_symbolic_enum 1153s # ENUMNAME: TEST_SYMBOLIC_ENUM 1153s # ENUMSHORT: SYMBOLIC_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE_PUBLIC 1153s # valuenick: public 1153s # valuenum: 7 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: TestSymbolicEnum 1153s # enum_name: test_symbolic_enum 1153s # ENUMNAME: TEST_SYMBOLIC_ENUM 1153s # ENUMSHORT: SYMBOLIC_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1153s # tmpdir: /tmp/tmp7pmaw86h 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp7pmaw86h/tmpocq27s17.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-tail ***/ 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7pmaw86h/tmpocq27s17.template'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # file-tail 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 11 __main__.TestMkenums.test_help 1153s # tmpdir: /tmp/tmppowq5fri 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # Running: ['/usr/bin/glib-mkenums', '--help'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1153s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1153s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1153s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1153s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1153s # [--output OUTPUT] [--version] 1153s # [args ...] 1153s # 1153s # positional arguments: 1153s # args One or more input files, or a single argument 1153s # @rspfile_path pointing to a file that contains the 1153s # actual arguments 1153s # 1153s # options: 1153s # -h, --help show this help message and exit 1153s # --identifier-prefix IDPREFIX 1153s # Identifier prefix 1153s # --symbol-prefix SYMPREFIX 1153s # Symbol prefix 1153s # --fhead FHEAD Output file header 1153s # --ftail FTAIL Output file footer 1153s # --fprod FPROD Put out TEXT every time a new input file is being 1153s # processed. 1153s # --eprod EPROD Per enum text, produced prior to value iterations 1153s # --vhead VHEAD Value header, produced before iterating over enum 1153s # values 1153s # --vprod VPROD Value text, produced for each enum value. 1153s # --vtail VTAIL Value tail, produced after iterating over enum values 1153s # --comments COMMENT_TMPL 1153s # Comment structure 1153s # --template TEMPLATE Template file 1153s # --output OUTPUT 1153s # --version, -v Print version information 1153s # 1153s # Production text substitutions: 1153s # @EnumName@ PrefixTheXEnum 1153s # @enum_name@ prefix_the_xenum 1153s # @ENUMNAME@ PREFIX_THE_XENUM 1153s # @ENUMSHORT@ THE_XENUM 1153s # @ENUMPREFIX@ PREFIX 1153s # @enumsince@ the user-provided since value given 1153s # @VALUENAME@ PREFIX_THE_XVALUE 1153s # @valuenick@ the-xvalue 1153s # @valuenum@ the integer value (limited support, Since: 2.26) 1153s # @type@ either enum or flags 1153s # @Type@ either Enum or Flags 1153s # @TYPE@ either ENUM or FLAGS 1153s # @filename@ name of current input file 1153s # @basename@ base name of the current input file (Since: 2.22) 1153s ok 12 __main__.TestMkenums.test_no_args 1153s # tmpdir: /tmp/tmp33w06y15 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # Running: ['/usr/bin/glib-mkenums'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # 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. */ 1153s # 1153s # 1153s # /* Generated data ends here */ 1153s ok 13 __main__.TestMkenums.test_no_headers 1153s # tmpdir: /tmp/tmporq22swp 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmporq22swp/tmp5xedpg5x.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmporq22swp/tmp5xedpg5x.template'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 14 __main__.TestMkenums.test_no_nick 1153s # tmpdir: /tmp/tmp4xz37k9t 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp4xz37k9t/tmpb0qoypa5.h: 1153s # typedef enum { 1153s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1153s # } GeglSamplerType; 1153s # 1153s # /tmp/tmp4xz37k9t/tmpqiq7c2sm.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4xz37k9t/tmpqiq7c2sm.template', '/tmp/tmp4xz37k9t/tmpb0qoypa5.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmp4xz37k9t/tmpb0qoypa5.h 1153s # basename: tmpb0qoypa5.h 1153s # enumeration-production 1153s # EnumName: GeglSamplerType 1153s # enum_name: gegl_sampler_type 1153s # ENUMNAME: GEGL_SAMPLER_TYPE 1153s # ENUMSHORT: SAMPLER_TYPE 1153s # ENUMPREFIX: GEGL 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: GeglSamplerType 1153s # enum_name: gegl_sampler_type 1153s # ENUMNAME: GEGL_SAMPLER_TYPE 1153s # ENUMSHORT: SAMPLER_TYPE 1153s # ENUMPREFIX: GEGL 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: GEGL_SAMPLER_NEAREST 1153s # valuenick: nearest 1153s # valuenum: 0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: GeglSamplerType 1153s # enum_name: gegl_sampler_type 1153s # ENUMNAME: GEGL_SAMPLER_TYPE 1153s # ENUMSHORT: SAMPLER_TYPE 1153s # ENUMPREFIX: GEGL 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1153s # tmpdir: /tmp/tmpscy3v1le 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpscy3v1le/tmpee9pi6ub.h: 1153s # /* Copyright © La Peña */ 1153s # typedef enum { 1153s # ENUM_VALUE 1153s # } SomeEnumIdentifier; 1153s # 1153s # /tmp/tmpscy3v1le/tmp2lzvp2q3.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpscy3v1le/tmp2lzvp2q3.template', '/tmp/tmpscy3v1le/tmpee9pi6ub.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpscy3v1le/tmpee9pi6ub.h 1153s # basename: tmpee9pi6ub.h 1153s # enumeration-production 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE 1153s # valuenick: value 1153s # valuenum: 0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: SomeEnumIdentifier 1153s # enum_name: some_enum_identifier 1153s # ENUMNAME: SOME_ENUM_IDENTIFIER 1153s # ENUMSHORT: ENUM_IDENTIFIER 1153s # ENUMPREFIX: SOME 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 16 __main__.TestMkenums.test_reproducible 1153s # tmpdir: /tmp/tmp77pag5b4 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp77pag5b4/tmpa_zmgbkz.template: template 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp77pag5b4/tmpa_zmgbkz.template', '/tmp/tmp77pag5b4/tmpb3zm21_d1.h', '/tmp/tmp77pag5b4/tmp0odh1xt22.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # 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. */ 1153s # 1153s # 1153s # /* Generated data ends here */ 1153s # /tmp/tmp77pag5b4/tmpikcrxxjx.template: template 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp77pag5b4/tmpikcrxxjx.template', '/tmp/tmp77pag5b4/tmp0odh1xt22.h', '/tmp/tmp77pag5b4/tmpb3zm21_d1.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # 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. */ 1153s # 1153s # 1153s # /* Generated data ends here */ 1153s ok 17 __main__.TestMkenums.test_since 1153s # tmpdir: /tmp/tmp3cdpnre5 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp3cdpnre5/tmp1bwzh_e6.h: 1153s # typedef enum { /*< since=1.0 >*/ 1153s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1153s # } QmiWmsMessageProtocol; 1153s # 1153s # /tmp/tmp3cdpnre5/tmplgbjyoji.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3cdpnre5/tmplgbjyoji.template', '/tmp/tmp3cdpnre5/tmp1bwzh_e6.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmp3cdpnre5/tmp1bwzh_e6.h 1153s # basename: tmp1bwzh_e6.h 1153s # enumeration-production 1153s # EnumName: QmiWmsMessageProtocol 1153s # enum_name: qmi_wms_message_protocol 1153s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1153s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1153s # ENUMPREFIX: QMI 1153s # enumsince: 1.0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: QmiWmsMessageProtocol 1153s # enum_name: qmi_wms_message_protocol 1153s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1153s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1153s # ENUMPREFIX: QMI 1153s # enumsince: 1.0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1153s # valuenick: cdma 1153s # valuenum: 0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: QmiWmsMessageProtocol 1153s # enum_name: qmi_wms_message_protocol 1153s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1153s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1153s # ENUMPREFIX: QMI 1153s # enumsince: 1.0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 18 __main__.TestMkenums.test_with_double_quotes 1153s # tmpdir: /tmp/tmpdg6wku2v 1153s # rspfile: False, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpdg6wku2v/tmphz_rnhue.h: 1153s # typedef enum { 1153s # FOO_VALUE /*< nick="eek, a comma" >*/ 1153s # } Foo; 1153s # 1153s # /tmp/tmpdg6wku2v/tmpukhayyyk.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdg6wku2v/tmpukhayyyk.template', '/tmp/tmpdg6wku2v/tmphz_rnhue.h'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpdg6wku2v/tmphz_rnhue.h 1153s # basename: tmphz_rnhue.h 1153s # enumeration-production 1153s # EnumName: Foo 1153s # enum_name: foo_ 1153s # ENUMNAME: FOO_ 1153s # ENUMSHORT: 1153s # ENUMPREFIX: FOO 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: Foo 1153s # enum_name: foo_ 1153s # ENUMNAME: FOO_ 1153s # ENUMSHORT: 1153s # ENUMPREFIX: FOO 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: FOO_VALUE 1153s # valuenick: eek, a comma 1153s # valuenum: 0 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: Foo 1153s # enum_name: foo_ 1153s # ENUMNAME: FOO_ 1153s # ENUMSHORT: 1153s # ENUMPREFIX: FOO 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 19 __main__.TestRspMkenums.test_available_in 1153s # tmpdir: /tmp/tmpt3usxiki 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpt3usxiki/tmpszio4w0q.h: 1153s # typedef enum { 1153s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1153s # } GDBusServerFlags; 1153s # 1153s # /tmp/tmpt3usxiki/tmpv9scmhcn.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmpt3usxiki/tmpv9scmhcn.template /tmp/tmpt3usxiki/tmpszio4w0q.h 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpt3usxiki/tmpciun1q91'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpt3usxiki/tmpszio4w0q.h 1153s # basename: tmpszio4w0q.h 1153s # enumeration-production 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-header 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-production 1153s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1153s # valuenick: user 1153s # valuenum: 4 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-tail 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1153s # tmpdir: /tmp/tmpfcjo0trd 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmpfcjo0trd/tmpw2oze2px.h: 1153s # typedef enum { 1153s # ENUM_VALUE_WITH_COMMA = ',', 1153s # } TestCommaEnum; 1153s # 1153s # /tmp/tmpfcjo0trd/tmpdp78p14w.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmpfcjo0trd/tmpdp78p14w.template /tmp/tmpfcjo0trd/tmpw2oze2px.h 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfcjo0trd/tmp5cyqr38y'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmpfcjo0trd/tmpw2oze2px.h 1153s # basename: tmpw2oze2px.h 1153s # enumeration-production 1153s # EnumName: TestCommaEnum 1153s # enum_name: test_comma_enum 1153s # ENUMNAME: TEST_COMMA_ENUM 1153s # ENUMSHORT: COMMA_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-header 1153s # EnumName: TestCommaEnum 1153s # enum_name: test_comma_enum 1153s # ENUMNAME: TEST_COMMA_ENUM 1153s # ENUMSHORT: COMMA_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-production 1153s # VALUENAME: ENUM_VALUE_WITH_COMMA 1153s # valuenick: comma 1153s # valuenum: 44 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # value-tail 1153s # EnumName: TestCommaEnum 1153s # enum_name: test_comma_enum 1153s # ENUMNAME: TEST_COMMA_ENUM 1153s # ENUMSHORT: COMMA_ENUM 1153s # ENUMPREFIX: TEST 1153s # enumsince: 1153s # type: enum 1153s # Type: Enum 1153s # TYPE: ENUM 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1153s ok 21 __main__.TestRspMkenums.test_deprecated_in 1153s # tmpdir: /tmp/tmp6yz2wl1y 1153s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1153s # /tmp/tmp6yz2wl1y/tmp9gcmnd9b.h: 1153s # typedef enum { 1153s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1153s # } GDBusServerFlags; 1153s # 1153s # /tmp/tmp6yz2wl1y/tmpkm47p4a7.template: 1153s # /*** BEGIN file-header ***/ 1153s # file-header 1153s # /*** END file-header ***/ 1153s # 1153s # /*** BEGIN file-production ***/ 1153s # file-production 1153s # filename: @filename@ 1153s # basename: @basename@ 1153s # /*** END file-production ***/ 1153s # 1153s # /*** BEGIN enumeration-production ***/ 1153s # enumeration-production 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END enumeration-production ***/ 1153s # 1153s # /*** BEGIN value-header ***/ 1153s # value-header 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-header ***/ 1153s # 1153s # /*** BEGIN value-production ***/ 1153s # value-production 1153s # VALUENAME: @VALUENAME@ 1153s # valuenick: @valuenick@ 1153s # valuenum: @valuenum@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-production ***/ 1153s # 1153s # /*** BEGIN value-tail ***/ 1153s # value-tail 1153s # EnumName: @EnumName@ 1153s # enum_name: @enum_name@ 1153s # ENUMNAME: @ENUMNAME@ 1153s # ENUMSHORT: @ENUMSHORT@ 1153s # ENUMPREFIX: @ENUMPREFIX@ 1153s # enumsince: @enumsince@ 1153s # type: @type@ 1153s # Type: @Type@ 1153s # TYPE: @TYPE@ 1153s # /*** END value-tail ***/ 1153s # 1153s # /*** BEGIN comment ***/ 1153s # comment 1153s # comment: @comment@ 1153s # /*** END comment ***/ 1153s # 1153s # /*** BEGIN file-tail ***/ 1153s # file-tail 1153s # /*** END file-tail ***/ 1153s # 1153s # Response file contains: --template /tmp/tmp6yz2wl1y/tmpkm47p4a7.template /tmp/tmp6yz2wl1y/tmp9gcmnd9b.h 1153s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6yz2wl1y/tmp16uslnrt'] 1153s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1153s # Output: comment 1153s # 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. 1153s # 1153s # 1153s # file-header 1153s # file-production 1153s # filename: /tmp/tmp6yz2wl1y/tmp9gcmnd9b.h 1153s # basename: tmp9gcmnd9b.h 1153s # enumeration-production 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-header 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-production 1153s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1153s # valuenick: user 1153s # valuenum: 4 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # value-tail 1153s # EnumName: GDBusServerFlags 1153s # enum_name: g_dbus_server_flags 1153s # ENUMNAME: G_DBUS_SERVER_FLAGS 1153s # ENUMSHORT: DBUS_SERVER_FLAGS 1153s # ENUMPREFIX: G 1153s # enumsince: 1153s # type: flags 1153s # Type: Flags 1153s # TYPE: FLAGS 1153s # file-tail 1153s # 1153s # comment 1153s # comment: Generated data ends here 1154s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1154s # tmpdir: /tmp/tmp_s0g7v04 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmp_s0g7v04/tmphz3e2yqv.h: 1154s # typedef enum { 1154s # 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) 1154s # } GDBusServerFlags; 1154s # 1154s # /tmp/tmp_s0g7v04/tmpuo8qs355.template: 1154s # /*** BEGIN file-header ***/ 1154s # file-header 1154s # /*** END file-header ***/ 1154s # 1154s # /*** BEGIN file-production ***/ 1154s # file-production 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-production ***/ 1154s # 1154s # /*** BEGIN enumeration-production ***/ 1154s # enumeration-production 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END enumeration-production ***/ 1154s # 1154s # /*** BEGIN value-header ***/ 1154s # value-header 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-header ***/ 1154s # 1154s # /*** BEGIN value-production ***/ 1154s # value-production 1154s # VALUENAME: @VALUENAME@ 1154s # valuenick: @valuenick@ 1154s # valuenum: @valuenum@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-production ***/ 1154s # 1154s # /*** BEGIN value-tail ***/ 1154s # value-tail 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-tail ***/ 1154s # 1154s # /*** BEGIN comment ***/ 1154s # comment 1154s # comment: @comment@ 1154s # /*** END comment ***/ 1154s # 1154s # /*** BEGIN file-tail ***/ 1154s # file-tail 1154s # /*** END file-tail ***/ 1154s # 1154s # Response file contains: --template /tmp/tmp_s0g7v04/tmpuo8qs355.template /tmp/tmp_s0g7v04/tmphz3e2yqv.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_s0g7v04/tmpg9871g5c'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: comment 1154s # 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. 1154s # 1154s # 1154s # file-header 1154s # file-production 1154s # filename: /tmp/tmp_s0g7v04/tmphz3e2yqv.h 1154s # basename: tmphz3e2yqv.h 1154s # enumeration-production 1154s # EnumName: GDBusServerFlags 1154s # enum_name: g_dbus_server_flags 1154s # ENUMNAME: G_DBUS_SERVER_FLAGS 1154s # ENUMSHORT: DBUS_SERVER_FLAGS 1154s # ENUMPREFIX: G 1154s # enumsince: 1154s # type: flags 1154s # Type: Flags 1154s # TYPE: FLAGS 1154s # value-header 1154s # EnumName: GDBusServerFlags 1154s # enum_name: g_dbus_server_flags 1154s # ENUMNAME: G_DBUS_SERVER_FLAGS 1154s # ENUMSHORT: DBUS_SERVER_FLAGS 1154s # ENUMPREFIX: G 1154s # enumsince: 1154s # type: flags 1154s # Type: Flags 1154s # TYPE: FLAGS 1154s # value-production 1154s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1154s # valuenick: user 1154s # valuenum: 4 1154s # type: flags 1154s # Type: Flags 1154s # TYPE: FLAGS 1154s # value-tail 1154s # EnumName: GDBusServerFlags 1154s # enum_name: g_dbus_server_flags 1154s # ENUMNAME: G_DBUS_SERVER_FLAGS 1154s # ENUMSHORT: DBUS_SERVER_FLAGS 1154s # ENUMPREFIX: G 1154s # enumsince: 1154s # type: flags 1154s # Type: Flags 1154s # TYPE: FLAGS 1154s # file-tail 1154s # 1154s # comment 1154s # comment: Generated data ends here 1154s ok 23 __main__.TestRspMkenums.test_empty_header 1154s # tmpdir: /tmp/tmpqxslm_19 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmpqxslm_19/tmptz48z02_.h: 1154s # /tmp/tmpqxslm_19/tmpx10s2_px.template: 1154s # /*** BEGIN file-header ***/ 1154s # file-header 1154s # /*** END file-header ***/ 1154s # 1154s # /*** BEGIN file-production ***/ 1154s # file-production 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-production ***/ 1154s # 1154s # /*** BEGIN enumeration-production ***/ 1154s # enumeration-production 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END enumeration-production ***/ 1154s # 1154s # /*** BEGIN value-header ***/ 1154s # value-header 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-header ***/ 1154s # 1154s # /*** BEGIN value-production ***/ 1154s # value-production 1154s # VALUENAME: @VALUENAME@ 1154s # valuenick: @valuenick@ 1154s # valuenum: @valuenum@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-production ***/ 1154s # 1154s # /*** BEGIN value-tail ***/ 1154s # value-tail 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-tail ***/ 1154s # 1154s # /*** BEGIN comment ***/ 1154s # comment 1154s # comment: @comment@ 1154s # /*** END comment ***/ 1154s # 1154s # /*** BEGIN file-tail ***/ 1154s # file-tail 1154s # /*** END file-tail ***/ 1154s # 1154s # Response file contains: --template /tmp/tmpqxslm_19/tmpx10s2_px.template /tmp/tmpqxslm_19/tmptz48z02_.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqxslm_19/tmp73p9n93a'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: comment 1154s # 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. 1154s # 1154s # 1154s # file-header 1154s # file-tail 1154s # 1154s # comment 1154s # comment: Generated data ends here 1154s ok 24 __main__.TestRspMkenums.test_empty_template 1154s # tmpdir: /tmp/tmpfev49k0p 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmpfev49k0p/tmp1dua__3e.template: 1154s # Response file contains: --template /tmp/tmpfev49k0p/tmp1dua__3e.template 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpfev49k0p/tmplk8hfyor'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # 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. */ 1154s # 1154s # 1154s # /* Generated data ends here */ 1154s ok 25 __main__.TestRspMkenums.test_enum_name 1154s # tmpdir: /tmp/tmpccocqpcw 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmpccocqpcw/tmpuo_6v_qb.h: 1154s # typedef enum _SomeEnumIdentifier { 1154s # ENUM_VALUE 1154s # } SomeEnumIdentifier; 1154s # 1154s # /tmp/tmpccocqpcw/tmpkxwjrdig.template: 1154s # /*** BEGIN file-header ***/ 1154s # file-header 1154s # /*** END file-header ***/ 1154s # 1154s # /*** BEGIN file-production ***/ 1154s # file-production 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-production ***/ 1154s # 1154s # /*** BEGIN enumeration-production ***/ 1154s # enumeration-production 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END enumeration-production ***/ 1154s # 1154s # /*** BEGIN value-header ***/ 1154s # value-header 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-header ***/ 1154s # 1154s # /*** BEGIN value-production ***/ 1154s # value-production 1154s # VALUENAME: @VALUENAME@ 1154s # valuenick: @valuenick@ 1154s # valuenum: @valuenum@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-production ***/ 1154s # 1154s # /*** BEGIN value-tail ***/ 1154s # value-tail 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-tail ***/ 1154s # 1154s # /*** BEGIN comment ***/ 1154s # comment 1154s # comment: @comment@ 1154s # /*** END comment ***/ 1154s # 1154s # /*** BEGIN file-tail ***/ 1154s # file-tail 1154s # /*** END file-tail ***/ 1154s # 1154s # Response file contains: --template /tmp/tmpccocqpcw/tmpkxwjrdig.template /tmp/tmpccocqpcw/tmpuo_6v_qb.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpccocqpcw/tmp34_0whvt'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: comment 1154s # 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. 1154s # 1154s # 1154s # file-header 1154s # file-production 1154s # filename: /tmp/tmpccocqpcw/tmpuo_6v_qb.h 1154s # basename: tmpuo_6v_qb.h 1154s # enumeration-production 1154s # EnumName: SomeEnumIdentifier 1154s # enum_name: some_enum_identifier 1154s # ENUMNAME: SOME_ENUM_IDENTIFIER 1154s # ENUMSHORT: ENUM_IDENTIFIER 1154s # ENUMPREFIX: SOME 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-header 1154s # EnumName: SomeEnumIdentifier 1154s # enum_name: some_enum_identifier 1154s # ENUMNAME: SOME_ENUM_IDENTIFIER 1154s # ENUMSHORT: ENUM_IDENTIFIER 1154s # ENUMPREFIX: SOME 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-production 1154s # VALUENAME: ENUM_VALUE 1154s # valuenick: value 1154s # valuenum: 0 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-tail 1154s # EnumName: SomeEnumIdentifier 1154s # enum_name: some_enum_identifier 1154s # ENUMNAME: SOME_ENUM_IDENTIFIER 1154s # ENUMSHORT: ENUM_IDENTIFIER 1154s # ENUMPREFIX: SOME 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # file-tail 1154s # 1154s # comment 1154s # comment: Generated data ends here 1154s ok 26 __main__.TestRspMkenums.test_enum_private_public 1154s # tmpdir: /tmp/tmprpqxliqn 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmprpqxliqn/tmpbftvt0_8.h: 1154s # typedef enum { 1154s # ENUM_VALUE_PUBLIC1, 1154s # /*< private >*/ 1154s # ENUM_VALUE_PRIVATE, 1154s # } SomeEnumA 1154s # 1154s # /tmp/tmprpqxliqn/tmpzzi_pvz_.template: 1154s # /*** BEGIN file-header ***/ 1154s # file-header 1154s # /*** END file-header ***/ 1154s # 1154s # /*** BEGIN file-production ***/ 1154s # file-production 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-production ***/ 1154s # 1154s # /*** BEGIN enumeration-production ***/ 1154s # enumeration-production 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END enumeration-production ***/ 1154s # 1154s # /*** BEGIN value-header ***/ 1154s # value-header 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-header ***/ 1154s # 1154s # /*** BEGIN value-production ***/ 1154s # value-production 1154s # VALUENAME: @VALUENAME@ 1154s # valuenick: @valuenick@ 1154s # valuenum: @valuenum@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-production ***/ 1154s # 1154s # /*** BEGIN value-tail ***/ 1154s # value-tail 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-tail ***/ 1154s # 1154s # /*** BEGIN comment ***/ 1154s # comment 1154s # comment: @comment@ 1154s # /*** END comment ***/ 1154s # 1154s # /*** BEGIN file-tail ***/ 1154s # file-tail 1154s # /*** END file-tail ***/ 1154s # 1154s # Response file contains: --template /tmp/tmprpqxliqn/tmpzzi_pvz_.template /tmp/tmprpqxliqn/tmpbftvt0_8.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprpqxliqn/tmp0mr_44cq'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: comment 1154s # 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. 1154s # 1154s # 1154s # file-header 1154s # file-production 1154s # filename: /tmp/tmprpqxliqn/tmpbftvt0_8.h 1154s # basename: tmpbftvt0_8.h 1154s # enumeration-production 1154s # EnumName: SomeEnumA 1154s # enum_name: some_enum_a 1154s # ENUMNAME: SOME_ENUM_A 1154s # ENUMSHORT: ENUM_A 1154s # ENUMPREFIX: SOME 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-header 1154s # EnumName: SomeEnumA 1154s # enum_name: some_enum_a 1154s # ENUMNAME: SOME_ENUM_A 1154s # ENUMSHORT: ENUM_A 1154s # ENUMPREFIX: SOME 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-production 1154s # VALUENAME: ENUM_VALUE_PUBLIC1 1154s # valuenick: public1 1154s # valuenum: 0 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-tail 1154s # EnumName: SomeEnumA 1154s # enum_name: some_enum_a 1154s # ENUMNAME: SOME_ENUM_A 1154s # ENUMSHORT: ENUM_A 1154s # ENUMPREFIX: SOME 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # file-tail 1154s # 1154s # comment 1154s # comment: Generated data ends here 1154s # /tmp/tmprpqxliqn/tmph_1tropf.h: 1154s # typedef enum { 1154s # /*< private >*/ 1154s # ENUM_VALUE_PRIVATE, 1154s # /*< public >*/ 1154s # ENUM_VALUE_PUBLIC2, 1154s # } SomeEnumB; 1154s # 1154s # /tmp/tmprpqxliqn/tmpmobsflha.template: 1154s # /*** BEGIN file-header ***/ 1154s # file-header 1154s # /*** END file-header ***/ 1154s # 1154s # /*** BEGIN file-production ***/ 1154s # file-production 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-production ***/ 1154s # 1154s # /*** BEGIN enumeration-production ***/ 1154s # enumeration-production 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END enumeration-production ***/ 1154s # 1154s # /*** BEGIN value-header ***/ 1154s # value-header 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-header ***/ 1154s # 1154s # /*** BEGIN value-production ***/ 1154s # value-production 1154s # VALUENAME: @VALUENAME@ 1154s # valuenick: @valuenick@ 1154s # valuenum: @valuenum@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-production ***/ 1154s # 1154s # /*** BEGIN value-tail ***/ 1154s # value-tail 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-tail ***/ 1154s # 1154s # /*** BEGIN comment ***/ 1154s # comment 1154s # comment: @comment@ 1154s # /*** END comment ***/ 1154s # 1154s # /*** BEGIN file-tail ***/ 1154s # file-tail 1154s # /*** END file-tail ***/ 1154s # 1154s # Response file contains: --template /tmp/tmprpqxliqn/tmpmobsflha.template /tmp/tmprpqxliqn/tmph_1tropf.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprpqxliqn/tmp4cx8bh62'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: comment 1154s # 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. 1154s # 1154s # 1154s # file-header 1154s # file-production 1154s # filename: /tmp/tmprpqxliqn/tmph_1tropf.h 1154s # basename: tmph_1tropf.h 1154s # enumeration-production 1154s # EnumName: SomeEnumB 1154s # enum_name: some_enum_b 1154s # ENUMNAME: SOME_ENUM_B 1154s # ENUMSHORT: ENUM_B 1154s # ENUMPREFIX: SOME 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-header 1154s # EnumName: SomeEnumB 1154s # enum_name: some_enum_b 1154s # ENUMNAME: SOME_ENUM_B 1154s # ENUMSHORT: ENUM_B 1154s # ENUMPREFIX: SOME 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-production 1154s # VALUENAME: ENUM_VALUE_PUBLIC2 1154s # valuenick: public2 1154s # valuenum: 1 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-tail 1154s # EnumName: SomeEnumB 1154s # enum_name: some_enum_b 1154s # ENUMNAME: SOME_ENUM_B 1154s # ENUMSHORT: ENUM_B 1154s # ENUMPREFIX: SOME 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # file-tail 1154s # 1154s # comment 1154s # comment: Generated data ends here 1154s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1154s # tmpdir: /tmp/tmp54187fqu 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmp54187fqu/tmpyffs5ki0.h: 1154s # typedef enum { 1154s # /*< private >*/ 1154s # ENUM_VALUE_PRIVATE = 5, 1154s # /*< public >*/ 1154s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1154s # } TestSymbolicEnum; 1154s # 1154s # /tmp/tmp54187fqu/tmphhdtt85t.template: 1154s # /*** BEGIN file-header ***/ 1154s # file-header 1154s # /*** END file-header ***/ 1154s # 1154s # /*** BEGIN file-production ***/ 1154s # file-production 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-production ***/ 1154s # 1154s # /*** BEGIN enumeration-production ***/ 1154s # enumeration-production 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END enumeration-production ***/ 1154s # 1154s # /*** BEGIN value-header ***/ 1154s # value-header 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-header ***/ 1154s # 1154s # /*** BEGIN value-production ***/ 1154s # value-production 1154s # VALUENAME: @VALUENAME@ 1154s # valuenick: @valuenick@ 1154s # valuenum: @valuenum@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-production ***/ 1154s # 1154s # /*** BEGIN value-tail ***/ 1154s # value-tail 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-tail ***/ 1154s # 1154s # /*** BEGIN comment ***/ 1154s # comment 1154s # comment: @comment@ 1154s # /*** END comment ***/ 1154s # 1154s # /*** BEGIN file-tail ***/ 1154s # file-tail 1154s # /*** END file-tail ***/ 1154s # 1154s # Response file contains: --template /tmp/tmp54187fqu/tmphhdtt85t.template /tmp/tmp54187fqu/tmpyffs5ki0.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp54187fqu/tmpr710qbx7'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: comment 1154s # 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. 1154s # 1154s # 1154s # file-header 1154s # file-production 1154s # filename: /tmp/tmp54187fqu/tmpyffs5ki0.h 1154s # basename: tmpyffs5ki0.h 1154s # enumeration-production 1154s # EnumName: TestSymbolicEnum 1154s # enum_name: test_symbolic_enum 1154s # ENUMNAME: TEST_SYMBOLIC_ENUM 1154s # ENUMSHORT: SYMBOLIC_ENUM 1154s # ENUMPREFIX: TEST 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-header 1154s # EnumName: TestSymbolicEnum 1154s # enum_name: test_symbolic_enum 1154s # ENUMNAME: TEST_SYMBOLIC_ENUM 1154s # ENUMSHORT: SYMBOLIC_ENUM 1154s # ENUMPREFIX: TEST 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-production 1154s # VALUENAME: ENUM_VALUE_PUBLIC 1154s # valuenick: public 1154s # valuenum: 7 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-tail 1154s # EnumName: TestSymbolicEnum 1154s # enum_name: test_symbolic_enum 1154s # ENUMNAME: TEST_SYMBOLIC_ENUM 1154s # ENUMSHORT: SYMBOLIC_ENUM 1154s # ENUMPREFIX: TEST 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # file-tail 1154s # 1154s # comment 1154s # comment: Generated data ends here 1154s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1154s # tmpdir: /tmp/tmp9lrn_21w 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmp9lrn_21w/tmpu754y1vw.template: 1154s # /*** BEGIN file-header ***/ 1154s # file-header 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-header ***/ 1154s # 1154s # /*** BEGIN comment ***/ 1154s # comment 1154s # comment: @comment@ 1154s # /*** END comment ***/ 1154s # 1154s # /*** BEGIN file-tail ***/ 1154s # file-tail 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-tail ***/ 1154s # Response file contains: --template /tmp/tmp9lrn_21w/tmpu754y1vw.template 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9lrn_21w/tmp79pgnsmo'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: comment 1154s # 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. 1154s # 1154s # 1154s # file-header 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # file-tail 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # 1154s # comment 1154s # comment: Generated data ends here 1154s ok 29 __main__.TestRspMkenums.test_help 1154s # tmpdir: /tmp/tmph8pb5tu7 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # Response file contains: --help 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmph8pb5tu7/tmpno7x4ph4'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1154s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1154s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1154s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1154s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1154s # [--output OUTPUT] [--version] 1154s # [args ...] 1154s # 1154s # positional arguments: 1154s # args One or more input files, or a single argument 1154s # @rspfile_path pointing to a file that contains the 1154s # actual arguments 1154s # 1154s # options: 1154s # -h, --help show this help message and exit 1154s # --identifier-prefix IDPREFIX 1154s # Identifier prefix 1154s # --symbol-prefix SYMPREFIX 1154s # Symbol prefix 1154s # --fhead FHEAD Output file header 1154s # --ftail FTAIL Output file footer 1154s # --fprod FPROD Put out TEXT every time a new input file is being 1154s # processed. 1154s # --eprod EPROD Per enum text, produced prior to value iterations 1154s # --vhead VHEAD Value header, produced before iterating over enum 1154s # values 1154s # --vprod VPROD Value text, produced for each enum value. 1154s # --vtail VTAIL Value tail, produced after iterating over enum values 1154s # --comments COMMENT_TMPL 1154s # Comment structure 1154s # --template TEMPLATE Template file 1154s # --output OUTPUT 1154s # --version, -v Print version information 1154s # 1154s # Production text substitutions: 1154s # @EnumName@ PrefixTheXEnum 1154s # @enum_name@ prefix_the_xenum 1154s # @ENUMNAME@ PREFIX_THE_XENUM 1154s # @ENUMSHORT@ THE_XENUM 1154s # @ENUMPREFIX@ PREFIX 1154s # @enumsince@ the user-provided since value given 1154s # @VALUENAME@ PREFIX_THE_XVALUE 1154s # @valuenick@ the-xvalue 1154s # @valuenum@ the integer value (limited support, Since: 2.26) 1154s # @type@ either enum or flags 1154s # @Type@ either Enum or Flags 1154s # @TYPE@ either ENUM or FLAGS 1154s # @filename@ name of current input file 1154s # @basename@ base name of the current input file (Since: 2.22) 1154s ok 30 __main__.TestRspMkenums.test_no_args 1154s # tmpdir: /tmp/tmp7nk8hiub 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # Response file contains: 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7nk8hiub/tmpr5fbo23b'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # 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. */ 1154s # 1154s # 1154s # /* Generated data ends here */ 1154s ok 31 __main__.TestRspMkenums.test_no_headers 1154s # tmpdir: /tmp/tmpzu7b28qo 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmpzu7b28qo/tmp_ztb4jg8.template: 1154s # /*** BEGIN file-header ***/ 1154s # file-header 1154s # /*** END file-header ***/ 1154s # 1154s # /*** BEGIN file-production ***/ 1154s # file-production 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-production ***/ 1154s # 1154s # /*** BEGIN enumeration-production ***/ 1154s # enumeration-production 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END enumeration-production ***/ 1154s # 1154s # /*** BEGIN value-header ***/ 1154s # value-header 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-header ***/ 1154s # 1154s # /*** BEGIN value-production ***/ 1154s # value-production 1154s # VALUENAME: @VALUENAME@ 1154s # valuenick: @valuenick@ 1154s # valuenum: @valuenum@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-production ***/ 1154s # 1154s # /*** BEGIN value-tail ***/ 1154s # value-tail 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-tail ***/ 1154s # 1154s # /*** BEGIN comment ***/ 1154s # comment 1154s # comment: @comment@ 1154s # /*** END comment ***/ 1154s # 1154s # /*** BEGIN file-tail ***/ 1154s # file-tail 1154s # /*** END file-tail ***/ 1154s # 1154s # Response file contains: --template /tmp/tmpzu7b28qo/tmp_ztb4jg8.template 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzu7b28qo/tmpoka4pwel'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: comment 1154s # 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. 1154s # 1154s # 1154s # file-header 1154s # file-tail 1154s # 1154s # comment 1154s # comment: Generated data ends here 1154s ok 32 __main__.TestRspMkenums.test_no_nick 1154s # tmpdir: /tmp/tmpgdlpravx 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmpgdlpravx/tmpnj_ccbpr.h: 1154s # typedef enum { 1154s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1154s # } GeglSamplerType; 1154s # 1154s # /tmp/tmpgdlpravx/tmpn5cx4hw6.template: 1154s # /*** BEGIN file-header ***/ 1154s # file-header 1154s # /*** END file-header ***/ 1154s # 1154s # /*** BEGIN file-production ***/ 1154s # file-production 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-production ***/ 1154s # 1154s # /*** BEGIN enumeration-production ***/ 1154s # enumeration-production 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END enumeration-production ***/ 1154s # 1154s # /*** BEGIN value-header ***/ 1154s # value-header 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-header ***/ 1154s # 1154s # /*** BEGIN value-production ***/ 1154s # value-production 1154s # VALUENAME: @VALUENAME@ 1154s # valuenick: @valuenick@ 1154s # valuenum: @valuenum@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-production ***/ 1154s # 1154s # /*** BEGIN value-tail ***/ 1154s # value-tail 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-tail ***/ 1154s # 1154s # /*** BEGIN comment ***/ 1154s # comment 1154s # comment: @comment@ 1154s # /*** END comment ***/ 1154s # 1154s # /*** BEGIN file-tail ***/ 1154s # file-tail 1154s # /*** END file-tail ***/ 1154s # 1154s # Response file contains: --template /tmp/tmpgdlpravx/tmpn5cx4hw6.template /tmp/tmpgdlpravx/tmpnj_ccbpr.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgdlpravx/tmp_8u893yh'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: comment 1154s # 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. 1154s # 1154s # 1154s # file-header 1154s # file-production 1154s # filename: /tmp/tmpgdlpravx/tmpnj_ccbpr.h 1154s # basename: tmpnj_ccbpr.h 1154s # enumeration-production 1154s # EnumName: GeglSamplerType 1154s # enum_name: gegl_sampler_type 1154s # ENUMNAME: GEGL_SAMPLER_TYPE 1154s # ENUMSHORT: SAMPLER_TYPE 1154s # ENUMPREFIX: GEGL 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-header 1154s # EnumName: GeglSamplerType 1154s # enum_name: gegl_sampler_type 1154s # ENUMNAME: GEGL_SAMPLER_TYPE 1154s # ENUMSHORT: SAMPLER_TYPE 1154s # ENUMPREFIX: GEGL 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-production 1154s # VALUENAME: GEGL_SAMPLER_NEAREST 1154s # valuenick: nearest 1154s # valuenum: 0 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-tail 1154s # EnumName: GeglSamplerType 1154s # enum_name: gegl_sampler_type 1154s # ENUMNAME: GEGL_SAMPLER_TYPE 1154s # ENUMSHORT: SAMPLER_TYPE 1154s # ENUMPREFIX: GEGL 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # file-tail 1154s # 1154s # comment 1154s # comment: Generated data ends here 1154s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1154s # tmpdir: /tmp/tmp33l9bpz3 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmp33l9bpz3/tmpgldaiop9.h: 1154s # /* Copyright © La Peña */ 1154s # typedef enum { 1154s # ENUM_VALUE 1154s # } SomeEnumIdentifier; 1154s # 1154s # /tmp/tmp33l9bpz3/tmpsj38iaf3.template: 1154s # /*** BEGIN file-header ***/ 1154s # file-header 1154s # /*** END file-header ***/ 1154s # 1154s # /*** BEGIN file-production ***/ 1154s # file-production 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-production ***/ 1154s # 1154s # /*** BEGIN enumeration-production ***/ 1154s # enumeration-production 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END enumeration-production ***/ 1154s # 1154s # /*** BEGIN value-header ***/ 1154s # value-header 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-header ***/ 1154s # 1154s # /*** BEGIN value-production ***/ 1154s # value-production 1154s # VALUENAME: @VALUENAME@ 1154s # valuenick: @valuenick@ 1154s # valuenum: @valuenum@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-production ***/ 1154s # 1154s # /*** BEGIN value-tail ***/ 1154s # value-tail 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-tail ***/ 1154s # 1154s # /*** BEGIN comment ***/ 1154s # comment 1154s # comment: @comment@ 1154s # /*** END comment ***/ 1154s # 1154s # /*** BEGIN file-tail ***/ 1154s # file-tail 1154s # /*** END file-tail ***/ 1154s # 1154s # Response file contains: --template /tmp/tmp33l9bpz3/tmpsj38iaf3.template /tmp/tmp33l9bpz3/tmpgldaiop9.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp33l9bpz3/tmp2c1jr5mr'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: comment 1154s # 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. 1154s # 1154s # 1154s # file-header 1154s # file-production 1154s # filename: /tmp/tmp33l9bpz3/tmpgldaiop9.h 1154s # basename: tmpgldaiop9.h 1154s # enumeration-production 1154s # EnumName: SomeEnumIdentifier 1154s # enum_name: some_enum_identifier 1154s # ENUMNAME: SOME_ENUM_IDENTIFIER 1154s # ENUMSHORT: ENUM_IDENTIFIER 1154s # ENUMPREFIX: SOME 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-header 1154s # EnumName: SomeEnumIdentifier 1154s # enum_name: some_enum_identifier 1154s # ENUMNAME: SOME_ENUM_IDENTIFIER 1154s # ENUMSHORT: ENUM_IDENTIFIER 1154s # ENUMPREFIX: SOME 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-production 1154s # VALUENAME: ENUM_VALUE 1154s # valuenick: value 1154s # valuenum: 0 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-tail 1154s # EnumName: SomeEnumIdentifier 1154s # enum_name: some_enum_identifier 1154s # ENUMNAME: SOME_ENUM_IDENTIFIER 1154s # ENUMSHORT: ENUM_IDENTIFIER 1154s # ENUMPREFIX: SOME 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # file-tail 1154s # 1154s # comment 1154s # comment: Generated data ends here 1154s ok 34 __main__.TestRspMkenums.test_reproducible 1154s # tmpdir: /tmp/tmpak1yex66 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmpak1yex66/tmp8c6cpjlb.template: template 1154s # Response file contains: --template /tmp/tmpak1yex66/tmp8c6cpjlb.template /tmp/tmpak1yex66/tmpj8gyuj161.h /tmp/tmpak1yex66/tmpxj_9rjce2.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpak1yex66/tmpjz5h7jhi'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # 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. */ 1154s # 1154s # 1154s # /* Generated data ends here */ 1154s # /tmp/tmpak1yex66/tmpu2r7hjy0.template: template 1154s # Response file contains: --template /tmp/tmpak1yex66/tmpu2r7hjy0.template /tmp/tmpak1yex66/tmpxj_9rjce2.h /tmp/tmpak1yex66/tmpj8gyuj161.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpak1yex66/tmp916_6gu1'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # 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. */ 1154s # 1154s # 1154s # /* Generated data ends here */ 1154s ok 35 __main__.TestRspMkenums.test_since 1154s # tmpdir: /tmp/tmpw4hyoy0l 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmpw4hyoy0l/tmprkngcxjl.h: 1154s # typedef enum { /*< since=1.0 >*/ 1154s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1154s # } QmiWmsMessageProtocol; 1154s # 1154s # /tmp/tmpw4hyoy0l/tmp_cjewugm.template: 1154s # /*** BEGIN file-header ***/ 1154s # file-header 1154s # /*** END file-header ***/ 1154s # 1154s # /*** BEGIN file-production ***/ 1154s # file-production 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-production ***/ 1154s # 1154s # /*** BEGIN enumeration-production ***/ 1154s # enumeration-production 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END enumeration-production ***/ 1154s # 1154s # /*** BEGIN value-header ***/ 1154s # value-header 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-header ***/ 1154s # 1154s # /*** BEGIN value-production ***/ 1154s # value-production 1154s # VALUENAME: @VALUENAME@ 1154s # valuenick: @valuenick@ 1154s # valuenum: @valuenum@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-production ***/ 1154s # 1154s # /*** BEGIN value-tail ***/ 1154s # value-tail 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-tail ***/ 1154s # 1154s # /*** BEGIN comment ***/ 1154s # comment 1154s # comment: @comment@ 1154s # /*** END comment ***/ 1154s # 1154s # /*** BEGIN file-tail ***/ 1154s # file-tail 1154s # /*** END file-tail ***/ 1154s # 1154s # Response file contains: --template /tmp/tmpw4hyoy0l/tmp_cjewugm.template /tmp/tmpw4hyoy0l/tmprkngcxjl.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpw4hyoy0l/tmpuu3hjnin'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: comment 1154s # 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. 1154s # 1154s # 1154s # file-header 1154s # file-production 1154s # filename: /tmp/tmpw4hyoy0l/tmprkngcxjl.h 1154s # basename: tmprkngcxjl.h 1154s # enumeration-production 1154s # EnumName: QmiWmsMessageProtocol 1154s # enum_name: qmi_wms_message_protocol 1154s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1154s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1154s # ENUMPREFIX: QMI 1154s # enumsince: 1.0 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-header 1154s # EnumName: QmiWmsMessageProtocol 1154s # enum_name: qmi_wms_message_protocol 1154s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1154s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1154s # ENUMPREFIX: QMI 1154s # enumsince: 1.0 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-production 1154s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1154s # valuenick: cdma 1154s # valuenum: 0 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-tail 1154s # EnumName: QmiWmsMessageProtocol 1154s # enum_name: qmi_wms_message_protocol 1154s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1154s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1154s # ENUMPREFIX: QMI 1154s # enumsince: 1.0 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # file-tail 1154s # 1154s # comment 1154s # comment: Generated data ends here 1154s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1154s # tmpdir: /tmp/tmprcr5ossk 1154s # rspfile: True, mkenums: /usr/bin/glib-mkenums 1154s # /tmp/tmprcr5ossk/tmp5wkilkc9.h: 1154s # typedef enum { 1154s # FOO_VALUE /*< nick="eek, a comma" >*/ 1154s # } Foo; 1154s # 1154s # /tmp/tmprcr5ossk/tmp21yardmc.template: 1154s # /*** BEGIN file-header ***/ 1154s # file-header 1154s # /*** END file-header ***/ 1154s # 1154s # /*** BEGIN file-production ***/ 1154s # file-production 1154s # filename: @filename@ 1154s # basename: @basename@ 1154s # /*** END file-production ***/ 1154s # 1154s # /*** BEGIN enumeration-production ***/ 1154s # enumeration-production 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END enumeration-production ***/ 1154s # 1154s # /*** BEGIN value-header ***/ 1154s # value-header 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-header ***/ 1154s # 1154s # /*** BEGIN value-production ***/ 1154s # value-production 1154s # VALUENAME: @VALUENAME@ 1154s # valuenick: @valuenick@ 1154s # valuenum: @valuenum@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-production ***/ 1154s # 1154s # /*** BEGIN value-tail ***/ 1154s # value-tail 1154s # EnumName: @EnumName@ 1154s # enum_name: @enum_name@ 1154s # ENUMNAME: @ENUMNAME@ 1154s # ENUMSHORT: @ENUMSHORT@ 1154s # ENUMPREFIX: @ENUMPREFIX@ 1154s # enumsince: @enumsince@ 1154s # type: @type@ 1154s # Type: @Type@ 1154s # TYPE: @TYPE@ 1154s # /*** END value-tail ***/ 1154s # 1154s # /*** BEGIN comment ***/ 1154s # comment 1154s # comment: @comment@ 1154s # /*** END comment ***/ 1154s # 1154s # /*** BEGIN file-tail ***/ 1154s # file-tail 1154s # /*** END file-tail ***/ 1154s # 1154s # Response file contains: --template /tmp/tmprcr5ossk/tmp21yardmc.template /tmp/tmprcr5ossk/tmp5wkilkc9.h 1154s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprcr5ossk/tmp6w7zo5kt'] 1154s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1154s # Output: comment 1154s # 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. 1154s # 1154s # 1154s # file-header 1154s # file-production 1154s # filename: /tmp/tmprcr5ossk/tmp5wkilkc9.h 1154s # basename: tmp5wkilkc9.h 1154s # enumeration-production 1154s # EnumName: Foo 1154s # enum_name: foo_ 1154s # ENUMNAME: FOO_ 1154s # ENUMSHORT: 1154s # ENUMPREFIX: FOO 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-header 1154s # EnumName: Foo 1154s # enum_name: foo_ 1154s # ENUMNAME: FOO_ 1154s # ENUMSHORT: 1154s # ENUMPREFIX: FOO 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-production 1154s # VALUENAME: FOO_VALUE 1154s # valuenick: eek, a comma 1154s # valuenum: 0 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # value-tail 1154s # EnumName: Foo 1154s # enum_name: foo_ 1154s # ENUMNAME: FOO_ 1154s # ENUMSHORT: 1154s # ENUMPREFIX: FOO 1154s # enumsince: 1154s # type: enum 1154s # Type: Enum 1154s # TYPE: ENUM 1154s # file-tail 1154s # 1154s # comment 1154s # comment: Generated data ends here 1154s 1..36 1154s ok - glib/mkenums.py.test 1154s # Running test: glib/volumemonitor.test 1154s TAP version 13 1154s # random seed: R02Sea788a62870d299879b30758b8e8f21d 1154s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1154s 1..3 1154s # Start of volumemonitor tests 1154s ok 1 /volumemonitor/connected_drives 1154s ok 2 /volumemonitor/volumes 1154s ok 3 /volumemonitor/mounts 1154s # End of volumemonitor tests 1154s ok - glib/volumemonitor.test 1154s # Running test: glib/autoptr.test 1154s TAP version 13 1154s # random seed: R02Sc46e9bc0b434b71a63b4f153230eeb0b 1154s 1..6 1154s # Start of autoptr tests 1154s ok 1 /autoptr/autoptr 1154s ok 2 /autoptr/autoptr_steal 1154s ok 3 /autoptr/autolist 1154s ok 4 /autoptr/autoslist 1154s ok 5 /autoptr/autoqueue 1154s ok 6 /autoptr/autoclass 1154s # End of autoptr tests 1154s ok - glib/autoptr.test 1154s # Running test: glib/gapplication.test 1154s TAP version 13 1154s # random seed: R02Saa722bd10cf4bf36db393c0251e37438 1154s 1..24 1154s # Start of gapplication tests 1154s ok 1 /gapplication/no-dbus 1154s ok 2 /gapplication/no-appid 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1154s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s ok 3 /gapplication/properties 1154s ok 4 /gapplication/app-id 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1154s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s ok 5 /gapplication/quit 1154s ok 6 /gapplication/registered 1154s ok 7 /gapplication/local-actions 1154s ok 8 /gapplication/local-command-line 1154s ok 9 /gapplication/resource-path 1154s ok 10 /gapplication/test-help 1154s ok 11 /gapplication/command-line-done 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1154s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s ok 12 /gapplication/test-busy 1154s ok 13 /gapplication/test-handle-local-options1 1154s ok 14 /gapplication/test-handle-local-options2 1154s ok 15 /gapplication/test-handle-local-options3 1154s ok 16 /gapplication/api 1154s ok 17 /gapplication/version 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1154s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1154s # launching subprocess 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s ok 18 /gapplication/replace 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1154s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1154s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1154s # launching subprocess 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s ok 19 /gapplication/no-replace 1155s # slow test /gapplication/no-replace executed in 0.51 secs 1155s # Start of dbus tests 1155s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1155s # Message 0 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # Message 1 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # Message 2 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s ok 20 /gapplication/dbus/activate 1155s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1155s # Message 0 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1155s # Message 1 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # Message 2 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # Message 3 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s ok 21 /gapplication/dbus/open 1155s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1155s # Message 0 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # Message 1 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # Message 2 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s ok 22 /gapplication/dbus/command-line 1155s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s ok 23 /gapplication/dbus/command-line-done 1155s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1155s # Message 0 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # Message 1 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # Message 2 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # Message 3 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # Message 4 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # Message 5 1155s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1155s ok 24 /gapplication/dbus/activate-action 1155s # End of dbus tests 1155s # End of gapplication tests 1155s ok - glib/gapplication.test 1155s # Running test: glib/unix-fd.test 1155s TAP version 13 1155s # random seed: R02Sc6597932af0f3f72c0981f940a437a87 1155s 1..2 1155s # Start of unix-fd tests 1155s ok 1 /unix-fd/fd-list 1155s ok 2 /unix-fd/scm 1155s # End of unix-fd tests 1155s ok - glib/unix-fd.test 1155s # Running test: glib/spawn-singlethread.test 1155s TAP version 13 1155s # random seed: R02S1aaa4949194ca82381d8da93739d84f9 1155s 1..9 1155s # Start of gthread tests 1155s ok 1 /gthread/spawn-single-sync 1155s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1155s ok 2 /gthread/spawn-stderr-socket 1155s ok 3 /gthread/spawn-single-async 1155s # thread 1 1155s # thread 1 1155s ok 4 /gthread/spawn-single-async-with-fds 1155s ok 5 /gthread/spawn-async-with-invalid-fds 1155s ok 6 /gthread/spawn-script 1155s ok 7 /gthread/spawn-posix-spawn 1155s # Start of spawn tests 1155s ok 8 /gthread/spawn/nonexistent 1155s # FD map: 1155s # • 5 → 15 1155s # • 6 → 16 1155s # • 7 → 17 1155s # • 8 → 18 1155s # • 9 → 19 1155s # • 10 → 20 1155s # • 11 → 21 1155s # • 12 → 22 1155s # • 13 → 23 1155s # • 3 → 13 1155s ok 9 /gthread/spawn/fd-assignment-clash 1155s # End of spawn tests 1155s # End of gthread tests 1155s ok - glib/spawn-singlethread.test 1155s # Running test: glib/properties-refcount1.test 1155s TAP version 13 1155s # random seed: R02Sd1c0f8ef25c5d5f4b58c7182ee128920 1155s 1..1 1155s # Start of gobject tests 1155s # Start of refcount tests 1155s # Executing: glib/properties-refcount1.test 1155s # .b 1155s # .e 1155s # .c 1155s # .f 1155s # .d 1155s # .e 1155s # .b 1155s # .c 1155s # .f 1155s # .d 1155s # .b 1155s # .e 1155s # .c 1155s # .f 1155s # .d 1156s # .b 1156s # .f 1156s # .d 1156s # .e 1156s # .c 1156s # .f 1156s # .b 1156s # .e 1156s # .c 1156s # .d 1156s # .b 1156s # .c 1156s # .e 1156s # .d 1156s # .f 1156s # .b 1156s # .d 1156s # .c 1156s # .f 1156s # .e 1156s # .d 1156s # .b 1156s # .e 1156s # .c 1156s # .f 1157s # .c 1157s # .e 1157s # .d 1157s # .b 1157s # .f 1157s # .d 1157s # .e 1157s # .c 1157s # .b 1157s # .f 1157s # .e 1157s # .c 1157s # .d 1157s # .f 1157s # .b 1157s # .e 1157s # .d 1157s # .f 1157s # .c 1157s # .b 1157s # .e 1157s # .d 1157s # .f 1157s # .c 1157s # .b 1157s # .e 1157s # .d 1158s # .f 1158s # .c 1158s # .b 1158s # .e 1158s # .d 1158s # .f 1158s # .c 1158s # .b 1158s # .e 1158s # .d 1158s # .f 1158s # .c 1158s # .b 1158s ok 1 /gobject/refcount/properties-1 1158s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 1158s # End of refcount tests 1158s # End of gobject tests 1158s ok - glib/properties-refcount1.test 1158s # Running test: glib/binding.test 1158s TAP version 13 1158s # random seed: R02S42756d8340202fc4307cd35b68dc140d 1158s 1..19 1158s # Start of binding tests 1158s ok 1 /binding/default 1158s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1158s ok 2 /binding/canonicalisation 1158s ok 3 /binding/bidirectional 1158s ok 4 /binding/transform 1158s ok 5 /binding/transform-default 1158s ok 6 /binding/transform-closure 1158s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1158s ok 7 /binding/chain 1158s ok 8 /binding/sync-create 1158s ok 9 /binding/invert-boolean 1158s ok 10 /binding/same-object 1158s ok 11 /binding/unbind 1158s ok 12 /binding/unbind-weak 1158s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1158s ok 13 /binding/unbind-multiple 1158s ok 14 /binding/fail 1158s ok 15 /binding/interface 1158s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1158s ok 16 /binding/concurrent-unbind 1158s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1158s ok 17 /binding/concurrent-finalizing 1158s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1158s ok 18 /binding/dispose-source 1158s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1158s ok 19 /binding/dispose-target 1158s # End of binding tests 1158s ok - glib/binding.test 1158s # Running test: glib/cxx-03.test 1158s TAP version 13 1158s # random seed: R02S0fcd140d81c3d5c1a9d0c4e7212abe64 1158s 1..2 1158s # Start of gtask tests 1158s # 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. 1158s ok 1 /gtask/name 1158s # Start of name tests 1158s # 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. 1158s ok 2 /gtask/name/macro-wrapper 1158s # End of name tests 1158s # End of gtask tests 1158s ok - glib/cxx-03.test 1158s # Running test: glib/portal-support-snap.test 1158s TAP version 13 1158s # random seed: R02Sa8ae3b3bcb7e7c0ab06b479270e61860 1158s 1..7 1158s # Start of portal-support tests 1158s # Start of snap tests 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/no-snapctl/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/no-snapctl/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_KYU2K2/portal-support/snap/no-snapctl/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/no-snapctl/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_KYU2K2/portal-support/snap/no-snapctl/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/no-snapctl/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/no-snapctl/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/no-snapctl/.dirs/runtime 1158s # Created snap.yaml in /tmp/test_portal-support-snap_KYU2K2/meta/snap.yaml 1158s ok 1 /portal-support/snap/no-snapctl 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/none/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/none/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_KYU2K2/portal-support/snap/none/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/none/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_KYU2K2/portal-support/snap/none/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/none/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/none/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/none/.dirs/runtime 1158s # Created snap.yaml in /tmp/test_portal-support-snap_KYU2K2/meta/snap.yaml 1158s # Created snapctl in /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/none/.dirs/runtime/snapctl 1158s ok 2 /portal-support/snap/none 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/all/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/all/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_KYU2K2/portal-support/snap/all/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/all/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_KYU2K2/portal-support/snap/all/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/all/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/all/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/all/.dirs/runtime 1158s # Created snap.yaml in /tmp/test_portal-support-snap_KYU2K2/meta/snap.yaml 1158s # Created snapctl in /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/all/.dirs/runtime/snapctl 1158s ok 3 /portal-support/snap/all 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/desktop-only/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/desktop-only/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_KYU2K2/portal-support/snap/desktop-only/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/desktop-only/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_KYU2K2/portal-support/snap/desktop-only/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/desktop-only/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/desktop-only/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/desktop-only/.dirs/runtime 1158s # Created snap.yaml in /tmp/test_portal-support-snap_KYU2K2/meta/snap.yaml 1158s # Created snapctl in /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1158s ok 4 /portal-support/snap/desktop-only 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/network-only/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/network-only/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_KYU2K2/portal-support/snap/network-only/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/network-only/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_KYU2K2/portal-support/snap/network-only/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/network-only/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/network-only/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/network-only/.dirs/runtime 1158s # Created snap.yaml in /tmp/test_portal-support-snap_KYU2K2/meta/snap.yaml 1158s # Created snapctl in /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/network-only/.dirs/runtime/snapctl 1158s ok 5 /portal-support/snap/network-only 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/gsettings-only/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/gsettings-only/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_KYU2K2/portal-support/snap/gsettings-only/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/gsettings-only/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_KYU2K2/portal-support/snap/gsettings-only/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/gsettings-only/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/gsettings-only/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/gsettings-only/.dirs/runtime 1158s # Created snap.yaml in /tmp/test_portal-support-snap_KYU2K2/meta/snap.yaml 1158s # Created snapctl in /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1158s ok 6 /portal-support/snap/gsettings-only 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/runtime 1158s # Created snap.yaml in /tmp/test_portal-support-snap_KYU2K2/meta/snap.yaml 1158s # Created snapctl in /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1158s # Created snapctl in /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1158s # Created snapctl in /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1158s # Created snapctl in /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1158s # Created snapctl in /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1158s # Created snapctl in /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1158s # Created snapctl in /tmp/test_portal-support-snap_KYU2K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1158s ok 7 /portal-support/snap/updates-dynamically 1158s # End of snap tests 1158s # End of portal-support tests 1158s ok - glib/portal-support-snap.test 1158s # Running test: glib/protocol.test 1158s TAP version 13 1158s # random seed: R02S78c415e39928a3ea4f2092ee246db348 1158s 1..9 1158s # Start of glib tests 1158s # Start of testing tests 1158s # Start of protocol tests 1158s ok 1 /glib/testing/protocol/debug 1158s ok 2 /glib/testing/protocol/info 1158s ok 3 /glib/testing/protocol/message 1158s ok 4 /glib/testing/protocol/warning 1158s ok 5 /glib/testing/protocol/critical 1158s ok 6 /glib/testing/protocol/error 1158s ok 7 /glib/testing/protocol/gtest-message 1158s ok 8 /glib/testing/protocol/test-message 1158s ok 9 /glib/testing/protocol/test-error 1158s # End of protocol tests 1158s # End of testing tests 1158s # End of glib tests 1158s ok - glib/protocol.test 1158s # Running test: glib/bytes.test 1158s TAP version 13 1158s # random seed: R02S145c7215d078b2b35fcff3e98267bf41 1158s 1..21 1158s # Start of bytes tests 1158s ok 1 /bytes/new 1158s ok 2 /bytes/new-take 1158s ok 3 /bytes/new-static 1158s ok 4 /bytes/new-with-free-func 1158s ok 5 /bytes/new-from-bytes 1158s ok 6 /bytes/new-from-bytes-slice 1158s ok 7 /bytes/new-from-bytes-shared-ref 1158s ok 8 /bytes/hash 1158s ok 9 /bytes/equal 1158s ok 10 /bytes/compare 1158s ok 11 /bytes/null 1158s ok 12 /bytes/get-region 1158s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1158s ok 13 /bytes/unref-null 1158s # Start of to-data tests 1158s ok 14 /bytes/to-data/transferred 1158s ok 15 /bytes/to-data/two-refs 1158s ok 16 /bytes/to-data/non-malloc 1158s ok 17 /bytes/to-data/different-free-func 1158s # End of to-data tests 1158s # Start of to-array tests 1158s ok 18 /bytes/to-array/transferred 1158s ok 19 /bytes/to-array/two-refs 1158s ok 20 /bytes/to-array/non-malloc 1158s # Start of transferred tests 1158s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1158s ok 21 /bytes/to-array/transferred/oversize 1158s # End of transferred tests 1158s # End of to-array tests 1158s # End of bytes tests 1158s ok - glib/bytes.test 1158s # Running test: glib/gdbus-exit-on-close.test 1158s TAP version 13 1158s # random seed: R02S18b9686497d197c0e2fa7ba1557256dc 1158s 1..4 1158s # Start of gdbus tests 1158s # Start of exit-on-close tests 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/default/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/default/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/default/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/default/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/default/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/default/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/default/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/default/.dirs/runtime 1158s ok 1 /gdbus/exit-on-close/default 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/true/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/true/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/true/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/true/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/true/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/true/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/true/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/true/.dirs/runtime 1158s ok 2 /gdbus/exit-on-close/true 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/false/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/false/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/false/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/false/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/false/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/false/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/false/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/false/.dirs/runtime 1158s ok 3 /gdbus/exit-on-close/false 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/we-close/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/we-close/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/we-close/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/we-close/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/we-close/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/we-close/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/we-close/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_NB0IK2/gdbus/exit-on-close/we-close/.dirs/runtime 1158s ok 4 /gdbus/exit-on-close/we-close 1158s # Start of default tests 1158s # End of default tests 1158s # Start of true tests 1158s # End of true tests 1158s # Start of false tests 1158s # End of false tests 1158s # Start of we-close tests 1158s # End of we-close tests 1158s # End of exit-on-close tests 1158s # End of gdbus tests 1158s ok - glib/gdbus-exit-on-close.test 1158s # Running test: glib/utils-c-17.test 1158s TAP version 13 1158s # random seed: R02Sc2ea9fb92b4b39bab38315654116085f 1158s 1..40 1158s # Start of utils tests 1158s ok 1 /utils/language-names 1158s ok 2 /utils/locale-variants 1158s ok 3 /utils/version 1158s ok 4 /utils/appname 1158s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1158s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1158s ok 5 /utils/prgname-thread-safety 1158s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1158s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1158s ok 6 /utils/tmpdir 1158s ok 7 /utils/basic_bits 1158s ok 8 /utils/bits 1158s ok 9 /utils/swap 1158s ok 10 /utils/find-program 1158s ok 11 /utils/find-program-for-path 1158s ok 12 /utils/debug 1158s ok 13 /utils/codeset 1158s ok 14 /utils/codeset2 1158s ok 15 /utils/console-charset 1158s ok 16 /utils/gettext 1158s ok 17 /utils/username 1158s ok 18 /utils/realname 1158s ok 19 /utils/hostname 1158s ok 20 /utils/xdgdirs 1158s ok 21 /utils/specialdir 1158s # NAME: Ubuntu 1158s ok 22 /utils/os-info 1158s ok 23 /utils/clear-pointer 1158s ok 24 /utils/clear-pointer-cast 1158s ok 25 /utils/take-pointer 1158s ok 26 /utils/clear-source 1158s ok 27 /utils/misc-mem 1158s # /utils/aligned-mem summary: Aligned memory allocator 1158s # Alignment must not be zero 1158s # Alignment must be a power of two 1158s # Alignment must be a multiple of sizeof(void*) 1158s ok 28 /utils/aligned-mem 1158s # /utils/free-sized summary: Check that g_free_sized() works 1158s ok 29 /utils/free-sized 1158s ok 30 /utils/nullify 1158s ok 31 /utils/atexit 1158s ok 32 /utils/check-setuid 1158s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1158s ok 33 /utils/int-limits 1158s ok 34 /utils/clear-list 1158s ok 35 /utils/clear-slist 1158s # Start of specialdir tests 1158s ok 36 /utils/specialdir/desktop 1158s # End of specialdir tests 1158s # Start of clear-pointer tests 1158s ok 37 /utils/clear-pointer/side-effects 1158s # End of clear-pointer tests 1158s # Start of aligned-mem tests 1158s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1158s ok 38 /utils/aligned-mem/alignment 1158s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1158s ok 39 /utils/aligned-mem/zeroed 1158s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1158s ok 40 /utils/aligned-mem/free-sized 1158s # Start of subprocess tests 1158s # End of subprocess tests 1158s # End of aligned-mem tests 1158s # End of utils tests 1158s ok - glib/utils-c-17.test 1158s # Running test: glib/defaultvalue.test 1158s TAP version 13 1158s # random seed: R02Sec4918640a28ead1307e936cd258bf50 1158s 1..84 1158s # Start of Default Values tests 1158s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1158s ok 2 /Default Values/GAppLaunchContext 1158s ok 3 /Default Values/GApplicationCommandLine 1158s # skipping GApplication:is-remote 1158s ok 4 /Default Values/GApplication 1158s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1158s ok 6 /Default Values/GBindingGroup 1158s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1158s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1158s ok 9 /Default Values/GBytesIcon 1158s ok 10 /Default Values/GCancellable 1158s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1158s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1158s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1158s ok 14 /Default Values/GCredentials 1158s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1158s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1158s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1158s ok 18 /Default Values/GDBusAuthObserver 1158s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1158s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1158s ok 21 /Default Values/GDBusMessage 1158s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1158s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1158s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1158s ok 25 /Default Values/GDBusObjectProxy 1158s ok 26 /Default Values/GDBusObjectSkeleton 1158s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1158s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1158s ok 29 /Default Values/GEmblem 1158s ok 30 /Default Values/GEmblemedIcon 1158s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1158s ok 32 /Default Values/GFileInfo 1158s ok 33 /Default Values/GFileInputStream 1158s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1158s ok 35 /Default Values/GFileOutputStream 1158s ok 36 /Default Values/GFilenameCompleter 1158s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1158s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1158s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1158s ok 40 /Default Values/GInitiallyUnowned 1158s ok 41 /Default Values/GIOModule 1158s ok 42 /Default Values/GListStore 1158s ok 43 /Default Values/GMemoryInputStream 1158s ok 44 /Default Values/GMemoryOutputStream 1158s ok 45 /Default Values/GMenu 1158s ok 46 /Default Values/GMenuItem 1158s ok 47 /Default Values/GMountOperation 1158s ok 48 /Default Values/GNativeSocketAddress 1158s ok 49 /Default Values/GNetworkAddress 1158s ok 50 /Default Values/GNetworkService 1158s ok 51 /Default Values/GNotification 1158s ok 52 /Default Values/GObject 1158s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1158s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1158s # skipping GProxyAddressEnumerator:proxy-resolver 1158s ok 54 /Default Values/GProxyAddressEnumerator 1158s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1158s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1158s ok 57 /Default Values/GSignalGroup 1158s ok 58 /Default Values/GSimpleAction 1158s ok 59 /Default Values/GSimpleActionGroup 1158s ok 60 /Default Values/GSimpleAsyncResult 1158s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1158s ok 62 /Default Values/GSimplePermission 1158s ok 63 /Default Values/GSimpleProxyResolver 1158s # skipping GSocketClient:proxy-resolver 1158s ok 64 /Default Values/GSocketClient 1158s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1158s ok 66 /Default Values/GSocket # SKIP initialization failed 1158s ok 67 /Default Values/GSocketListener 1158s ok 68 /Default Values/GSocketService 1158s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1158s ok 70 /Default Values/GSubprocessLauncher 1158s # GLib-GIO-DEBUG: GTask 0xe1becdb5f90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1158s ok 71 /Default Values/GTask 1158s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1158s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1158s ok 74 /Default Values/GTestDBus 1158s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1158s ok 76 /Default Values/GThreadedSocketService 1158s ok 77 /Default Values/GTlsInteraction 1158s ok 78 /Default Values/GTlsPassword 1158s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1158s ok 80 /Default Values/GUnixFDList 1158s ok 81 /Default Values/GVfs 1158s ok 82 /Default Values/GVolumeMonitor 1158s ok 83 /Default Values/GZlibCompressor 1158s ok 84 /Default Values/GZlibDecompressor 1158s # End of Default Values tests 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1158s ok - glib/defaultvalue.test 1158s # Running test: glib/scannerapi.test 1158s TAP version 13 1158s # random seed: R02S78efc83660929475df25d888513c7213 1158s 1..4 1158s # Start of scanner tests 1158s ok 1 /scanner/warn 1158s ok 2 /scanner/error 1158s ok 3 /scanner/symbols 1158s ok 4 /scanner/tokens 1158s # End of scanner tests 1158s ok - glib/scannerapi.test 1158s # Running test: glib/bookmarkfile.test 1158s TAP version 13 1158s # random seed: R02Sfc80148c34f2d3fb4e02ff23578695d6 1158s 1..96 1158s # Start of bookmarks tests 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/load-from-data-dirs/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/load-from-data-dirs/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/load-from-data-dirs/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/load-from-data-dirs/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/load-from-data-dirs/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/load-from-data-dirs/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/load-from-data-dirs/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/load-from-data-dirs/.dirs/runtime 1158s ok 1 /bookmarks/load-from-data-dirs 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/to-file/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/to-file/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/to-file/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/to-file/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/to-file/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/to-file/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/to-file/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/to-file/.dirs/runtime 1158s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_KHZQK2/bookmarkfile-test-DUVQK2.xbel 1158s # Roundtrip from a valid bookmark file 1158s ok 2 /bookmarks/to-file 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/move-item/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/move-item/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/move-item/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/move-item/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/move-item/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/move-item/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/move-item/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/move-item/.dirs/runtime 1158s ok 3 /bookmarks/move-item 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/corner-cases/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/corner-cases/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/corner-cases/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/corner-cases/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/corner-cases/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/corner-cases/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/corner-cases/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/corner-cases/.dirs/runtime 1158s ok 4 /bookmarks/corner-cases 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/misc/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/misc/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/misc/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/misc/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/misc/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/misc/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/misc/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/misc/.dirs/runtime 1158s ok 5 /bookmarks/misc 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/deprecated/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/deprecated/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/deprecated/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/deprecated/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/deprecated/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/deprecated/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/deprecated/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/deprecated/.dirs/runtime 1158s ok 6 /bookmarks/deprecated 1158s # Start of parse tests 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-27.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-27.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-27.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-27.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-27.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 1158s ok 7 /bookmarks/parse/fail-27.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-33.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-33.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-33.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-33.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-33.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 1158s ok 8 /bookmarks/parse/fail-33.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-06.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-06.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-06.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-06.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-06.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 1158s ok 9 /bookmarks/parse/fail-06.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-38.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-38.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-38.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-38.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-38.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 1158s ok 10 /bookmarks/parse/fail-38.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-04.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-04.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-04.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-04.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-04.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 1158s ok 11 /bookmarks/parse/fail-04.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-21.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-21.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-21.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-21.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-21.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 1158s ok 12 /bookmarks/parse/fail-21.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-02.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-02.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-02.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-02.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-02.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 1158s ok 13 /bookmarks/parse/valid-02.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-39.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-39.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-39.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-39.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-39.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 1158s ok 14 /bookmarks/parse/fail-39.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-42.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-42.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-42.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-42.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-42.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 1158s ok 15 /bookmarks/parse/fail-42.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-02.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-02.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-02.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-02.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-02.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 1158s ok 16 /bookmarks/parse/fail-02.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-24.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-24.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-24.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-24.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-24.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 1158s ok 17 /bookmarks/parse/fail-24.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-28.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-28.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-28.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-28.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-28.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 1158s ok 18 /bookmarks/parse/fail-28.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-08.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-08.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-08.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-08.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-08.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 1158s ok 19 /bookmarks/parse/fail-08.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-22.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-22.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-22.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-22.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-22.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 1158s ok 20 /bookmarks/parse/fail-22.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-29.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-29.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-29.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-29.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-29.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 1158s ok 21 /bookmarks/parse/fail-29.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-13.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-13.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-13.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-13.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-13.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 1158s ok 22 /bookmarks/parse/fail-13.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-03.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-03.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-03.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-03.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-03.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 1158s ok 23 /bookmarks/parse/fail-03.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-30.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-30.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-30.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-30.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-30.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 1158s ok 24 /bookmarks/parse/fail-30.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-05.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-05.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-05.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-05.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-05.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 1158s ok 25 /bookmarks/parse/fail-05.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-17.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-17.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-17.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-17.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-17.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 1158s ok 26 /bookmarks/parse/fail-17.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-14.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-14.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-14.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-14.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-14.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 1158s ok 27 /bookmarks/parse/fail-14.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-15.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-15.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-15.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-15.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-15.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 1158s ok 28 /bookmarks/parse/fail-15.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-35.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-35.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-35.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-35.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-35.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 1158s ok 29 /bookmarks/parse/fail-35.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-41.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-41.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-41.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-41.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-41.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 1158s ok 30 /bookmarks/parse/fail-41.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-36.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-36.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-36.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-36.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-36.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 1158s ok 31 /bookmarks/parse/fail-36.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-11.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-11.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-11.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-11.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-11.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 1158s ok 32 /bookmarks/parse/fail-11.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-07.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-07.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-07.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-07.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-07.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 1158s ok 33 /bookmarks/parse/fail-07.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-25.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-25.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-25.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-25.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-25.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 1158s ok 34 /bookmarks/parse/fail-25.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-10.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-10.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-10.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-10.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-10.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 1158s ok 35 /bookmarks/parse/fail-10.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-19.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-19.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-19.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-19.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-19.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 1158s ok 36 /bookmarks/parse/fail-19.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-34.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-34.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-34.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-34.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-34.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 1158s ok 37 /bookmarks/parse/fail-34.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-20.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-20.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-20.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-20.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-20.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 1158s ok 38 /bookmarks/parse/fail-20.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-09.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-09.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-09.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-09.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-09.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 1158s ok 39 /bookmarks/parse/fail-09.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-23.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-23.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-23.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-23.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-23.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 1158s ok 40 /bookmarks/parse/fail-23.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-40.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-40.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-40.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-40.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-40.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 1158s ok 41 /bookmarks/parse/fail-40.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-01.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-01.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-01.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-01.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-01.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 1158s ok 42 /bookmarks/parse/valid-01.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-03.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-03.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-03.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-03.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-03.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 1158s ok 43 /bookmarks/parse/valid-03.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-26.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-26.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-26.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-26.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-26.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 1158s ok 44 /bookmarks/parse/fail-26.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-01.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-01.xbel/.dirs/cache 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-01.xbel/.dirs/config 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-01.xbel/.dirs/data 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-01.xbel/.dirs/state 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 1158s ok 45 /bookmarks/parse/fail-01.xbel 1158s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-32.xbel/.dirs/home 1158s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-32.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-32.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-32.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-32.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 1159s ok 46 /bookmarks/parse/fail-32.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-16.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-16.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-16.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-16.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-16.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 1159s ok 47 /bookmarks/parse/fail-16.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-31.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-31.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-31.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-31.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-31.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 1159s ok 48 /bookmarks/parse/fail-31.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-12.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-12.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-12.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-12.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-12.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 1159s ok 49 /bookmarks/parse/fail-12.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-37.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-37.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-37.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-37.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-37.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 1159s ok 50 /bookmarks/parse/fail-37.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-18.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-18.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-18.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-18.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-18.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 1159s ok 51 /bookmarks/parse/fail-18.xbel 1159s # End of parse tests 1159s # Start of copy tests 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-27.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-27.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-27.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-27.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-27.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 1159s ok 52 /bookmarks/copy/fail-27.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-33.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-33.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-33.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-33.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-33.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 1159s ok 53 /bookmarks/copy/fail-33.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-06.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-06.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-06.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-06.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-06.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 1159s ok 54 /bookmarks/copy/fail-06.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-38.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-38.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-38.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-38.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-38.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 1159s ok 55 /bookmarks/copy/fail-38.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-04.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-04.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-04.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-04.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-04.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 1159s ok 56 /bookmarks/copy/fail-04.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-21.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-21.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-21.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-21.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-21.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 1159s ok 57 /bookmarks/copy/fail-21.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-02.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-02.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-02.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-02.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-02.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 1159s ok 58 /bookmarks/copy/valid-02.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-39.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-39.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-39.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-39.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-39.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 1159s ok 59 /bookmarks/copy/fail-39.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-42.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-42.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-42.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-42.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-42.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 1159s ok 60 /bookmarks/copy/fail-42.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-02.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-02.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-02.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-02.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-02.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 1159s ok 61 /bookmarks/copy/fail-02.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-24.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-24.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-24.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-24.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-24.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 1159s ok 62 /bookmarks/copy/fail-24.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-28.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-28.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-28.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-28.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-28.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 1159s ok 63 /bookmarks/copy/fail-28.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-08.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-08.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-08.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-08.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-08.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 1159s ok 64 /bookmarks/copy/fail-08.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-22.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-22.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-22.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-22.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-22.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 1159s ok 65 /bookmarks/copy/fail-22.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-29.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-29.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-29.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-29.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-29.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 1159s ok 66 /bookmarks/copy/fail-29.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-13.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-13.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-13.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-13.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-13.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 1159s ok 67 /bookmarks/copy/fail-13.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-03.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-03.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-03.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-03.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-03.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 1159s ok 68 /bookmarks/copy/fail-03.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-30.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-30.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-30.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-30.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-30.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 1159s ok 69 /bookmarks/copy/fail-30.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-05.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-05.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-05.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-05.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-05.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 1159s ok 70 /bookmarks/copy/fail-05.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-17.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-17.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-17.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-17.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-17.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 1159s ok 71 /bookmarks/copy/fail-17.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-14.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-14.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-14.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-14.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-14.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 1159s ok 72 /bookmarks/copy/fail-14.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-15.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-15.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-15.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-15.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-15.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 1159s ok 73 /bookmarks/copy/fail-15.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-35.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-35.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-35.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-35.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-35.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 1159s ok 74 /bookmarks/copy/fail-35.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-41.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-41.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-41.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-41.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-41.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 1159s ok 75 /bookmarks/copy/fail-41.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-36.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-36.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-36.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-36.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-36.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 1159s ok 76 /bookmarks/copy/fail-36.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-11.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-11.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-11.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-11.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-11.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 1159s ok 77 /bookmarks/copy/fail-11.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-07.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-07.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-07.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-07.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-07.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 1159s ok 78 /bookmarks/copy/fail-07.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-25.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-25.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-25.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-25.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-25.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 1159s ok 79 /bookmarks/copy/fail-25.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-10.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-10.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-10.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-10.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-10.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 1159s ok 80 /bookmarks/copy/fail-10.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-19.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-19.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-19.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-19.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-19.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 1159s ok 81 /bookmarks/copy/fail-19.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-34.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-34.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-34.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-34.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-34.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 1159s ok 82 /bookmarks/copy/fail-34.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-20.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-20.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-20.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-20.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-20.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 1159s ok 83 /bookmarks/copy/fail-20.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-09.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-09.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-09.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-09.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-09.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 1159s ok 84 /bookmarks/copy/fail-09.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-23.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-23.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-23.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-23.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-23.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 1159s ok 85 /bookmarks/copy/fail-23.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-40.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-40.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-40.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-40.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-40.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 1159s ok 86 /bookmarks/copy/fail-40.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-01.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-01.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-01.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-01.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-01.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 1159s ok 87 /bookmarks/copy/valid-01.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-03.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-03.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-03.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-03.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-03.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 1159s ok 88 /bookmarks/copy/valid-03.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-26.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-26.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-26.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-26.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-26.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 1159s ok 89 /bookmarks/copy/fail-26.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-01.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-01.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-01.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-01.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-01.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 1159s ok 90 /bookmarks/copy/fail-01.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-32.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-32.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-32.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-32.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-32.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 1159s ok 91 /bookmarks/copy/fail-32.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-16.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-16.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-16.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-16.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-16.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 1159s ok 92 /bookmarks/copy/fail-16.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-31.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-31.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-31.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-31.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-31.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 1159s ok 93 /bookmarks/copy/fail-31.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-12.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-12.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-12.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-12.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-12.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 1159s ok 94 /bookmarks/copy/fail-12.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-37.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-37.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-37.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-37.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-37.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 1159s ok 95 /bookmarks/copy/fail-37.xbel 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-18.xbel/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-18.xbel/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-18.xbel/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-18.xbel/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-18.xbel/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_KHZQK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 1159s ok 96 /bookmarks/copy/fail-18.xbel 1159s # End of copy tests 1159s # End of bookmarks tests 1159s ok - glib/bookmarkfile.test 1159s # Running test: glib/cxx-20.test 1159s TAP version 13 1159s # random seed: R02Sdcd9cccb6aa99cf7cbeeac1fde49edcc 1159s 1..2 1159s # Start of gtask tests 1159s # 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. 1159s ok 1 /gtask/name 1159s # Start of name tests 1159s # 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. 1159s ok 2 /gtask/name/macro-wrapper 1159s # End of name tests 1159s # End of gtask tests 1159s ok - glib/cxx-20.test 1159s # Running test: glib/gdbus-proxy-well-known-name.test 1159s TAP version 13 1159s # random seed: R02Sf38272a050d8cef1db5a97f3029c1c43 1159s 1..1 1159s # Start of gdbus tests 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_0Y6TK2/gdbus/proxy-well-known-name/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_0Y6TK2/gdbus/proxy-well-known-name/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_0Y6TK2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_0Y6TK2/gdbus/proxy-well-known-name/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_0Y6TK2/gdbus/proxy-well-known-name/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_0Y6TK2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_0Y6TK2/gdbus/proxy-well-known-name/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_0Y6TK2/gdbus/proxy-well-known-name/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_0Y6TK2/gdbus/proxy-well-known-name/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_0Y6TK2/gdbus/proxy-well-known-name/.dirs/runtime 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s ok 1 /gdbus/proxy-well-known-name 1159s # End of gdbus tests 1159s ok - glib/gdbus-proxy-well-known-name.test 1159s # Running test: glib/gdbus-test-codegen.test 1159s TAP version 13 1159s # random seed: R02S7485175f0e677c83bd5f9d22d3916ae6 1159s 1..8 1159s # Start of gdbus tests 1159s # Start of codegen tests 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/annotations/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/annotations/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/annotations/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/annotations/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/annotations/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/annotations/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/annotations/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/annotations/.dirs/runtime 1159s ok 1 /gdbus/codegen/annotations 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/interface_stability/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/interface_stability/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/interface_stability/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/interface_stability/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/interface_stability/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/interface_stability/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/interface_stability/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/interface_stability/.dirs/runtime 1159s ok 2 /gdbus/codegen/interface_stability 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/object-manager/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/object-manager/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/object-manager/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/object-manager/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/object-manager/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/object-manager/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/object-manager/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/object-manager/.dirs/runtime 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s ok 3 /gdbus/codegen/object-manager 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/property-naming/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/property-naming/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/property-naming/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/property-naming/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/property-naming/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/property-naming/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/property-naming/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/property-naming/.dirs/runtime 1159s ok 4 /gdbus/codegen/property-naming 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/autocleanups/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/autocleanups/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/autocleanups/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/autocleanups/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/autocleanups/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/autocleanups/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/autocleanups/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/autocleanups/.dirs/runtime 1159s ok 5 /gdbus/codegen/autocleanups 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/deprecations/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/deprecations/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/deprecations/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/deprecations/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/deprecations/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/deprecations/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/deprecations/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/deprecations/.dirs/runtime 1159s ok 6 /gdbus/codegen/deprecations 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/standalone-interface-info/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/standalone-interface-info/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/standalone-interface-info/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/standalone-interface-info/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1159s ok 7 /gdbus/codegen/standalone-interface-info 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/unix-fd-list/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/unix-fd-list/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/unix-fd-list/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/unix-fd-list/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/unix-fd-list/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_R0TUK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1159s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1159s ok 8 /gdbus/codegen/unix-fd-list 1159s # End of codegen tests 1159s # End of gdbus tests 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s ok - glib/gdbus-test-codegen.test 1159s # Running test: glib/power-profile-monitor.test 1159s TAP version 13 1159s # random seed: R02S0383ac9fb531c5e77bca03ca3af260dc 1159s 1..1 1159s # Start of power-profile-monitor tests 1159s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1159s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1159s ok 1 /power-profile-monitor/default 1159s # End of power-profile-monitor tests 1159s ok - glib/power-profile-monitor.test 1159s # Running test: glib/shell.test 1159s TAP version 13 1159s # random seed: R02S3079564ec232d5f013f8c49130d5b567 1159s 1..51 1159s # Start of shell tests 1159s # Start of cmdline tests 1159s test cmdline: foo bar 1159s ok 1 /shell/cmdline/0 1159s test cmdline: foo 'bar' 1159s ok 2 /shell/cmdline/1 1159s test cmdline: foo "bar" 1159s ok 3 /shell/cmdline/2 1159s test cmdline: foo '' 'bar' 1159s ok 4 /shell/cmdline/3 1159s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1159s ok 5 /shell/cmdline/4 1159s test cmdline: foo blah foo bar baz 1159s ok 6 /shell/cmdline/5 1159s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1159s ok 7 /shell/cmdline/6 1159s test cmdline: foo \ 1159s bar 1159s ok 8 /shell/cmdline/7 1159s test cmdline: foo '' '' 1159s ok 9 /shell/cmdline/8 1159s test cmdline: foo \" la la la 1159s ok 10 /shell/cmdline/9 1159s test cmdline: foo \ foo woo woo\ 1159s ok 11 /shell/cmdline/10 1159s test cmdline: foo "yada yada \$\"" 1159s ok 12 /shell/cmdline/11 1159s test cmdline: foo "c:\\" 1159s ok 13 /shell/cmdline/12 1159s test cmdline: foo # bla bla bla 1159s bar 1159s ok 14 /shell/cmdline/13 1159s test cmdline: foo a#b 1159s ok 15 /shell/cmdline/14 1159s test cmdline: #foo 1159s ok 16 /shell/cmdline/15 1159s test cmdline: foo bar \ 1159s ok 17 /shell/cmdline/16 1159s test cmdline: foo 'bar baz 1159s ok 18 /shell/cmdline/17 1159s test cmdline: foo '"bar" baz 1159s ok 19 /shell/cmdline/18 1159s test cmdline: 1159s ok 20 /shell/cmdline/19 1159s test cmdline: 1159s ok 21 /shell/cmdline/20 1159s test cmdline: # foo bar 1159s ok 22 /shell/cmdline/21 1159s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1159s ok 23 /shell/cmdline/22 1159s # End of cmdline tests 1159s # Start of quote tests 1159s ok 24 /shell/quote/0 1159s ok 25 /shell/quote/1 1159s ok 26 /shell/quote/2 1159s ok 27 /shell/quote/3 1159s ok 28 /shell/quote/4 1159s ok 29 /shell/quote/5 1159s ok 30 /shell/quote/6 1159s # End of quote tests 1159s # Start of unquote tests 1159s ok 31 /shell/unquote/0 1159s ok 32 /shell/unquote/1 1159s ok 33 /shell/unquote/2 1159s ok 34 /shell/unquote/3 1159s ok 35 /shell/unquote/4 1159s ok 36 /shell/unquote/5 1159s ok 37 /shell/unquote/6 1159s ok 38 /shell/unquote/7 1159s ok 39 /shell/unquote/8 1159s ok 40 /shell/unquote/9 1159s ok 41 /shell/unquote/10 1159s ok 42 /shell/unquote/11 1159s ok 43 /shell/unquote/12 1159s ok 44 /shell/unquote/13 1159s ok 45 /shell/unquote/14 1159s ok 46 /shell/unquote/15 1159s ok 47 /shell/unquote/16 1159s ok 48 /shell/unquote/17 1159s ok 49 /shell/unquote/18 1159s ok 50 /shell/unquote/19 1159s ok 51 /shell/unquote/20 1159s # End of unquote tests 1159s # End of shell tests 1159s ok - glib/shell.test 1159s # Running test: glib/dbus-appinfo.test 1159s TAP version 13 1159s # random seed: R02S7062443e1be32648f6c568c8449e254c 1159s 1..3 1159s # Start of appinfo tests 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1159s ok 1 /appinfo/dbusappinfo 1159s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1159s dbus-daemon[10350]: [session uid=1000 pid=10350] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=10349 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1159s # Acquired a message bus connection 1159s dbus-daemon[10350]: [session uid=1000 pid=10350] Successfully activated service 'org.freedesktop.portal.Documents' 1159s # Acquired the name org.freedesktop.portal.Documents 1159s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1159s ok 2 /appinfo/flatpak-doc-export 1159s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1159s ok 3 /appinfo/flatpak-missing-doc-export 1159s # End of appinfo tests 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # Lost the name org.freedesktop.portal.Documents 1159s ok - glib/dbus-appinfo.test 1159s # Running test: glib/option-argv0.test 1159s TAP version 13 1159s # random seed: R02S0c5aa15a45c0faf408a58fc6de6bfcc8 1159s 1..1 1159s # Start of option tests 1159s ok 1 /option/argv0 1159s # End of option tests 1159s ok - glib/option-argv0.test 1159s # Running test: glib/rand.test 1159s TAP version 13 1159s # random seed: R02Se8a66500cc4547c9494dc98b00ce6dd8 1159s 1..2 1159s # Start of rand tests 1159s ok 1 /rand/test-rand 1159s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1159s ok 2 /rand/double-range 1159s # End of rand tests 1159s ok - glib/rand.test 1159s # Running test: glib/markup-subparser.test 1159s TAP version 13 1159s # random seed: R02S5b5921008b1a09327dc62d8f924bd26c 1159s 1..14 1159s # Start of glib tests 1159s # Start of markup tests 1159s # Start of subparser tests 1159s # Start of success tests 1159s ok 1 /glib/markup/subparser/success/0 1159s ok 2 /glib/markup/subparser/success/1 1159s ok 3 /glib/markup/subparser/success/2 1159s ok 4 /glib/markup/subparser/success/3 1159s ok 5 /glib/markup/subparser/success/4 1159s ok 6 /glib/markup/subparser/success/5 1159s ok 7 /glib/markup/subparser/success/6 1159s # End of success tests 1159s # Start of failure tests 1159s ok 8 /glib/markup/subparser/failure/0 1159s ok 9 /glib/markup/subparser/failure/1 1159s ok 10 /glib/markup/subparser/failure/2 1159s ok 11 /glib/markup/subparser/failure/3 1159s ok 12 /glib/markup/subparser/failure/4 1159s ok 13 /glib/markup/subparser/failure/5 1159s ok 14 /glib/markup/subparser/failure/6 1159s # End of failure tests 1159s # End of subparser tests 1159s # End of markup tests 1159s # End of glib tests 1159s ok - glib/markup-subparser.test 1159s # Running test: glib/repository-search-paths.test 1159s TAP version 13 1159s # random seed: R02S4b64621f83cd116619eeca2a704ce2e1 1159s 1..4 1159s # Start of repository tests 1159s # Start of search-paths tests 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/default/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/default/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_KU7YK2/repository/search-paths/default/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/default/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_KU7YK2/repository/search-paths/default/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/default/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/default/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/default/.dirs/runtime 1159s ok 1 /repository/search-paths/default 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/prepend/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/prepend/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_KU7YK2/repository/search-paths/prepend/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/prepend/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_KU7YK2/repository/search-paths/prepend/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/prepend/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/prepend/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_KU7YK2/repository/search-paths/prepend/.dirs/runtime 1159s ok 2 /repository/search-paths/prepend 1159s # End of search-paths tests 1159s # Start of library-paths tests 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/default/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/default/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_KU7YK2/repository/library-paths/default/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/default/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_KU7YK2/repository/library-paths/default/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/default/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/default/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/default/.dirs/runtime 1159s ok 3 /repository/library-paths/default 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/prepend/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/prepend/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_KU7YK2/repository/library-paths/prepend/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/prepend/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_KU7YK2/repository/library-paths/prepend/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/prepend/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/prepend/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_KU7YK2/repository/library-paths/prepend/.dirs/runtime 1159s ok 4 /repository/library-paths/prepend 1159s # End of library-paths tests 1159s # End of repository tests 1159s ok - glib/repository-search-paths.test 1159s # Running test: glib/tls-bindings.test 1159s TAP version 13 1159s # random seed: R02Sd59c5c1cb67223ec2b21914ad41f51ac 1159s 1..2 1159s # Start of tls-connection tests 1159s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1159s ok 1 /tls-connection/get-tls-channel-binding 1159s ok 2 /tls-connection/get-dtls-channel-binding 1159s # End of tls-connection tests 1159s ok - glib/tls-bindings.test 1159s # Running test: glib/markup.test 1159s TAP version 13 1159s # random seed: R02S2a3dd86610937995d6d2c65a233ad1bc 1159s 1..1 1159s # Start of markup tests 1159s ok 1 /markup/stack 1159s # End of markup tests 1159s ok - glib/markup.test 1159s # Running test: glib/regex.test 1159s TAP version 13 1159s # random seed: R02Sa2db2379efc4816d558f05d05b92545f 1159s 1..848 1159s # Start of regex tests 1159s ok 1 /regex/properties 1159s ok 2 /regex/class 1159s ok 3 /regex/lookahead 1159s ok 4 /regex/lookbehind 1159s ok 5 /regex/subpattern 1159s ok 6 /regex/condition 1159s ok 7 /regex/recursion 1159s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1159s ok 8 /regex/multiline 1159s ok 9 /regex/explicit-crlf 1159s ok 10 /regex/max-lookbehind 1159s ok 11 /regex/compile-errors 1159s ok 12 /regex/jit-unsupported-matching 1159s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1159s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1159s ok 13 /regex/unmatched-named-subpattern 1159s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1159s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1159s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1159s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1159s ok 14 /regex/compiled-regex-after-jit-failure 1159s # Start of new tests 1159s ok 15 /regex/new/1 1159s ok 16 /regex/new/2 1159s ok 17 /regex/new/3 1159s ok 18 /regex/new/4 1159s ok 19 /regex/new/5 1159s ok 20 /regex/new/6 1159s ok 21 /regex/new/7 1159s ok 22 /regex/new/8 1159s ok 23 /regex/new/9 1159s ok 24 /regex/new/10 1159s ok 25 /regex/new/11 1159s ok 26 /regex/new/12 1159s ok 27 /regex/new/13 1159s ok 28 /regex/new/14 1159s ok 29 /regex/new/15 1159s ok 30 /regex/new/16 1159s ok 31 /regex/new/17 1159s ok 32 /regex/new/18 1159s ok 33 /regex/new/19 1159s ok 34 /regex/new/71 1159s ok 35 /regex/new/80 1159s ok 36 /regex/new/82 1159s # End of new tests 1159s # Start of new-check-flags tests 1159s ok 37 /regex/new-check-flags/20 1159s ok 38 /regex/new-check-flags/21 1159s ok 39 /regex/new-check-flags/22 1159s ok 40 /regex/new-check-flags/23 1159s ok 41 /regex/new-check-flags/24 1159s ok 42 /regex/new-check-flags/25 1159s ok 43 /regex/new-check-flags/26 1159s ok 44 /regex/new-check-flags/27 1159s ok 45 /regex/new-check-flags/28 1159s ok 46 /regex/new-check-flags/29 1159s ok 47 /regex/new-check-flags/30 1159s ok 48 /regex/new-check-flags/31 1159s ok 49 /regex/new-check-flags/32 1159s ok 50 /regex/new-check-flags/33 1159s ok 51 /regex/new-check-flags/34 1159s ok 52 /regex/new-check-flags/35 1159s ok 53 /regex/new-check-flags/36 1159s # End of new-check-flags tests 1159s # Start of new-fail tests 1159s ok 54 /regex/new-fail/37 1159s ok 55 /regex/new-fail/38 1159s ok 56 /regex/new-fail/39 1159s ok 57 /regex/new-fail/40 1159s ok 58 /regex/new-fail/41 1159s ok 59 /regex/new-fail/42 1159s ok 60 /regex/new-fail/43 1159s ok 61 /regex/new-fail/44 1159s ok 62 /regex/new-fail/45 1159s ok 63 /regex/new-fail/46 1159s ok 64 /regex/new-fail/47 1159s ok 65 /regex/new-fail/48 1159s ok 66 /regex/new-fail/49 1159s ok 67 /regex/new-fail/50 1159s ok 68 /regex/new-fail/51 1159s ok 69 /regex/new-fail/52 1159s ok 70 /regex/new-fail/53 1159s ok 71 /regex/new-fail/54 1159s ok 72 /regex/new-fail/55 1159s ok 73 /regex/new-fail/56 1159s ok 74 /regex/new-fail/57 1159s ok 75 /regex/new-fail/58 1159s ok 76 /regex/new-fail/59 1159s ok 77 /regex/new-fail/60 1159s ok 78 /regex/new-fail/61 1159s ok 79 /regex/new-fail/62 1159s ok 80 /regex/new-fail/63 1159s ok 81 /regex/new-fail/64 1159s ok 82 /regex/new-fail/65 1159s ok 83 /regex/new-fail/66 1159s ok 84 /regex/new-fail/67 1159s ok 85 /regex/new-fail/68 1159s ok 86 /regex/new-fail/69 1159s ok 87 /regex/new-fail/70 1159s ok 88 /regex/new-fail/72 1159s ok 89 /regex/new-fail/73 1159s ok 90 /regex/new-fail/74 1159s ok 91 /regex/new-fail/75 1159s ok 92 /regex/new-fail/76 1159s ok 93 /regex/new-fail/77 1159s ok 94 /regex/new-fail/78 1159s ok 95 /regex/new-fail/79 1159s ok 96 /regex/new-fail/81 1159s ok 97 /regex/new-fail/83 1159s ok 98 /regex/new-fail/84 1159s ok 99 /regex/new-fail/85 1159s ok 100 /regex/new-fail/86 1159s ok 101 /regex/new-fail/87 1159s ok 102 /regex/new-fail/88 1159s ok 103 /regex/new-fail/89 1159s ok 104 /regex/new-fail/90 1159s ok 105 /regex/new-fail/91 1159s # End of new-fail tests 1159s # Start of match-simple tests 1159s ok 106 /regex/match-simple/92 1159s ok 107 /regex/match-simple/93 1159s ok 108 /regex/match-simple/94 1159s ok 109 /regex/match-simple/95 1159s ok 110 /regex/match-simple/96 1159s ok 111 /regex/match-simple/97 1159s ok 112 /regex/match-simple/98 1159s ok 113 /regex/match-simple/99 1159s ok 114 /regex/match-simple/100 1159s ok 115 /regex/match-simple/101 1159s ok 116 /regex/match-simple/102 1159s ok 117 /regex/match-simple/103 1159s ok 118 /regex/match-simple/104 1159s ok 119 /regex/match-simple/105 1159s ok 120 /regex/match-simple/106 1159s ok 121 /regex/match-simple/107 1159s ok 122 /regex/match-simple/108 1159s ok 123 /regex/match-simple/109 1159s ok 124 /regex/match-simple/110 1159s ok 125 /regex/match-simple/111 1159s ok 126 /regex/match-simple/112 1159s ok 127 /regex/match-simple/113 1159s ok 128 /regex/match-simple/114 1159s ok 129 /regex/match-simple/115 1159s ok 130 /regex/match-simple/116 1159s ok 131 /regex/match-simple/117 1159s ok 132 /regex/match-simple/118 1159s ok 133 /regex/match-simple/119 1159s ok 134 /regex/match-simple/120 1159s ok 135 /regex/match-simple/121 1159s ok 136 /regex/match-simple/122 1159s ok 137 /regex/match-simple/123 1159s ok 138 /regex/match-simple/124 1159s ok 139 /regex/match-simple/125 1159s ok 140 /regex/match-simple/126 1159s ok 141 /regex/match-simple/127 1159s ok 142 /regex/match-simple/128 1159s ok 143 /regex/match-simple/129 1159s ok 144 /regex/match-simple/130 1159s ok 145 /regex/match-simple/131 1159s ok 146 /regex/match-simple/132 1159s ok 147 /regex/match-simple/133 1159s ok 148 /regex/match-simple/134 1159s ok 149 /regex/match-simple/135 1159s ok 150 /regex/match-simple/136 1159s ok 151 /regex/match-simple/137 1159s ok 152 /regex/match-simple/138 1159s ok 153 /regex/match-simple/139 1159s ok 154 /regex/match-simple/140 1159s ok 155 /regex/match-simple/141 1159s ok 156 /regex/match-simple/142 1159s ok 157 /regex/match-simple/143 1159s ok 158 /regex/match-simple/144 1159s ok 159 /regex/match-simple/145 1159s ok 160 /regex/match-simple/146 1159s ok 161 /regex/match-simple/147 1159s ok 162 /regex/match-simple/148 1159s ok 163 /regex/match-simple/149 1159s ok 164 /regex/match-simple/150 1159s ok 165 /regex/match-simple/151 1159s ok 166 /regex/match-simple/152 1159s ok 167 /regex/match-simple/153 1159s ok 168 /regex/match-simple/154 1159s ok 169 /regex/match-simple/155 1159s ok 170 /regex/match-simple/156 1159s ok 171 /regex/match-simple/157 1159s ok 172 /regex/match-simple/158 1159s ok 173 /regex/match-simple/159 1159s ok 174 /regex/match-simple/160 1159s ok 175 /regex/match-simple/161 1159s ok 176 /regex/match-simple/162 1159s ok 177 /regex/match-simple/163 1159s ok 178 /regex/match-simple/164 1159s # End of match-simple tests 1159s # Start of match-simple-optimized tests 1159s ok 179 /regex/match-simple-optimized/92 1159s ok 180 /regex/match-simple-optimized/93 1159s ok 181 /regex/match-simple-optimized/94 1159s ok 182 /regex/match-simple-optimized/95 1159s ok 183 /regex/match-simple-optimized/96 1159s ok 184 /regex/match-simple-optimized/97 1159s ok 185 /regex/match-simple-optimized/98 1159s ok 186 /regex/match-simple-optimized/99 1159s ok 187 /regex/match-simple-optimized/100 1159s ok 188 /regex/match-simple-optimized/101 1159s ok 189 /regex/match-simple-optimized/102 1159s ok 190 /regex/match-simple-optimized/103 1159s ok 191 /regex/match-simple-optimized/104 1159s ok 192 /regex/match-simple-optimized/105 1159s ok 193 /regex/match-simple-optimized/106 1159s ok 194 /regex/match-simple-optimized/107 1159s ok 195 /regex/match-simple-optimized/108 1159s ok 196 /regex/match-simple-optimized/109 1159s ok 197 /regex/match-simple-optimized/110 1159s ok 198 /regex/match-simple-optimized/111 1159s ok 199 /regex/match-simple-optimized/112 1159s ok 200 /regex/match-simple-optimized/113 1159s ok 201 /regex/match-simple-optimized/114 1159s ok 202 /regex/match-simple-optimized/115 1159s ok 203 /regex/match-simple-optimized/116 1159s ok 204 /regex/match-simple-optimized/117 1159s ok 205 /regex/match-simple-optimized/118 1159s ok 206 /regex/match-simple-optimized/119 1159s ok 207 /regex/match-simple-optimized/120 1159s ok 208 /regex/match-simple-optimized/121 1159s ok 209 /regex/match-simple-optimized/122 1159s ok 210 /regex/match-simple-optimized/123 1159s ok 211 /regex/match-simple-optimized/124 1159s ok 212 /regex/match-simple-optimized/125 1159s ok 213 /regex/match-simple-optimized/126 1159s ok 214 /regex/match-simple-optimized/127 1159s ok 215 /regex/match-simple-optimized/128 1159s ok 216 /regex/match-simple-optimized/129 1159s ok 217 /regex/match-simple-optimized/130 1159s ok 218 /regex/match-simple-optimized/131 1159s ok 219 /regex/match-simple-optimized/132 1159s ok 220 /regex/match-simple-optimized/133 1159s ok 221 /regex/match-simple-optimized/134 1159s ok 222 /regex/match-simple-optimized/135 1159s ok 223 /regex/match-simple-optimized/136 1159s ok 224 /regex/match-simple-optimized/137 1159s ok 225 /regex/match-simple-optimized/138 1159s ok 226 /regex/match-simple-optimized/139 1159s ok 227 /regex/match-simple-optimized/140 1159s ok 228 /regex/match-simple-optimized/141 1159s ok 229 /regex/match-simple-optimized/142 1159s ok 230 /regex/match-simple-optimized/143 1159s ok 231 /regex/match-simple-optimized/144 1159s ok 232 /regex/match-simple-optimized/145 1159s ok 233 /regex/match-simple-optimized/146 1159s ok 234 /regex/match-simple-optimized/147 1159s ok 235 /regex/match-simple-optimized/148 1159s ok 236 /regex/match-simple-optimized/149 1159s ok 237 /regex/match-simple-optimized/150 1159s ok 238 /regex/match-simple-optimized/151 1159s ok 239 /regex/match-simple-optimized/152 1159s ok 240 /regex/match-simple-optimized/153 1159s ok 241 /regex/match-simple-optimized/154 1159s ok 242 /regex/match-simple-optimized/155 1159s ok 243 /regex/match-simple-optimized/156 1159s ok 244 /regex/match-simple-optimized/157 1159s ok 245 /regex/match-simple-optimized/158 1159s ok 246 /regex/match-simple-optimized/159 1159s ok 247 /regex/match-simple-optimized/160 1159s ok 248 /regex/match-simple-optimized/161 1159s ok 249 /regex/match-simple-optimized/162 1159s ok 250 /regex/match-simple-optimized/163 1159s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1159s ok 251 /regex/match-simple-optimized/164 1159s # End of match-simple-optimized tests 1159s # Start of match tests 1159s ok 252 /regex/match/165 1159s ok 253 /regex/match/166 1159s ok 254 /regex/match/167 1159s ok 255 /regex/match/168 1159s ok 256 /regex/match/169 1159s ok 257 /regex/match/170 1159s ok 258 /regex/match/171 1159s ok 259 /regex/match/172 1159s ok 260 /regex/match/173 1159s ok 261 /regex/match/174 1159s ok 262 /regex/match/175 1159s ok 263 /regex/match/176 1159s ok 264 /regex/match/177 1159s ok 265 /regex/match/178 1159s ok 266 /regex/match/179 1159s ok 267 /regex/match/180 1159s ok 268 /regex/match/181 1159s ok 269 /regex/match/182 1159s ok 270 /regex/match/183 1159s ok 271 /regex/match/184 1159s ok 272 /regex/match/185 1159s ok 273 /regex/match/186 1159s ok 274 /regex/match/187 1159s ok 275 /regex/match/188 1159s ok 276 /regex/match/189 1159s ok 277 /regex/match/190 1159s ok 278 /regex/match/191 1159s ok 279 /regex/match/192 1159s ok 280 /regex/match/193 1159s ok 281 /regex/match/194 1159s ok 282 /regex/match/195 1159s ok 283 /regex/match/196 1159s ok 284 /regex/match/197 1159s ok 285 /regex/match/198 1159s ok 286 /regex/match/199 1159s ok 287 /regex/match/200 1159s ok 288 /regex/match/201 1159s ok 289 /regex/match/202 1159s ok 290 /regex/match/203 1159s ok 291 /regex/match/204 1159s ok 292 /regex/match/205 1159s ok 293 /regex/match/206 1159s ok 294 /regex/match/207 1159s ok 295 /regex/match/208 1159s ok 296 /regex/match/209 1159s ok 297 /regex/match/210 1159s ok 298 /regex/match/211 1159s ok 299 /regex/match/212 1159s ok 300 /regex/match/213 1159s ok 301 /regex/match/214 1159s ok 302 /regex/match/215 1159s ok 303 /regex/match/216 1159s ok 304 /regex/match/217 1159s ok 305 /regex/match/218 1159s ok 306 /regex/match/219 1159s ok 307 /regex/match/220 1159s ok 308 /regex/match/221 1159s ok 309 /regex/match/222 1159s ok 310 /regex/match/223 1159s ok 311 /regex/match/224 1159s ok 312 /regex/match/225 1159s ok 313 /regex/match/226 1159s ok 314 /regex/match/227 1159s ok 315 /regex/match/228 1159s ok 316 /regex/match/229 1159s ok 317 /regex/match/230 1159s ok 318 /regex/match/231 1159s ok 319 /regex/match/232 1159s ok 320 /regex/match/233 1159s ok 321 /regex/match/234 1159s ok 322 /regex/match/235 1159s ok 323 /regex/match/236 1159s ok 324 /regex/match/237 1159s ok 325 /regex/match/238 1159s ok 326 /regex/match/239 1159s ok 327 /regex/match/240 1159s ok 328 /regex/match/241 1159s ok 329 /regex/match/242 1159s ok 330 /regex/match/243 1159s ok 331 /regex/match/244 1159s ok 332 /regex/match/245 1159s ok 333 /regex/match/246 1159s ok 334 /regex/match/partial281 1159s ok 335 /regex/match/partial282 1159s ok 336 /regex/match/partial283 1159s ok 337 /regex/match/partial284 1159s ok 338 /regex/match/partial285 1159s ok 339 /regex/match/partial286 1159s ok 340 /regex/match/partial287 1159s ok 341 /regex/match/partial288 1159s ok 342 /regex/match/partial289 1159s ok 343 /regex/match/partial290 1159s ok 344 /regex/match/partial291 1159s ok 345 /regex/match/partial292 1159s ok 346 /regex/match/partial293 1159s ok 347 /regex/match/partial294 1159s ok 348 /regex/match/partial295 1159s ok 349 /regex/match/partial296 1159s ok 350 /regex/match/partial297 1159s ok 351 /regex/match/partial298 1159s ok 352 /regex/match/partial299 1159s ok 353 /regex/match/partial300 1159s ok 354 /regex/match/partial301 1159s ok 355 /regex/match/partial302 1159s # Start of next0 tests 1159s ok 356 /regex/match/next0/247 1159s ok 357 /regex/match/next0/248 1159s ok 358 /regex/match/next0/249 1159s ok 359 /regex/match/next0/250 1159s # End of next0 tests 1159s # Start of next1 tests 1159s ok 360 /regex/match/next1/251 1159s ok 361 /regex/match/next1/252 1159s ok 362 /regex/match/next1/253 1159s ok 363 /regex/match/next1/254 1159s ok 364 /regex/match/next1/255 1159s # End of next1 tests 1159s # Start of next2 tests 1159s ok 365 /regex/match/next2/256 1159s ok 366 /regex/match/next2/257 1159s ok 367 /regex/match/next2/258 1159s ok 368 /regex/match/next2/259 1159s ok 369 /regex/match/next2/260 1159s ok 370 /regex/match/next2/261 1159s ok 371 /regex/match/next2/262 1159s ok 372 /regex/match/next2/263 1159s # End of next2 tests 1159s # Start of next3 tests 1159s ok 373 /regex/match/next3/264 1159s ok 374 /regex/match/next3/265 1159s ok 375 /regex/match/next3/266 1159s ok 376 /regex/match/next3/267 1159s ok 377 /regex/match/next3/268 1159s ok 378 /regex/match/next3/269 1159s # End of next3 tests 1159s # Start of next4 tests 1159s ok 379 /regex/match/next4/270 1159s # End of next4 tests 1159s # Start of count tests 1159s ok 380 /regex/match/count/271 1159s ok 381 /regex/match/count/272 1159s ok 382 /regex/match/count/273 1159s ok 383 /regex/match/count/274 1159s ok 384 /regex/match/count/275 1159s ok 385 /regex/match/count/276 1159s ok 386 /regex/match/count/277 1159s ok 387 /regex/match/count/278 1159s ok 388 /regex/match/count/279 1159s ok 389 /regex/match/count/280 1159s # End of count tests 1159s # Start of count-optimized tests 1159s ok 390 /regex/match/count-optimized/271 1159s ok 391 /regex/match/count-optimized/272 1159s ok 392 /regex/match/count-optimized/273 1159s ok 393 /regex/match/count-optimized/274 1159s ok 394 /regex/match/count-optimized/275 1159s ok 395 /regex/match/count-optimized/276 1159s ok 396 /regex/match/count-optimized/277 1159s ok 397 /regex/match/count-optimized/278 1159s ok 398 /regex/match/count-optimized/279 1159s ok 399 /regex/match/count-optimized/280 1159s # End of count-optimized tests 1159s # Start of partial-optimized tests 1159s ok 400 /regex/match/partial-optimized/281 1159s ok 401 /regex/match/partial-optimized/282 1159s ok 402 /regex/match/partial-optimized/283 1159s ok 403 /regex/match/partial-optimized/284 1159s ok 404 /regex/match/partial-optimized/285 1159s ok 405 /regex/match/partial-optimized/286 1159s ok 406 /regex/match/partial-optimized/287 1159s ok 407 /regex/match/partial-optimized/288 1159s ok 408 /regex/match/partial-optimized/289 1159s ok 409 /regex/match/partial-optimized/290 1159s ok 410 /regex/match/partial-optimized/291 1159s ok 411 /regex/match/partial-optimized/292 1159s ok 412 /regex/match/partial-optimized/293 1159s ok 413 /regex/match/partial-optimized/294 1159s ok 414 /regex/match/partial-optimized/295 1159s ok 415 /regex/match/partial-optimized/296 1159s ok 416 /regex/match/partial-optimized/297 1159s ok 417 /regex/match/partial-optimized/298 1159s ok 418 /regex/match/partial-optimized/299 1159s ok 419 /regex/match/partial-optimized/300 1159s ok 420 /regex/match/partial-optimized/301 1159s ok 421 /regex/match/partial-optimized/302 1159s # End of partial-optimized tests 1159s # Start of subpattern tests 1159s ok 422 /regex/match/subpattern/303 1159s ok 423 /regex/match/subpattern/304 1159s ok 424 /regex/match/subpattern/305 1159s ok 425 /regex/match/subpattern/306 1159s ok 426 /regex/match/subpattern/307 1159s ok 427 /regex/match/subpattern/308 1159s ok 428 /regex/match/subpattern/309 1159s ok 429 /regex/match/subpattern/310 1159s ok 430 /regex/match/subpattern/311 1159s ok 431 /regex/match/subpattern/312 1159s ok 432 /regex/match/subpattern/313 1159s ok 433 /regex/match/subpattern/314 1159s ok 434 /regex/match/subpattern/315 1159s # Start of named tests 1159s # Start of dupnames tests 1159s ok 435 /regex/match/subpattern/named/dupnames/325 1159s ok 436 /regex/match/subpattern/named/dupnames/326 1159s ok 437 /regex/match/subpattern/named/dupnames/327 1159s ok 438 /regex/match/subpattern/named/dupnames/328 1159s ok 439 /regex/match/subpattern/named/dupnames/329 1159s # End of dupnames tests 1159s # End of named tests 1159s # End of subpattern tests 1159s # Start of subpattern-optimized tests 1159s ok 440 /regex/match/subpattern-optimized/303 1159s ok 441 /regex/match/subpattern-optimized/304 1159s ok 442 /regex/match/subpattern-optimized/305 1159s ok 443 /regex/match/subpattern-optimized/306 1159s ok 444 /regex/match/subpattern-optimized/307 1159s ok 445 /regex/match/subpattern-optimized/308 1159s ok 446 /regex/match/subpattern-optimized/309 1159s ok 447 /regex/match/subpattern-optimized/310 1159s ok 448 /regex/match/subpattern-optimized/311 1159s ok 449 /regex/match/subpattern-optimized/312 1159s ok 450 /regex/match/subpattern-optimized/313 1159s ok 451 /regex/match/subpattern-optimized/314 1159s ok 452 /regex/match/subpattern-optimized/315 1159s # End of subpattern-optimized tests 1159s # Start of named tests 1159s # Start of subpattern tests 1159s ok 453 /regex/match/named/subpattern/316 1159s ok 454 /regex/match/named/subpattern/317 1159s ok 455 /regex/match/named/subpattern/318 1159s ok 456 /regex/match/named/subpattern/319 1159s ok 457 /regex/match/named/subpattern/320 1159s ok 458 /regex/match/named/subpattern/321 1159s ok 459 /regex/match/named/subpattern/322 1159s ok 460 /regex/match/named/subpattern/323 1159s ok 461 /regex/match/named/subpattern/324 1159s ok 462 /regex/match/named/subpattern/330 1159s ok 463 /regex/match/named/subpattern/331 1159s ok 464 /regex/match/named/subpattern/332 1159s ok 465 /regex/match/named/subpattern/333 1159s ok 466 /regex/match/named/subpattern/334 1159s # End of subpattern tests 1159s # End of named tests 1159s # End of match tests 1159s # Start of match-optimized tests 1159s ok 467 /regex/match-optimized/165 1159s ok 468 /regex/match-optimized/166 1159s ok 469 /regex/match-optimized/167 1159s ok 470 /regex/match-optimized/168 1159s ok 471 /regex/match-optimized/169 1159s ok 472 /regex/match-optimized/170 1159s ok 473 /regex/match-optimized/171 1159s ok 474 /regex/match-optimized/172 1159s ok 475 /regex/match-optimized/173 1159s ok 476 /regex/match-optimized/174 1159s ok 477 /regex/match-optimized/175 1159s ok 478 /regex/match-optimized/176 1159s ok 479 /regex/match-optimized/177 1159s ok 480 /regex/match-optimized/178 1159s ok 481 /regex/match-optimized/179 1159s ok 482 /regex/match-optimized/180 1159s ok 483 /regex/match-optimized/181 1159s ok 484 /regex/match-optimized/182 1159s ok 485 /regex/match-optimized/183 1159s ok 486 /regex/match-optimized/184 1159s ok 487 /regex/match-optimized/185 1159s ok 488 /regex/match-optimized/186 1159s ok 489 /regex/match-optimized/187 1159s ok 490 /regex/match-optimized/188 1159s ok 491 /regex/match-optimized/189 1159s ok 492 /regex/match-optimized/190 1159s ok 493 /regex/match-optimized/191 1159s ok 494 /regex/match-optimized/192 1159s ok 495 /regex/match-optimized/193 1159s ok 496 /regex/match-optimized/194 1159s ok 497 /regex/match-optimized/195 1159s ok 498 /regex/match-optimized/196 1159s ok 499 /regex/match-optimized/197 1159s ok 500 /regex/match-optimized/198 1159s ok 501 /regex/match-optimized/199 1159s ok 502 /regex/match-optimized/200 1159s ok 503 /regex/match-optimized/201 1159s ok 504 /regex/match-optimized/202 1159s ok 505 /regex/match-optimized/203 1159s ok 506 /regex/match-optimized/204 1159s ok 507 /regex/match-optimized/205 1159s ok 508 /regex/match-optimized/206 1159s ok 509 /regex/match-optimized/207 1159s ok 510 /regex/match-optimized/208 1159s ok 511 /regex/match-optimized/209 1159s ok 512 /regex/match-optimized/210 1159s ok 513 /regex/match-optimized/211 1159s ok 514 /regex/match-optimized/212 1159s ok 515 /regex/match-optimized/213 1159s ok 516 /regex/match-optimized/214 1159s ok 517 /regex/match-optimized/215 1159s ok 518 /regex/match-optimized/216 1159s ok 519 /regex/match-optimized/217 1159s ok 520 /regex/match-optimized/218 1159s ok 521 /regex/match-optimized/219 1159s ok 522 /regex/match-optimized/220 1159s ok 523 /regex/match-optimized/221 1159s ok 524 /regex/match-optimized/222 1159s ok 525 /regex/match-optimized/223 1159s ok 526 /regex/match-optimized/224 1159s ok 527 /regex/match-optimized/225 1159s ok 528 /regex/match-optimized/226 1159s ok 529 /regex/match-optimized/227 1159s ok 530 /regex/match-optimized/228 1159s ok 531 /regex/match-optimized/229 1159s ok 532 /regex/match-optimized/230 1159s ok 533 /regex/match-optimized/231 1159s ok 534 /regex/match-optimized/232 1159s ok 535 /regex/match-optimized/233 1159s ok 536 /regex/match-optimized/234 1159s ok 537 /regex/match-optimized/235 1159s ok 538 /regex/match-optimized/236 1159s ok 539 /regex/match-optimized/237 1159s ok 540 /regex/match-optimized/238 1159s ok 541 /regex/match-optimized/239 1159s ok 542 /regex/match-optimized/240 1159s ok 543 /regex/match-optimized/241 1159s ok 544 /regex/match-optimized/242 1159s ok 545 /regex/match-optimized/243 1159s ok 546 /regex/match-optimized/244 1159s ok 547 /regex/match-optimized/245 1159s ok 548 /regex/match-optimized/246 1159s # End of match-optimized tests 1159s # Start of fetch-all0 tests 1159s ok 549 /regex/fetch-all0/335 1159s ok 550 /regex/fetch-all0/336 1159s # End of fetch-all0 tests 1159s # Start of fetch-all1 tests 1159s ok 551 /regex/fetch-all1/337 1159s ok 552 /regex/fetch-all1/338 1159s ok 553 /regex/fetch-all1/339 1159s # End of fetch-all1 tests 1159s # Start of fetch-all2 tests 1159s ok 554 /regex/fetch-all2/340 1159s ok 555 /regex/fetch-all2/341 1159s ok 556 /regex/fetch-all2/342 1159s # End of fetch-all2 tests 1159s # Start of fetch-all3 tests 1159s ok 557 /regex/fetch-all3/343 1159s ok 558 /regex/fetch-all3/344 1159s ok 559 /regex/fetch-all3/345 1159s ok 560 /regex/fetch-all3/346 1159s ok 561 /regex/fetch-all3/347 1159s # End of fetch-all3 tests 1159s # Start of split tests 1159s # Start of simple0 tests 1159s ok 562 /regex/split/simple0/348 1159s ok 563 /regex/split/simple0/349 1159s ok 564 /regex/split/simple0/364 1159s ok 565 /regex/split/simple0/365 1159s # End of simple0 tests 1159s # Start of simple1 tests 1159s ok 566 /regex/split/simple1/350 1159s ok 567 /regex/split/simple1/351 1159s # End of simple1 tests 1159s # Start of simple2 tests 1159s ok 568 /regex/split/simple2/352 1159s ok 569 /regex/split/simple2/358 1159s ok 570 /regex/split/simple2/360 1159s # End of simple2 tests 1159s # Start of simple3 tests 1159s ok 571 /regex/split/simple3/353 1159s ok 572 /regex/split/simple3/354 1159s ok 573 /regex/split/simple3/355 1159s ok 574 /regex/split/simple3/356 1159s ok 575 /regex/split/simple3/357 1159s ok 576 /regex/split/simple3/359 1159s ok 577 /regex/split/simple3/361 1159s ok 578 /regex/split/simple3/362 1159s ok 579 /regex/split/simple3/363 1159s # End of simple3 tests 1159s # End of split tests 1159s # Start of split0 tests 1159s ok 580 /regex/split0/366 1159s ok 581 /regex/split0/368 1159s # End of split0 tests 1159s # Start of full-split0 tests 1159s ok 582 /regex/full-split0/367 1159s ok 583 /regex/full-split0/369 1159s ok 584 /regex/full-split0/370 1159s ok 585 /regex/full-split0/371 1159s ok 586 /regex/full-split0/372 1159s # End of full-split0 tests 1159s # Start of split1 tests 1159s ok 587 /regex/split1/373 1159s ok 588 /regex/split1/376 1159s # End of split1 tests 1159s # Start of full-split1 tests 1159s ok 589 /regex/full-split1/374 1159s ok 590 /regex/full-split1/375 1159s ok 591 /regex/full-split1/377 1159s ok 592 /regex/full-split1/378 1159s ok 593 /regex/full-split1/404 1159s # End of full-split1 tests 1159s # Start of split2 tests 1159s ok 594 /regex/split2/379 1159s ok 595 /regex/split2/383 1159s ok 596 /regex/split2/395 1159s # End of split2 tests 1159s # Start of full-split2 tests 1159s ok 597 /regex/full-split2/380 1159s ok 598 /regex/full-split2/381 1159s ok 599 /regex/full-split2/382 1159s ok 600 /regex/full-split2/384 1159s ok 601 /regex/full-split2/396 1159s ok 602 /regex/full-split2/399 1159s ok 603 /regex/full-split2/405 1159s # End of full-split2 tests 1159s # Start of split3 tests 1159s ok 604 /regex/split3/385 1159s ok 605 /regex/split3/387 1159s ok 606 /regex/split3/389 1159s ok 607 /regex/split3/391 1159s ok 608 /regex/split3/393 1159s ok 609 /regex/split3/397 1159s ok 610 /regex/split3/400 1159s ok 611 /regex/split3/402 1159s # End of split3 tests 1159s # Start of full-split3 tests 1159s ok 612 /regex/full-split3/386 1159s ok 613 /regex/full-split3/388 1159s ok 614 /regex/full-split3/390 1159s ok 615 /regex/full-split3/392 1159s ok 616 /regex/full-split3/394 1159s ok 617 /regex/full-split3/398 1159s ok 618 /regex/full-split3/401 1159s ok 619 /regex/full-split3/403 1159s ok 620 /regex/full-split3/406 1159s ok 621 /regex/full-split3/407 1159s # End of full-split3 tests 1159s # Start of check-repacement tests 1159s ok 622 /regex/check-repacement/408 1159s ok 623 /regex/check-repacement/409 1159s ok 624 /regex/check-repacement/410 1159s ok 625 /regex/check-repacement/411 1159s ok 626 /regex/check-repacement/412 1159s ok 627 /regex/check-repacement/413 1159s ok 628 /regex/check-repacement/414 1159s ok 629 /regex/check-repacement/415 1159s # End of check-repacement tests 1159s # Start of expand tests 1159s ok 630 /regex/expand/416 1159s ok 631 /regex/expand/417 1159s ok 632 /regex/expand/418 1159s ok 633 /regex/expand/419 1159s ok 634 /regex/expand/420 1159s ok 635 /regex/expand/421 1159s ok 636 /regex/expand/422 1159s ok 637 /regex/expand/423 1159s ok 638 /regex/expand/424 1159s ok 639 /regex/expand/425 1159s ok 640 /regex/expand/426 1159s ok 641 /regex/expand/427 1159s ok 642 /regex/expand/428 1159s ok 643 /regex/expand/429 1159s ok 644 /regex/expand/430 1159s ok 645 /regex/expand/431 1159s ok 646 /regex/expand/432 1159s ok 647 /regex/expand/433 1159s ok 648 /regex/expand/434 1159s ok 649 /regex/expand/435 1159s ok 650 /regex/expand/436 1159s ok 651 /regex/expand/437 1159s ok 652 /regex/expand/438 1159s ok 653 /regex/expand/439 1159s ok 654 /regex/expand/440 1159s ok 655 /regex/expand/441 1159s ok 656 /regex/expand/442 1159s ok 657 /regex/expand/443 1159s ok 658 /regex/expand/444 1159s ok 659 /regex/expand/445 1159s ok 660 /regex/expand/446 1159s ok 661 /regex/expand/447 1159s ok 662 /regex/expand/448 1159s ok 663 /regex/expand/449 1159s ok 664 /regex/expand/450 1159s ok 665 /regex/expand/451 1159s ok 666 /regex/expand/452 1159s ok 667 /regex/expand/453 1159s ok 668 /regex/expand/454 1159s ok 669 /regex/expand/455 1159s ok 670 /regex/expand/456 1159s ok 671 /regex/expand/457 1159s ok 672 /regex/expand/458 1159s ok 673 /regex/expand/459 1159s ok 674 /regex/expand/460 1159s ok 675 /regex/expand/461 1159s ok 676 /regex/expand/462 1159s ok 677 /regex/expand/463 1159s ok 678 /regex/expand/464 1159s ok 679 /regex/expand/465 1159s ok 680 /regex/expand/466 1159s ok 681 /regex/expand/467 1159s ok 682 /regex/expand/468 1159s ok 683 /regex/expand/469 1159s ok 684 /regex/expand/470 1159s ok 685 /regex/expand/471 1159s ok 686 /regex/expand/472 1159s ok 687 /regex/expand/473 1159s ok 688 /regex/expand/474 1159s ok 689 /regex/expand/475 1159s ok 690 /regex/expand/476 1159s ok 691 /regex/expand/477 1159s ok 692 /regex/expand/478 1159s ok 693 /regex/expand/479 1159s ok 694 /regex/expand/480 1159s ok 695 /regex/expand/481 1159s # End of expand tests 1159s # Start of replace tests 1159s ok 696 /regex/replace/482 1159s ok 697 /regex/replace/483 1159s ok 698 /regex/replace/484 1159s ok 699 /regex/replace/485 1159s ok 700 /regex/replace/486 1159s ok 701 /regex/replace/487 1159s ok 702 /regex/replace/488 1159s ok 703 /regex/replace/489 1159s ok 704 /regex/replace/490 1159s ok 705 /regex/replace/491 1159s ok 706 /regex/replace/492 1159s ok 707 /regex/replace/493 1159s ok 708 /regex/replace/494 1159s ok 709 /regex/replace/495 1159s ok 710 /regex/replace/496 1159s ok 711 /regex/replace/497 1159s ok 712 /regex/replace/498 1159s ok 713 /regex/replace/499 1159s ok 714 /regex/replace/500 1159s ok 715 /regex/replace/501 1159s ok 716 /regex/replace/502 1159s ok 717 /regex/replace/503 1159s ok 718 /regex/replace/504 1159s ok 719 /regex/replace/505 1159s ok 720 /regex/replace/506 1159s ok 721 /regex/replace/507 1159s ok 722 /regex/replace/508 1159s ok 723 /regex/replace/509 1159s # End of replace tests 1159s # Start of replace-optimized tests 1159s ok 724 /regex/replace-optimized/482 1159s ok 725 /regex/replace-optimized/483 1159s ok 726 /regex/replace-optimized/484 1159s ok 727 /regex/replace-optimized/485 1159s ok 728 /regex/replace-optimized/486 1159s ok 729 /regex/replace-optimized/487 1159s ok 730 /regex/replace-optimized/488 1159s ok 731 /regex/replace-optimized/489 1159s ok 732 /regex/replace-optimized/490 1159s ok 733 /regex/replace-optimized/491 1159s ok 734 /regex/replace-optimized/492 1159s ok 735 /regex/replace-optimized/493 1159s ok 736 /regex/replace-optimized/494 1159s ok 737 /regex/replace-optimized/495 1159s ok 738 /regex/replace-optimized/496 1159s ok 739 /regex/replace-optimized/497 1159s ok 740 /regex/replace-optimized/498 1159s ok 741 /regex/replace-optimized/499 1159s ok 742 /regex/replace-optimized/500 1159s ok 743 /regex/replace-optimized/501 1159s ok 744 /regex/replace-optimized/502 1159s ok 745 /regex/replace-optimized/503 1159s ok 746 /regex/replace-optimized/504 1159s ok 747 /regex/replace-optimized/505 1159s ok 748 /regex/replace-optimized/506 1159s ok 749 /regex/replace-optimized/507 1159s ok 750 /regex/replace-optimized/508 1159s ok 751 /regex/replace-optimized/509 1159s # End of replace-optimized tests 1159s # Start of replace-literally tests 1159s ok 752 /regex/replace-literally/510 1159s ok 753 /regex/replace-literally/511 1159s ok 754 /regex/replace-literally/512 1159s ok 755 /regex/replace-literally/513 1159s ok 756 /regex/replace-literally/514 1159s ok 757 /regex/replace-literally/515 1159s ok 758 /regex/replace-literally/516 1159s ok 759 /regex/replace-literally/517 1159s ok 760 /regex/replace-literally/518 1159s ok 761 /regex/replace-literally/519 1159s ok 762 /regex/replace-literally/520 1159s ok 763 /regex/replace-literally/521 1159s ok 764 /regex/replace-literally/522 1159s ok 765 /regex/replace-literally/523 1159s ok 766 /regex/replace-literally/524 1159s ok 767 /regex/replace-literally/525 1159s ok 768 /regex/replace-literally/526 1159s ok 769 /regex/replace-literally/527 1159s ok 770 /regex/replace-literally/528 1159s ok 771 /regex/replace-literally/529 1159s # End of replace-literally tests 1159s # Start of string-number tests 1159s ok 772 /regex/string-number/530 1159s ok 773 /regex/string-number/531 1159s ok 774 /regex/string-number/532 1159s ok 775 /regex/string-number/533 1159s ok 776 /regex/string-number/534 1159s ok 777 /regex/string-number/535 1159s ok 778 /regex/string-number/536 1159s ok 779 /regex/string-number/537 1159s ok 780 /regex/string-number/538 1159s ok 781 /regex/string-number/539 1159s ok 782 /regex/string-number/540 1159s ok 783 /regex/string-number/541 1159s ok 784 /regex/string-number/542 1159s ok 785 /regex/string-number/543 1159s ok 786 /regex/string-number/544 1159s # End of string-number tests 1159s # Start of escape_nul tests 1159s ok 787 /regex/escape_nul/545 1159s ok 788 /regex/escape_nul/546 1159s ok 789 /regex/escape_nul/547 1159s ok 790 /regex/escape_nul/548 1159s ok 791 /regex/escape_nul/549 1159s ok 792 /regex/escape_nul/550 1159s ok 793 /regex/escape_nul/551 1159s ok 794 /regex/escape_nul/552 1159s ok 795 /regex/escape_nul/553 1159s ok 796 /regex/escape_nul/554 1159s ok 797 /regex/escape_nul/555 1159s ok 798 /regex/escape_nul/556 1159s ok 799 /regex/escape_nul/557 1159s ok 800 /regex/escape_nul/558 1159s ok 801 /regex/escape_nul/559 1159s # End of escape_nul tests 1159s # Start of escape tests 1159s ok 802 /regex/escape/560 1159s ok 803 /regex/escape/561 1159s ok 804 /regex/escape/562 1159s ok 805 /regex/escape/563 1159s ok 806 /regex/escape/564 1159s ok 807 /regex/escape/565 1159s ok 808 /regex/escape/566 1159s ok 809 /regex/escape/567 1159s ok 810 /regex/escape/568 1159s ok 811 /regex/escape/569 1159s ok 812 /regex/escape/570 1159s ok 813 /regex/escape/571 1159s ok 814 /regex/escape/572 1159s ok 815 /regex/escape/573 1159s ok 816 /regex/escape/574 1159s ok 817 /regex/escape/575 1159s ok 818 /regex/escape/576 1159s ok 819 /regex/escape/577 1159s # End of escape tests 1159s # Start of match-all0 tests 1159s ok 820 /regex/match-all0/578 1159s ok 821 /regex/match-all0/580 1159s # End of match-all0 tests 1159s # Start of match-all-full0 tests 1159s ok 822 /regex/match-all-full0/579 1159s ok 823 /regex/match-all-full0/581 1159s ok 824 /regex/match-all-full0/582 1159s ok 825 /regex/match-all-full0/583 1159s # End of match-all-full0 tests 1159s # Start of match-all1 tests 1159s ok 826 /regex/match-all1/584 1159s ok 827 /regex/match-all1/586 1159s ok 828 /regex/match-all1/591 1159s # End of match-all1 tests 1159s # Start of match-all-full1 tests 1159s ok 829 /regex/match-all-full1/585 1159s ok 830 /regex/match-all-full1/587 1159s ok 831 /regex/match-all-full1/588 1159s ok 832 /regex/match-all-full1/589 1159s ok 833 /regex/match-all-full1/590 1159s ok 834 /regex/match-all-full1/592 1159s # End of match-all-full1 tests 1159s # Start of match-all2 tests 1159s ok 835 /regex/match-all2/593 1159s ok 836 /regex/match-all2/595 1159s ok 837 /regex/match-all2/597 1159s # End of match-all2 tests 1159s # Start of match-all-full2 tests 1159s ok 838 /regex/match-all-full2/594 1159s ok 839 /regex/match-all-full2/596 1159s ok 840 /regex/match-all-full2/598 1159s # End of match-all-full2 tests 1159s # Start of match-all3 tests 1159s ok 841 /regex/match-all3/599 1159s ok 842 /regex/match-all3/601 1159s # End of match-all3 tests 1159s # Start of match-all-full3 tests 1159s ok 843 /regex/match-all-full3/600 1159s ok 844 /regex/match-all-full3/602 1159s # End of match-all-full3 tests 1159s # Start of match-notempty tests 1159s ok 845 /regex/match-notempty/603 1159s # End of match-notempty tests 1159s # Start of match-notempty-optimized tests 1159s ok 846 /regex/match-notempty-optimized/603 1159s # End of match-notempty-optimized tests 1159s # Start of match-notempty-atstart tests 1159s ok 847 /regex/match-notempty-atstart/604 1159s # End of match-notempty-atstart tests 1159s # Start of match-notempty-atstart-optimized tests 1159s ok 848 /regex/match-notempty-atstart-optimized/604 1159s # End of match-notempty-atstart-optimized tests 1159s # End of regex tests 1159s ok - glib/regex.test 1159s # Running test: glib/dynamictype.test 1159s TAP version 13 1159s # random seed: R02S13b3cf2952b7d992e4db502b16cf29b1 1159s 1..2 1159s # Start of gobject tests 1159s ok 1 /gobject/dynamic-type 1159s # Start of dynamic-type tests 1159s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1159s ok 2 /gobject/dynamic-type/query 1159s # End of dynamic-type tests 1159s # End of gobject tests 1159s ok - glib/dynamictype.test 1159s # Running test: glib/cxx.test 1159s TAP version 13 1159s # random seed: R02S3e1bf0a1c07f8b3cd36dedc0d129471a 1159s 1..2 1159s # Start of gtask tests 1159s # 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. 1159s ok 1 /gtask/name 1159s # Start of name tests 1159s # 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. 1159s ok 2 /gtask/name/macro-wrapper 1159s # End of name tests 1159s # End of gtask tests 1159s ok - glib/cxx.test 1159s # Running test: glib/object.test 1159s TAP version 13 1159s # random seed: R02Sfb6deb4f1741494a7bb5d1e97b5ca450 1159s 1..2 1159s # Start of object tests 1159s # Start of constructor tests 1159s ok 1 /object/constructor/singleton 1159s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1159s # End of constructor tests 1159s # End of object tests 1159s ok - glib/object.test 1159s # Running test: glib/signals.test 1159s TAP version 13 1159s # random seed: R02S5c39296f85900cc024a413f2b1b07c84 1159s 1..31 1159s # Start of gobject tests 1159s # Start of signals tests 1159s ok 1 /gobject/signals/all-types 1159s ok 2 /gobject/signals/variant 1159s ok 3 /gobject/signals/destroy-target-object 1159s ok 4 /gobject/signals/generic-marshaller-1 1159s ok 5 /gobject/signals/generic-marshaller-2 1159s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1159s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1159s ok 8 /gobject/signals/generic-marshaller-int-return 1159s ok 9 /gobject/signals/generic-marshaller-uint-return 1159s ok 10 /gobject/signals/generic-marshaller-interface-return 1159s ok 11 /gobject/signals/custom-marshaller 1159s ok 12 /gobject/signals/connect 1159s ok 13 /gobject/signals/emission-hook 1159s ok 14 /gobject/signals/emitv 1159s ok 15 /gobject/signals/accumulator 1159s # Signal: accumulator-class-first 1159s # Signal: accumulator-class-last 1159s # Signal: accumulator-class-cleanup 1159s # Signal: accumulator-class-first-last 1159s # Signal: accumulator-class-first-last-cleanup 1159s # Signal: accumulator-class-last-cleanup 1159s ok 16 /gobject/signals/accumulator-class 1159s ok 17 /gobject/signals/introspection 1159s ok 18 /gobject/signals/block-handler 1159s ok 19 /gobject/signals/stop-emission 1159s ok 20 /gobject/signals/invocation-hint 1159s ok 21 /gobject/signals/test-disconnection-wrong-object 1159s ok 22 /gobject/signals/clear-signal-handler 1159s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1159s ok 23 /gobject/signals/lookup 1159s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1159s ok 24 /gobject/signals/parse-name 1159s ok 25 /gobject/signals/is-valid-name 1159s ok 26 /gobject/signals/weak-ref-disconnect 1159s # Start of lookup tests 1159s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1159s ok 27 /gobject/signals/lookup/invalid 1159s # End of lookup tests 1159s # Start of parse-name tests 1159s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1159s # Parser input: 1159s # Parser input: 7zip 1159s # Parser input: invalid:signal 1159s # Parser input: simple-detailed:: 1159s # Parser input: simple-detailed: 1159s # Parser input: : 1159s # Parser input: :: 1159s # Parser input: :valid-detail 1159s # Parser input: ::valid-detail 1159s ok 28 /gobject/signals/parse-name/invalid 1159s # End of parse-name tests 1159s # Start of invalid-name tests 1159s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1159s ok 29 /gobject/signals/invalid-name/colon 1159s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1159s ok 30 /gobject/signals/invalid-name/first-char 1159s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1159s ok 31 /gobject/signals/invalid-name/empty 1159s # End of invalid-name tests 1159s # End of signals tests 1159s # End of gobject tests 1159s ok - glib/signals.test 1159s # Running test: glib/gdbus-auth.test 1159s TAP version 13 1159s # random seed: R02Sdab72893d48f1970aaa6e367f94ba64c 1159s 1..5 1159s # Start of gdbus tests 1159s # Start of auth tests 1159s # Start of client tests 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/EXTERNAL/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/EXTERNAL/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/EXTERNAL/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/EXTERNAL/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/EXTERNAL/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1159s ok 1 /gdbus/auth/client/EXTERNAL 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1159s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1159s # End of client tests 1159s # Start of server tests 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/ANONYMOUS/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/ANONYMOUS/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/ANONYMOUS/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/ANONYMOUS/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1159s ok 3 /gdbus/auth/server/ANONYMOUS 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/EXTERNAL/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/EXTERNAL/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/EXTERNAL/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/EXTERNAL/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/EXTERNAL/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1159s ok 4 /gdbus/auth/server/EXTERNAL 1159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_WM61K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1159s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1159s # End of server tests 1159s # End of auth tests 1159s # End of gdbus tests 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s ok - glib/gdbus-auth.test 1159s # Running test: glib/properties-refcount3.test 1159s TAP version 13 1159s # random seed: R02Sd9804a2685f5c488abf1f7d3ebbb4073 1159s 1..1 1159s # Start of gobject tests 1159s # Start of refcount tests 1160s # Executing: glib/properties-refcount3.test 1165s # Executing: glib/properties-refcount3.test 1170s # Executing: glib/properties-refcount3.test 1175s # Executing: glib/properties-refcount3.test 1180s # Executing: glib/properties-refcount3.test 1185s # Executing: glib/properties-refcount3.test 1189s # 1189s # stopping 1189s # 1189s # stopped 1189s # 1189s # 18630486 1324022 1189s # 1189s ok 1 /gobject/refcount/properties-3 1189s # slow test /gobject/refcount/properties-3 executed in 30.01 secs 1189s # End of refcount tests 1189s # End of gobject tests 1189s ok - glib/properties-refcount3.test 1189s # Running test: glib/portal-support-flatpak-gsettings-only.test 1189s TAP version 13 1189s # random seed: R02S15d947a495a1970d4965dbc69928ae0a 1189s 1..1 1189s # Start of portal-support tests 1189s # Start of flatpak tests 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_PPV2K2/portal-support/flatpak/gsettings/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PPV2K2/portal-support/flatpak/gsettings/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_PPV2K2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_PPV2K2/portal-support/flatpak/gsettings/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PPV2K2/portal-support/flatpak/gsettings/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_PPV2K2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_PPV2K2/portal-support/flatpak/gsettings/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PPV2K2/portal-support/flatpak/gsettings/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_PPV2K2/portal-support/flatpak/gsettings/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_PPV2K2/portal-support/flatpak/gsettings/.dirs/runtime 1189s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_PPV2K2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1189s ok 1 /portal-support/flatpak/gsettings 1189s # End of flatpak tests 1189s # End of portal-support tests 1189s ok - glib/portal-support-flatpak-gsettings-only.test 1189s # Running test: glib/gdbus-address-get-session.test 1189s TAP version 13 1189s # random seed: R02S763a29934a70db94e1c1645e4543d935 1189s 1..2 1189s # Start of gdbus tests 1189s ok 1 /gdbus/x11-autolaunch 1189s ok 2 /gdbus/xdg-runtime 1189s # End of gdbus tests 1189s ok - glib/gdbus-address-get-session.test 1189s # Running test: glib/bitlock.test 1189s TAP version 13 1189s # random seed: R02S4ca9d1a3c36974baaa2f77e127766d49 1189s 1..1 1189s # Start of bitlock tests 1189s # Start of performance tests 1189s # max perf: iterations per second 1189s ok 1 /bitlock/performance/uncontended 1189s # End of performance tests 1189s # End of bitlock tests 1189s ok - glib/bitlock.test 1189s # Running test: glib/closure.test 1189s TAP version 13 1189s # random seed: R02Sa0d4175c8ec9e68e7aad3be44d3dfa9b 1189s 1..6 1189s # Start of closure tests 1189s ok 1 /closure/idle 1189s ok 2 /closure/timeout 1189s ok 3 /closure/iochannel 1189s ok 4 /closure/child 1189s ok 5 /closure/fd 1189s ok 6 /closure/signal 1189s # End of closure tests 1189s ok - glib/closure.test 1189s # Running test: glib/autoptr-gio.test 1189s TAP version 13 1189s # random seed: R02S73a6b192d10b9f762ca36fa0d2c49267 1189s 1..1 1189s # Start of autoptr tests 1189s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1189s ok 1 /autoptr/autoptr 1189s # End of autoptr tests 1189s ok - glib/autoptr-gio.test 1189s # Running test: glib/pattern.test 1189s TAP version 13 1189s # random seed: R02S9249573b04c3bfe73251f4d910541f38 1189s 1..90 1189s # Start of pattern tests 1189s # Start of compile tests 1189s ok 1 /pattern/compile/0 1189s ok 2 /pattern/compile/1 1189s ok 3 /pattern/compile/2 1189s ok 4 /pattern/compile/3 1189s ok 5 /pattern/compile/4 1189s ok 6 /pattern/compile/5 1189s ok 7 /pattern/compile/6 1189s ok 8 /pattern/compile/7 1189s ok 9 /pattern/compile/8 1189s ok 10 /pattern/compile/9 1189s ok 11 /pattern/compile/10 1189s ok 12 /pattern/compile/11 1189s ok 13 /pattern/compile/12 1189s ok 14 /pattern/compile/13 1189s # End of compile tests 1189s # Start of copy tests 1189s ok 15 /pattern/copy/0 1189s ok 16 /pattern/copy/1 1189s ok 17 /pattern/copy/2 1189s ok 18 /pattern/copy/3 1189s ok 19 /pattern/copy/4 1189s ok 20 /pattern/copy/5 1189s ok 21 /pattern/copy/6 1189s ok 22 /pattern/copy/7 1189s ok 23 /pattern/copy/8 1189s ok 24 /pattern/copy/9 1189s ok 25 /pattern/copy/10 1189s ok 26 /pattern/copy/11 1189s ok 27 /pattern/copy/12 1189s ok 28 /pattern/copy/13 1189s # End of copy tests 1189s # Start of match tests 1189s ok 29 /pattern/match/0 1189s ok 30 /pattern/match/1 1189s ok 31 /pattern/match/2 1189s ok 32 /pattern/match/3 1189s ok 33 /pattern/match/4 1189s ok 34 /pattern/match/5 1189s ok 35 /pattern/match/6 1189s ok 36 /pattern/match/7 1189s ok 37 /pattern/match/8 1189s ok 38 /pattern/match/9 1189s ok 39 /pattern/match/10 1189s ok 40 /pattern/match/11 1189s ok 41 /pattern/match/12 1189s ok 42 /pattern/match/13 1189s ok 43 /pattern/match/14 1189s ok 44 /pattern/match/15 1189s ok 45 /pattern/match/16 1189s ok 46 /pattern/match/17 1189s ok 47 /pattern/match/18 1189s ok 48 /pattern/match/19 1189s ok 49 /pattern/match/20 1189s ok 50 /pattern/match/21 1189s ok 51 /pattern/match/22 1189s ok 52 /pattern/match/23 1189s ok 53 /pattern/match/24 1189s ok 54 /pattern/match/25 1189s ok 55 /pattern/match/26 1189s ok 56 /pattern/match/27 1189s ok 57 /pattern/match/28 1189s ok 58 /pattern/match/29 1189s ok 59 /pattern/match/30 1189s ok 60 /pattern/match/31 1189s ok 61 /pattern/match/32 1189s ok 62 /pattern/match/33 1189s ok 63 /pattern/match/34 1189s ok 64 /pattern/match/35 1189s ok 65 /pattern/match/36 1189s ok 66 /pattern/match/37 1189s ok 67 /pattern/match/38 1189s ok 68 /pattern/match/39 1189s ok 69 /pattern/match/40 1189s ok 70 /pattern/match/41 1189s ok 71 /pattern/match/42 1189s ok 72 /pattern/match/43 1189s ok 73 /pattern/match/44 1189s ok 74 /pattern/match/45 1189s ok 75 /pattern/match/46 1189s ok 76 /pattern/match/47 1189s ok 77 /pattern/match/48 1189s ok 78 /pattern/match/49 1189s ok 79 /pattern/match/50 1189s # End of match tests 1189s # Start of equal tests 1189s ok 80 /pattern/equal/0 1189s ok 81 /pattern/equal/1 1189s ok 82 /pattern/equal/2 1189s ok 83 /pattern/equal/3 1189s ok 84 /pattern/equal/4 1189s ok 85 /pattern/equal/5 1189s ok 86 /pattern/equal/6 1189s ok 87 /pattern/equal/7 1189s ok 88 /pattern/equal/8 1189s ok 89 /pattern/equal/9 1189s ok 90 /pattern/equal/10 1189s # End of equal tests 1189s # End of pattern tests 1189s ok - glib/pattern.test 1189s # Running test: glib/utils-c-90.test 1189s TAP version 13 1189s # random seed: R02Sb6db611601562d0a4470780aaaf56b7f 1189s 1..40 1189s # Start of utils tests 1189s ok 1 /utils/language-names 1189s ok 2 /utils/locale-variants 1189s ok 3 /utils/version 1189s ok 4 /utils/appname 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1189s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1189s ok 5 /utils/prgname-thread-safety 1189s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1189s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1189s ok 6 /utils/tmpdir 1189s ok 7 /utils/basic_bits 1189s ok 8 /utils/bits 1189s ok 9 /utils/swap 1189s ok 10 /utils/find-program 1189s ok 11 /utils/find-program-for-path 1189s ok 12 /utils/debug 1189s ok 13 /utils/codeset 1189s ok 14 /utils/codeset2 1189s ok 15 /utils/console-charset 1189s ok 16 /utils/gettext 1189s ok 17 /utils/username 1189s ok 18 /utils/realname 1189s ok 19 /utils/hostname 1189s ok 20 /utils/xdgdirs 1189s ok 21 /utils/specialdir 1189s # NAME: Ubuntu 1189s ok 22 /utils/os-info 1189s ok 23 /utils/clear-pointer 1189s ok 24 /utils/clear-pointer-cast 1189s ok 25 /utils/take-pointer 1189s ok 26 /utils/clear-source 1189s ok 27 /utils/misc-mem 1189s # /utils/aligned-mem summary: Aligned memory allocator 1189s # Alignment must not be zero 1189s # Alignment must be a power of two 1189s # Alignment must be a multiple of sizeof(void*) 1189s ok 28 /utils/aligned-mem 1189s # /utils/free-sized summary: Check that g_free_sized() works 1189s ok 29 /utils/free-sized 1189s ok 30 /utils/nullify 1189s ok 31 /utils/atexit 1189s ok 32 /utils/check-setuid 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1189s ok 33 /utils/int-limits 1189s ok 34 /utils/clear-list 1189s ok 35 /utils/clear-slist 1189s # Start of specialdir tests 1189s ok 36 /utils/specialdir/desktop 1189s # End of specialdir tests 1189s # Start of clear-pointer tests 1189s ok 37 /utils/clear-pointer/side-effects 1189s # End of clear-pointer tests 1189s # Start of aligned-mem tests 1189s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1189s ok 38 /utils/aligned-mem/alignment 1189s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1189s ok 39 /utils/aligned-mem/zeroed 1189s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1189s ok 40 /utils/aligned-mem/free-sized 1189s # Start of subprocess tests 1189s # End of subprocess tests 1189s # End of aligned-mem tests 1189s # End of utils tests 1189s ok - glib/utils-c-90.test 1189s # Running test: glib/basics-gobject.test 1189s TAP version 13 1189s # random seed: R02Sb93900e197358fde67cf04408ba04a70 1189s 1..1 1189s # Start of gobject tests 1189s # private data during initialization: 54321 == 54321 1189s # MAIN: emit test-signal: 1189s # ::test_signal default_handler called 1189s # ::test_signal default_handler called 1189s # ::test_signal default_handler called 1189s # signal return: "" 1189s # MAIN: call iface print-string on test and derived object: 1189s # Iface-FOO: "iface-string-from-test-type" from 0x1896a2d5f7a0 1189s # Iface-BAR: "iface-string-from-derived-type" from 0x1896a2d5f6c0 1189s # chaining: 1189s # Iface-FOO: "iface-string-from-derived-type" from 0x1896a2d5f6c0 1189s # private data after initialization: 54321 == 54321 1189s ok 1 /gobject/basics 1189s # End of gobject tests 1189s ok - glib/basics-gobject.test 1189s # Running test: glib/atomic-c-17.test 1189s TAP version 13 1189s # random seed: R02Se086cced059ca436ddf5e98e45ab092b 1189s 1..2 1189s # Start of atomic tests 1189s ok 1 /atomic/types 1189s ok 2 /atomic/threaded 1189s # End of atomic tests 1189s ok - glib/atomic-c-17.test 1189s # Running test: glib/hook.test 1189s TAP version 13 1189s # random seed: R02S89e7cf22157bb2e1f9094d17b06214d3 1189s 1..2 1189s # Start of hook tests 1189s ok 1 /hook/basics 1189s ok 2 /hook/corner-cases 1189s # End of hook tests 1189s ok - glib/hook.test 1189s # Running test: glib/mapping.test 1189s TAP version 13 1189s # random seed: R02Sc670e30c5c7eed93ac1c47253d72b187 1189s 1..3 1189s # Start of mapping tests 1189s # test_mapping: ok 1189s ok 1 /mapping/flags 1189s ok 2 /mapping/private 1189s # Subtest: /usr/libexec/installed-tests/glib/mapping 1189s # test_child_private: child spawned 1189s # # random seed: R02S6a0f6eb6a18251dbc63c8960883eebb9 1189s # test_child_private: received first child signal 1189s # # test_child_private: received parent signal 1189s # test_child_private: received second child signal 1189s ok 3 /mapping/private-child 1189s # End of mapping tests 1189s ok - glib/mapping.test 1189s # Running test: glib/mimeapps.test 1189s TAP version 13 1189s # random seed: R02S636eb0341edc8335c14158f2b8b3e33c 1189s 1..7 1189s # Start of appinfo tests 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/runtime 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/system-data1/applications' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/data/applications' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/data/applications/myapp.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/data/applications/myapp2.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/data/applications/myapp3.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/data/applications/myapp4.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/data/applications/myapp5.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1189s # removing '/tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/data/applications/mimeapps.list' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1189s ok 1 /appinfo/all 1189s # Start of mime tests 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/runtime 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/system-data1/applications' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/data/applications' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1189s # removing '/tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/config 1189s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_NSTNK2/appinfo/all/.dirs/config to /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/config 1189s ok 2 /appinfo/mime/api 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/runtime 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/system-data1/applications' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/data/applications' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1189s # removing '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/config 1189s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_NSTNK2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/config 1189s ok 3 /appinfo/mime/default 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/runtime 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/system-data1/applications' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/data/applications' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1189s # removing '/tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/config 1189s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_NSTNK2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/config 1189s ok 4 /appinfo/mime/file 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/runtime 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/data/applications' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1189s # removing '/tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1189s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_NSTNK2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/config 1189s ok 5 /appinfo/mime/scheme-handler 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/runtime 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/data/applications' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1189s # removing '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/config 1189s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_NSTNK2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/config 1189s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/config 1189s ok 6 /appinfo/mime/default-last-used 1189s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/home 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/cache 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/config 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/data 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/state 1189s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/runtime 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1189s # removing '/tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1189s # creating '/tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1189s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_NSTNK2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_NSTNK2/appinfo/mime/ignore-nonexisting/.dirs/config 1189s ok 7 /appinfo/mime/ignore-nonexisting 1189s # End of mime tests 1189s # End of appinfo tests 1189s ok - glib/mimeapps.test 1189s # Running test: glib/signals-refcount1.test 1189s TAP version 13 1189s # random seed: R02Se768931fe7e3d6c061839cf556ae7b86 1189s 1..1 1189s # Start of gobject tests 1189s # Start of refcount tests 1189s # init 0x13620922f420 1189s # 1189s # init 0x13620922f5c0 1189s # 1190s # Executing: glib/signals-refcount1.test 1194s # dispose 0x13620922f420! 1194s # 1194s # dispose 0x13620922f5c0! 1194s # 1194s ok 1 /gobject/refcount/signals 1194s # slow test /gobject/refcount/signals executed in 5.00 secs 1194s # End of refcount tests 1194s # End of gobject tests 1194s ok - glib/signals-refcount1.test 1194s # Running test: glib/union-info.test 1194s TAP version 13 1194s # random seed: R02Sf8dbce947a293915000cd32ceeae0226 1194s 1..2 1194s # Start of union-info tests 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_VRUOK2/union-info/basic/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_VRUOK2/union-info/basic/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_VRUOK2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_VRUOK2/union-info/basic/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_VRUOK2/union-info/basic/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_VRUOK2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_VRUOK2/union-info/basic/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_VRUOK2/union-info/basic/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_VRUOK2/union-info/basic/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_VRUOK2/union-info/basic/.dirs/runtime 1194s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1194s # /union-info/basic summary: Test basic properties of GIUnionInfo 1194s ok 1 /union-info/basic 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_VRUOK2/union-info/methods/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_VRUOK2/union-info/methods/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_VRUOK2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_VRUOK2/union-info/methods/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_VRUOK2/union-info/methods/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_VRUOK2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_VRUOK2/union-info/methods/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_VRUOK2/union-info/methods/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_VRUOK2/union-info/methods/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_VRUOK2/union-info/methods/.dirs/runtime 1194s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1194s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1194s ok 2 /union-info/methods 1194s # End of union-info tests 1194s ok - glib/union-info.test 1194s # Running test: glib/null-settings-backend.test 1194s TAP version 13 1194s # random seed: R02Sd183362d88e6aec23e5eff1f2f1c2156 1194s 1..1 1194s # Start of null-settings-backend tests 1194s ok 1 /null-settings-backend/extension-point-registered 1194s # End of null-settings-backend tests 1194s ok - glib/null-settings-backend.test 1194s # Running test: glib/async-close-output-stream.test 1194s TAP version 13 1194s # random seed: R02S6d336766e51b4cefa29de9043a0d49d8 1194s 1..3 1194s # Start of close-async tests 1194s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1194s ok 1 /close-async/without-flush 1194s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1194s ok 2 /close-async/with-flush 1194s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1194s ok 3 /close-async/with-async-flush 1194s # End of close-async tests 1194s ok - glib/async-close-output-stream.test 1194s # Running test: glib/utf8-pointer.test 1194s TAP version 13 1194s # random seed: R02S2b2b75f71fd393897fb36360384b5439 1194s 1..3 1194s # Start of utf8 tests 1195s # Executing: glib/utf8-pointer.test 1195s ok 1 /utf8/offsets 1195s # slow test /utf8/offsets executed in 0.79 secs 1195s ok 2 /utf8/lengths 1195s ok 3 /utf8/find 1195s # End of utf8 tests 1195s ok - glib/utf8-pointer.test 1195s # Running test: glib/gdbus-addresses.test 1195s TAP version 13 1195s # random seed: R02S5dd39c85e2e106d88871d55d30f892b8 1195s 1..9 1195s # Start of gdbus tests 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/empty-address/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/empty-address/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/empty-address/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/empty-address/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/empty-address/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/empty-address/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/empty-address/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O9VLK2/gdbus/empty-address/.dirs/runtime 1195s ok 1 /gdbus/empty-address 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unsupported-address/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unsupported-address/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/unsupported-address/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unsupported-address/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/unsupported-address/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unsupported-address/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unsupported-address/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unsupported-address/.dirs/runtime 1195s ok 2 /gdbus/unsupported-address 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/address-parsing/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/address-parsing/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/address-parsing/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/address-parsing/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/address-parsing/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/address-parsing/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/address-parsing/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O9VLK2/gdbus/address-parsing/.dirs/runtime 1195s ok 3 /gdbus/address-parsing 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unix-address/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unix-address/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/unix-address/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unix-address/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/unix-address/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unix-address/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unix-address/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O9VLK2/gdbus/unix-address/.dirs/runtime 1195s ok 4 /gdbus/unix-address 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/nonce-tcp-address/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/nonce-tcp-address/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/nonce-tcp-address/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/nonce-tcp-address/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/nonce-tcp-address/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/nonce-tcp-address/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/nonce-tcp-address/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O9VLK2/gdbus/nonce-tcp-address/.dirs/runtime 1195s ok 5 /gdbus/nonce-tcp-address 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/tcp-address/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/tcp-address/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/tcp-address/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/tcp-address/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/tcp-address/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/tcp-address/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/tcp-address/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O9VLK2/gdbus/tcp-address/.dirs/runtime 1195s ok 6 /gdbus/tcp-address 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/autolaunch-address/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/autolaunch-address/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/autolaunch-address/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/autolaunch-address/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/autolaunch-address/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/autolaunch-address/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/autolaunch-address/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O9VLK2/gdbus/autolaunch-address/.dirs/runtime 1195s ok 7 /gdbus/autolaunch-address 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/mixed-address/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/mixed-address/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/mixed-address/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/mixed-address/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/mixed-address/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/mixed-address/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/mixed-address/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O9VLK2/gdbus/mixed-address/.dirs/runtime 1195s ok 8 /gdbus/mixed-address 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/escape-address/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/escape-address/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/escape-address/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/escape-address/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_O9VLK2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_O9VLK2/gdbus/escape-address/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/escape-address/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_O9VLK2/gdbus/escape-address/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_O9VLK2/gdbus/escape-address/.dirs/runtime 1195s ok 9 /gdbus/escape-address 1195s # End of gdbus tests 1195s ok - glib/gdbus-addresses.test 1195s # Running test: glib/sequence.test 1195s TAP version 13 1195s # random seed: R02S750cf1c57d3deceef874e753afc2e5ec 1195s 1..16 1195s # Start of sequence tests 1195s ok 1 /sequence/out-of-range-jump 1195s ok 2 /sequence/iter-move 1195s ok 3 /sequence/insert-sorted-non-pointer 1195s ok 4 /sequence/stable-sort 1195s ok 5 /sequence/is_empty 1195s # Start of random tests 1196s ok 6 /sequence/random/seed:825541564 1196s # slow test /sequence/random/seed:825541564 executed in 0.78 secs 1197s ok 7 /sequence/random/seed:801678400 1197s # slow test /sequence/random/seed:801678400 executed in 0.74 secs 1198s ok 8 /sequence/random/seed:1477639090 1198s # slow test /sequence/random/seed:1477639090 executed in 0.75 secs 1198s ok 9 /sequence/random/seed:3369132895 1198s # slow test /sequence/random/seed:3369132895 executed in 0.72 secs 1199s ok 10 /sequence/random/seed:1192944867 1199s # slow test /sequence/random/seed:1192944867 executed in 0.72 secs 1200s ok 11 /sequence/random/seed:770458294 1200s # slow test /sequence/random/seed:770458294 executed in 0.74 secs 1200s # Executing: glib/sequence.test 1201s ok 12 /sequence/random/seed:1099575817 1201s # slow test /sequence/random/seed:1099575817 executed in 0.72 secs 1201s ok 13 /sequence/random/seed:590523467 1201s # slow test /sequence/random/seed:590523467 executed in 0.74 secs 1202s ok 14 /sequence/random/seed:3583571454 1202s # slow test /sequence/random/seed:3583571454 executed in 0.77 secs 1203s ok 15 /sequence/random/seed:579241222 1203s # slow test /sequence/random/seed:579241222 executed in 0.75 secs 1204s ok 16 /sequence/random/seed:1613296415 1204s # slow test /sequence/random/seed:1613296415 executed in 0.78 secs 1204s # End of random tests 1204s # End of sequence tests 1204s ok - glib/sequence.test 1204s # Running test: glib/string.test 1204s TAP version 13 1204s # random seed: R02S7df57b04287d25ea5fac0b60c382b21a 1204s 1..23 1204s # Start of string tests 1204s ok 1 /string/test-string-chunks 1204s ok 2 /string/test-string-chunk-insert 1204s ok 3 /string/test-string-new 1204s ok 4 /string/test-string-printf 1204s ok 5 /string/test-string-assign 1204s ok 6 /string/test-string-append-c 1204s ok 7 /string/test-string-append 1204s ok 8 /string/test-string-append-vprintf 1204s ok 9 /string/test-string-prepend-c 1204s ok 10 /string/test-string-prepend 1204s ok 11 /string/test-string-insert 1204s ok 12 /string/test-string-insert-unichar 1204s ok 13 /string/test-string-equal 1204s ok 14 /string/test-string-truncate 1204s ok 15 /string/test-string-overwrite 1204s ok 16 /string/test-string-nul-handling 1204s ok 17 /string/test-string-up-down 1204s ok 18 /string/test-string-set-size 1204s ok 19 /string/test-string-to-bytes 1204s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1204s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1204s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1204s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1204s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1204s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1204s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1204s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1204s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1204s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1204s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1204s # -> 4 replacements, "fd fr fals" 1204s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1204s # -> 3 replacements, "aaaaaaaaa" 1204s # 7: Replacing "a" with "" (limit 0) in "aaa" 1204s # -> 3 replacements, "" 1204s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1204s # -> 1 replacements, "bba" 1204s # 9: Replacing "" with "bar" (limit 0) in "foo" 1204s # -> 4 replacements, "barfbarobarobar" 1204s # 10: Replacing "" with "x" (limit 0) in "" 1204s # -> 1 replacements, "x" 1204s # 11: Replacing "" with "" (limit 0) in "" 1204s # -> 1 replacements, "" 1204s ok 20 /string/test-string-replace 1204s ok 21 /string/test-string-steal 1204s ok 22 /string/test-string-new-take 1204s # Start of test-string-new-take tests 1204s ok 23 /string/test-string-new-take/null 1204s # End of test-string-new-take tests 1204s # End of string tests 1204s ok - glib/string.test 1204s # Running test: glib/proxy-test.test 1204s TAP version 13 1204s # random seed: R02S059a99f28295f062304c4c76db289cb8 1204s 1..11 1204s # Start of proxy tests 1204s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1204s ok 1 /proxy/direct_sync 1204s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1204s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe1bcbf80980 and GSocketClientAsyncConnectData 0xe1bcbf76260 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1204s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe1bcbf81390 for GSocketClientAsyncConnectData 0xe1bcbf76260 1204s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1204s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1204s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1204s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1204s ok 2 /proxy/direct_async 1204s ok 3 /proxy/single_sync 1204s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1204s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe1bcbf82c90 and GSocketClientAsyncConnectData 0xe1bcbf81de0 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1204s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe1bcbf837f0 for GSocketClientAsyncConnectData 0xe1bcbf81de0 1204s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1204s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1204s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1204s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1204s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1204s ok 4 /proxy/single_async 1204s ok 5 /proxy/multiple_sync 1204s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1204s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe1bcbf83520 and GSocketClientAsyncConnectData 0xe1bcbf832f0 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1204s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe1bcbf83e70 for GSocketClientAsyncConnectData 0xe1bcbf832f0 1204s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1204s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1204s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1204s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1204s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe1bcbf83880 for GSocketClientAsyncConnectData 0xe1bcbf832f0 1204s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1204s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1204s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1204s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1204s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1204s ok 6 /proxy/multiple_async 1204s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1204s ok 7 /proxy/invalid-uris-sync 1204s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1204s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1204s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe1bcbf83c00 and GSocketClientAsyncConnectData 0xe1bcbf83100 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1204s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1204s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1204s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe1bcbf83c00 and GSocketClientAsyncConnectData 0xe1bcbf83100 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1204s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1204s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1204s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe1bcbf83c00 and GSocketClientAsyncConnectData 0xe1bcbf83100 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1204s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe1bcbf81ba0 for GSocketClientAsyncConnectData 0xe1bcbf83100 1204s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1204s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1204s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1204s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1204s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1204s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe1bcbf83520 and GSocketClientAsyncConnectData 0xe1bcbf835e0 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1204s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe1bcbf810a0 for GSocketClientAsyncConnectData 0xe1bcbf835e0 1204s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1204s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1204s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1204s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1204s ok 8 /proxy/invalid-uris-async 1204s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1204s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe1bcbf83c00 and GSocketClientAsyncConnectData 0xe1bcbf83100 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1204s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1204s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1204s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1204s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe1bcbf83520 and GSocketClientAsyncConnectData 0xe1bcbf835e0 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1204s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe1bcbf81ba0 for GSocketClientAsyncConnectData 0xe1bcbf835e0 1204s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1204s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1204s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1204s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1204s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1204s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1204s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe1bcbf82db0 and GSocketClientAsyncConnectData 0xe1bcbf84110 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1204s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe1bcbf83f30 for GSocketClientAsyncConnectData 0xe1bcbf84110 1204s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1204s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1204s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1204s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1204s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1204s ok 9 /proxy/dns 1204s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1204s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe1bcbf837f0 and GSocketClientAsyncConnectData 0xe1bcbf7d9c0 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1204s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe1bcbf838b0 for GSocketClientAsyncConnectData 0xe1bcbf7d9c0 1204s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1204s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1204s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1204s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1204s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1204s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1204s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe1bcbf817d0 and GSocketClientAsyncConnectData 0xe1bcbf84330 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1204s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe1bcbf838b0 for GSocketClientAsyncConnectData 0xe1bcbf84330 1204s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1204s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1204s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1204s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1204s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1204s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1204s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe1bcbf829a0 and GSocketClientAsyncConnectData 0xe1bcbf7d9c0 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1204s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe1bcbf84490 for GSocketClientAsyncConnectData 0xe1bcbf7d9c0 1204s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1204s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1204s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1204s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1204s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1204s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1204s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1204s ok 10 /proxy/override 1204s ok 11 /proxy/enumerator-ports 1204s # End of proxy tests 1204s ok - glib/proxy-test.test 1204s # Running test: glib/basic-signals.test 1204s TAP version 13 1204s # random seed: R02S1a438703f2052db148cee0d748ca6853 1204s 1..1 1204s # Start of gobject tests 1204s ok 1 /gobject/basic-signals 1204s # End of gobject tests 1204s ok - glib/basic-signals.test 1204s # Running test: glib/genmarshal.py.test 1204s TAP version 13 1204s ok 1 __main__.TestGenmarshal.test_empty_list 1204s # tmpdir: /tmp/tmpwyix7wco 1204s # genmarshal: /usr/bin/glib-genmarshal 1204s # /tmp/tmpwyix7wco/tmp448zd3y7.list: 1204s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwyix7wco/tmp448zd3y7.list', '--header', '--quiet'] 1204s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # 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. */ 1204s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1204s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1204s # 1204s # #include 1204s # 1204s # G_BEGIN_DECLS 1204s # 1204s # 1204s # G_END_DECLS 1204s # 1204s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1204s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwyix7wco/tmp448zd3y7.list', '--body', '--quiet'] 1204s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # 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. */ 1204s # #include 1204s # 1204s # #ifdef G_ENABLE_DEBUG 1204s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1204s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1204s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1204s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1204s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1204s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1204s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1204s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1204s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1204s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1204s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1204s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1204s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1204s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1204s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1204s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1204s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1204s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1204s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1204s # #else /* !G_ENABLE_DEBUG */ 1204s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1204s # * Do not access GValues directly in your code. Instead, use the 1204s # * g_value_get_*() functions 1204s # */ 1204s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1204s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1204s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1204s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1204s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1204s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1204s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1204s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1204s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1204s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1204s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1204s # #endif /* !G_ENABLE_DEBUG */ 1204s ok 2 __main__.TestGenmarshal.test_help 1204s # tmpdir: /tmp/tmpfxr6wc2p 1204s # genmarshal: /usr/bin/glib-genmarshal 1204s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1204s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1204s # [--internal] [--valist-marshallers] [-v] 1204s # [--g-fatal-warnings] [--include-header [HEADER]] 1204s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1204s # [--prototypes] [--header] [--body] 1204s # [--stdinc | --nostdinc] [--quiet | --verbose] 1204s # [FILE ...] 1204s # 1204s # Generate signal marshallers for GObject 1204s # 1204s # positional arguments: 1204s # FILE Files with lists of marshallers to generate, or "-" 1204s # for standard input 1204s # 1204s # options: 1204s # -h, --help show this help message and exit 1204s # --prefix STRING Specify marshaller prefix 1204s # --output FILE Write output into the specified file 1204s # --skip-source Skip source location comments 1204s # --internal Mark generated functions as internal 1204s # --valist-marshallers Generate va_list marshallers 1204s # -v, --version Print version information, and exit 1204s # --g-fatal-warnings Make warnings fatal 1204s # --include-header [HEADER] 1204s # Include the specified header in the body 1204s # --pragma-once Use "pragma once" as the inclusion guard 1204s # -D CPP_DEFINES Pre-processor define 1204s # -U CPP_UNDEFINES Pre-processor undefine 1204s # --prototypes Generate the marshallers prototype in the C code 1204s # --header Generate C headers 1204s # --body Generate C code 1204s # --stdinc Include standard marshallers 1204s # --nostdinc Use standard marshallers 1204s # --quiet Only print warnings and errors 1204s # --verbose Be verbose, and include debugging information 1204s ok 3 __main__.TestGenmarshal.test_no_args 1204s # tmpdir: /tmp/tmpol9cnusw 1204s # genmarshal: /usr/bin/glib-genmarshal 1204s # Running: ['/usr/bin/glib-genmarshal'] 1204s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # Output: 1204s ok 4 __main__.TestGenmarshal.test_void_boolean 1204s # tmpdir: /tmp/tmpvnbt8ne1 1204s # genmarshal: /usr/bin/glib-genmarshal 1204s # /tmp/tmpvnbt8ne1/tmpz2iipuyk.list: VOID:BOOLEAN 1204s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpvnbt8ne1/tmpz2iipuyk.list', '--header', '--quiet'] 1204s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # 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. */ 1204s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1204s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1204s # 1204s # #include 1204s # 1204s # G_BEGIN_DECLS 1204s # 1204s # /* VOID:BOOLEAN (/tmp/tmpvnbt8ne1/tmpz2iipuyk.list:1) */ 1204s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1204s # 1204s # 1204s # G_END_DECLS 1204s # 1204s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1204s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpvnbt8ne1/tmpz2iipuyk.list', '--body', '--quiet'] 1204s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # 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. */ 1204s # #include 1204s # 1204s # #ifdef G_ENABLE_DEBUG 1204s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1204s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1204s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1204s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1204s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1204s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1204s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1204s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1204s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1204s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1204s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1204s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1204s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1204s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1204s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1204s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1204s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1204s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1204s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1204s # #else /* !G_ENABLE_DEBUG */ 1204s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1204s # * Do not access GValues directly in your code. Instead, use the 1204s # * g_value_get_*() functions 1204s # */ 1204s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1204s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1204s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1204s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1204s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1204s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1204s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1204s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1204s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1204s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1204s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1204s # #endif /* !G_ENABLE_DEBUG */ 1204s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1204s # tmpdir: /tmp/tmps7irdyif 1204s # genmarshal: /usr/bin/glib-genmarshal 1204s # /tmp/tmps7irdyif/tmp6dvzdo78.list: VOID:BOOLEAN,INT64 1204s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmps7irdyif/tmp6dvzdo78.list', '--header', '--quiet'] 1204s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # 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. */ 1204s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1204s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1204s # 1204s # #include 1204s # 1204s # G_BEGIN_DECLS 1204s # 1204s # /* VOID:BOOLEAN,INT64 (/tmp/tmps7irdyif/tmp6dvzdo78.list:1) */ 1204s # extern 1204s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1204s # GValue *return_value, 1204s # guint n_param_values, 1204s # const GValue *param_values, 1204s # gpointer invocation_hint, 1204s # gpointer marshal_data); 1204s # 1204s # 1204s # G_END_DECLS 1204s # 1204s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1204s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmps7irdyif/tmp6dvzdo78.list', '--body', '--quiet'] 1204s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # 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. */ 1204s # #include 1204s # 1204s # #ifdef G_ENABLE_DEBUG 1204s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1204s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1204s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1204s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1204s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1204s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1204s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1204s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1204s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1204s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1204s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1204s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1204s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1204s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1204s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1204s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1204s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1204s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1204s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1204s # #else /* !G_ENABLE_DEBUG */ 1204s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1204s # * Do not access GValues directly in your code. Instead, use the 1204s # * g_value_get_*() functions 1204s # */ 1204s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1204s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1204s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1204s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1204s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1204s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1204s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1204s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1204s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1204s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1204s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1204s # #endif /* !G_ENABLE_DEBUG */ 1204s # 1204s # /* VOID:BOOLEAN,INT64 (/tmp/tmps7irdyif/tmp6dvzdo78.list:1) */ 1204s # void 1204s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1204s # GValue *return_value G_GNUC_UNUSED, 1204s # guint n_param_values, 1204s # const GValue *param_values, 1204s # gpointer invocation_hint G_GNUC_UNUSED, 1204s # gpointer marshal_data) 1204s # { 1204s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1204s # gboolean arg1, 1204s # gint64 arg2, 1204s # gpointer data2); 1204s # GCClosure *cc = (GCClosure *) closure; 1204s # gpointer data1, data2; 1204s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1204s # 1204s # g_return_if_fail (n_param_values == 3); 1204s # 1204s # if (G_CCLOSURE_SWAP_DATA (closure)) 1204s # { 1204s # data1 = closure->data; 1204s # data2 = g_value_peek_pointer (param_values + 0); 1204s # } 1204s # else 1204s # { 1204s # data1 = g_value_peek_pointer (param_values + 0); 1204s # data2 = closure->data; 1204s # } 1204s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1204s # 1204s # callback (data1, 1204s # g_marshal_value_peek_boolean (param_values + 1), 1204s # g_marshal_value_peek_int64 (param_values + 2), 1204s # data2); 1204s # } 1204s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1204s # tmpdir: /tmp/tmpb223h371 1204s # genmarshal: /usr/bin/glib-genmarshal 1204s # /tmp/tmpb223h371/tmp8_cqh5yc.list: VOID:PARAM 1204s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpb223h371/tmp8_cqh5yc.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1204s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # 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. */ 1204s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1204s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1204s # 1204s # G_BEGIN_DECLS 1204s # 1204s # /* VOID:PARAM (/tmp/tmpb223h371/tmp8_cqh5yc.list:1) */ 1204s # extern 1204s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1204s # GValue *return_value, 1204s # guint n_param_values, 1204s # const GValue *param_values, 1204s # gpointer invocation_hint, 1204s # gpointer marshal_data); 1204s # extern 1204s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1204s # GValue *return_value, 1204s # gpointer instance, 1204s # va_list args, 1204s # gpointer marshal_data, 1204s # int n_params, 1204s # GType *param_types); 1204s # 1204s # 1204s # G_END_DECLS 1204s # 1204s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1204s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpb223h371/tmp8_cqh5yc.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1204s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # 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. */ 1204s # #ifdef G_ENABLE_DEBUG 1204s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1204s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1204s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1204s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1204s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1204s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1204s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1204s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1204s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1204s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1204s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1204s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1204s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1204s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1204s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1204s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1204s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1204s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1204s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1204s # #else /* !G_ENABLE_DEBUG */ 1204s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1204s # * Do not access GValues directly in your code. Instead, use the 1204s # * g_value_get_*() functions 1204s # */ 1204s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1204s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1204s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1204s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1204s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1204s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1204s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1204s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1204s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1204s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1204s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1204s # #endif /* !G_ENABLE_DEBUG */ 1204s # 1204s # /* VOID:PARAM (/tmp/tmpb223h371/tmp8_cqh5yc.list:1) */ 1204s # void 1204s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1204s # GValue *return_value G_GNUC_UNUSED, 1204s # guint n_param_values, 1204s # const GValue *param_values, 1204s # gpointer invocation_hint G_GNUC_UNUSED, 1204s # gpointer marshal_data) 1204s # { 1204s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1204s # gpointer arg1, 1204s # gpointer data2); 1204s # GCClosure *cc = (GCClosure *) closure; 1204s # gpointer data1, data2; 1204s # GMarshalFunc_VOID__PARAM callback; 1204s # 1204s # g_return_if_fail (n_param_values == 2); 1204s # 1204s # if (G_CCLOSURE_SWAP_DATA (closure)) 1204s # { 1204s # data1 = closure->data; 1204s # data2 = g_value_peek_pointer (param_values + 0); 1204s # } 1204s # else 1204s # { 1204s # data1 = g_value_peek_pointer (param_values + 0); 1204s # data2 = closure->data; 1204s # } 1204s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1204s # 1204s # callback (data1, 1204s # g_marshal_value_peek_param (param_values + 1), 1204s # data2); 1204s # } 1204s # 1204s # void 1204s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1204s # GValue *return_value G_GNUC_UNUSED, 1204s # gpointer instance, 1204s # va_list args, 1204s # gpointer marshal_data, 1204s # int n_params, 1204s # GType *param_types) 1204s # { 1204s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1204s # gpointer arg1, 1204s # gpointer data2); 1204s # GCClosure *cc = (GCClosure *) closure; 1204s # gpointer data1, data2; 1204s # GMarshalFunc_VOID__PARAM callback; 1204s # gpointer arg0; 1204s # va_list args_copy; 1204s # 1204s # va_copy (args_copy, args); 1204s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1204s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1204s # arg0 = g_param_spec_ref (arg0); 1204s # va_end (args_copy); 1204s # 1204s # 1204s # if (G_CCLOSURE_SWAP_DATA (closure)) 1204s # { 1204s # data1 = closure->data; 1204s # data2 = instance; 1204s # } 1204s # else 1204s # { 1204s # data1 = instance; 1204s # data2 = closure->data; 1204s # } 1204s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1204s # 1204s # callback (data1, 1204s # arg0, 1204s # data2); 1204s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1204s # g_param_spec_unref (arg0); 1204s # } 1204s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1204s # tmpdir: /tmp/tmp1wzjbm6t 1204s # genmarshal: /usr/bin/glib-genmarshal 1204s # /tmp/tmp1wzjbm6t/tmp2uqa5nop.list: VOID:STRING 1204s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1wzjbm6t/tmp2uqa5nop.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1204s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # 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. */ 1204s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1204s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1204s # 1204s # G_BEGIN_DECLS 1204s # 1204s # /* VOID:STRING (/tmp/tmp1wzjbm6t/tmp2uqa5nop.list:1) */ 1204s # extern 1204s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1204s # GValue *return_value, 1204s # guint n_param_values, 1204s # const GValue *param_values, 1204s # gpointer invocation_hint, 1204s # gpointer marshal_data); 1204s # extern 1204s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1204s # GValue *return_value, 1204s # gpointer instance, 1204s # va_list args, 1204s # gpointer marshal_data, 1204s # int n_params, 1204s # GType *param_types); 1204s # 1204s # 1204s # G_END_DECLS 1204s # 1204s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1204s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1wzjbm6t/tmp2uqa5nop.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1204s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # 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. */ 1204s # #ifdef G_ENABLE_DEBUG 1204s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1204s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1204s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1204s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1204s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1204s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1204s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1204s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1204s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1204s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1204s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1204s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1204s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1204s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1204s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1204s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1204s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1204s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1204s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1204s # #else /* !G_ENABLE_DEBUG */ 1204s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1204s # * Do not access GValues directly in your code. Instead, use the 1204s # * g_value_get_*() functions 1204s # */ 1204s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1204s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1204s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1204s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1204s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1204s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1204s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1204s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1204s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1204s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1204s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1204s # #endif /* !G_ENABLE_DEBUG */ 1204s # 1204s # /* VOID:STRING (/tmp/tmp1wzjbm6t/tmp2uqa5nop.list:1) */ 1204s # void 1204s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1204s # GValue *return_value G_GNUC_UNUSED, 1204s # guint n_param_values, 1204s # const GValue *param_values, 1204s # gpointer invocation_hint G_GNUC_UNUSED, 1204s # gpointer marshal_data) 1204s # { 1204s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1204s # gpointer arg1, 1204s # gpointer data2); 1204s # GCClosure *cc = (GCClosure *) closure; 1204s # gpointer data1, data2; 1204s # GMarshalFunc_VOID__STRING callback; 1204s # 1204s # g_return_if_fail (n_param_values == 2); 1204s # 1204s # if (G_CCLOSURE_SWAP_DATA (closure)) 1204s # { 1204s # data1 = closure->data; 1204s # data2 = g_value_peek_pointer (param_values + 0); 1204s # } 1204s # else 1204s # { 1204s # data1 = g_value_peek_pointer (param_values + 0); 1204s # data2 = closure->data; 1204s # } 1204s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1204s # 1204s # callback (data1, 1204s # g_marshal_value_peek_string (param_values + 1), 1204s # data2); 1204s # } 1204s # 1204s # void 1204s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1204s # GValue *return_value G_GNUC_UNUSED, 1204s # gpointer instance, 1204s # va_list args, 1204s # gpointer marshal_data, 1204s # int n_params, 1204s # GType *param_types) 1204s # { 1204s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1204s # gpointer arg1, 1204s # gpointer data2); 1204s # GCClosure *cc = (GCClosure *) closure; 1204s # gpointer data1, data2; 1204s # GMarshalFunc_VOID__STRING callback; 1204s # gpointer arg0; 1204s # va_list args_copy; 1204s # 1204s # va_copy (args_copy, args); 1204s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1204s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1204s # arg0 = g_strdup (arg0); 1204s # va_end (args_copy); 1204s # 1204s # 1204s # if (G_CCLOSURE_SWAP_DATA (closure)) 1204s # { 1204s # data1 = closure->data; 1204s # data2 = instance; 1204s # } 1204s # else 1204s # { 1204s # data1 = instance; 1204s # data2 = closure->data; 1204s # } 1204s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1204s # 1204s # callback (data1, 1204s # arg0, 1204s # data2); 1204s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1204s # g_free (arg0); 1204s # } 1204s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1204s # tmpdir: /tmp/tmp_4fwgg5h 1204s # genmarshal: /usr/bin/glib-genmarshal 1204s # /tmp/tmp_4fwgg5h/tmpzp3xmhd6.list: VOID:VARIANT 1204s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_4fwgg5h/tmpzp3xmhd6.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1204s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # 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. */ 1204s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1204s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1204s # 1204s # G_BEGIN_DECLS 1204s # 1204s # /* VOID:VARIANT (/tmp/tmp_4fwgg5h/tmpzp3xmhd6.list:1) */ 1204s # extern 1204s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1204s # GValue *return_value, 1204s # guint n_param_values, 1204s # const GValue *param_values, 1204s # gpointer invocation_hint, 1204s # gpointer marshal_data); 1204s # extern 1204s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1204s # GValue *return_value, 1204s # gpointer instance, 1204s # va_list args, 1204s # gpointer marshal_data, 1204s # int n_params, 1204s # GType *param_types); 1204s # 1204s # 1204s # G_END_DECLS 1204s # 1204s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1204s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_4fwgg5h/tmpzp3xmhd6.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1204s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1204s # 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. */ 1204s # #ifdef G_ENABLE_DEBUG 1204s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1204s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1204s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1204s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1204s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1204s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1204s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1204s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1204s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1204s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1204s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1204s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1204s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1204s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1204s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1204s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1204s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1204s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1204s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1204s # #else /* !G_ENABLE_DEBUG */ 1204s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1204s # * Do not access GValues directly in your code. Instead, use the 1204s # * g_value_get_*() functions 1204s # */ 1204s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1204s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1204s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1204s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1204s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1204s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1204s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1204s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1204s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1204s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1204s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1204s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1204s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1204s # #endif /* !G_ENABLE_DEBUG */ 1204s # 1204s # /* VOID:VARIANT (/tmp/tmp_4fwgg5h/tmpzp3xmhd6.list:1) */ 1204s # void 1204s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1204s # GValue *return_value G_GNUC_UNUSED, 1204s # guint n_param_values, 1204s # const GValue *param_values, 1204s # gpointer invocation_hint G_GNUC_UNUSED, 1204s # gpointer marshal_data) 1204s # { 1204s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1204s # gpointer arg1, 1204s # gpointer data2); 1204s # GCClosure *cc = (GCClosure *) closure; 1204s # gpointer data1, data2; 1204s # GMarshalFunc_VOID__VARIANT callback; 1204s # 1204s # g_return_if_fail (n_param_values == 2); 1204s # 1204s # if (G_CCLOSURE_SWAP_DATA (closure)) 1204s # { 1204s # data1 = closure->data; 1204s # data2 = g_value_peek_pointer (param_values + 0); 1204s # } 1204s # else 1204s # { 1204s # data1 = g_value_peek_pointer (param_values + 0); 1204s # data2 = closure->data; 1204s # } 1204s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1204s # 1204s # callback (data1, 1204s # g_marshal_value_peek_variant (param_values + 1), 1204s # data2); 1204s # } 1204s # 1204s # void 1204s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1204s # GValue *return_value G_GNUC_UNUSED, 1204s # gpointer instance, 1204s # va_list args, 1204s # gpointer marshal_data, 1204s # int n_params, 1204s # GType *param_types) 1204s # { 1204s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1204s # gpointer arg1, 1204s # gpointer data2); 1204s # GCClosure *cc = (GCClosure *) closure; 1204s # gpointer data1, data2; 1204s # GMarshalFunc_VOID__VARIANT callback; 1204s # gpointer arg0; 1204s # va_list args_copy; 1204s # 1204s # va_copy (args_copy, args); 1204s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1204s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1204s # arg0 = g_variant_ref_sink (arg0); 1204s # va_end (args_copy); 1204s # 1204s # 1204s # if (G_CCLOSURE_SWAP_DATA (closure)) 1204s # { 1204s # data1 = closure->data; 1204s # data2 = instance; 1204s # } 1204s # else 1204s # { 1204s # data1 = instance; 1204s # data2 = closure->data; 1204s # } 1204s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1204s # 1204s # callback (data1, 1204s # arg0, 1204s # data2); 1204s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1204s # g_variant_unref (arg0); 1204s # } 1204s 1..8 1204s ok - glib/genmarshal.py.test 1204s # Running test: glib/fdo-notification-backend.test 1204s TAP version 13 1204s # random seed: R02S9b516de924c091d22f837aa3ba83bc19 1204s 1..2 1204s # Start of fdo-notification-backend tests 1204s # Test constructing a GFdoNotificationBackend 1204s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s ok 1 /fdo-notification-backend/construction 1204s # Start of dbus tests 1204s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s ok 2 /fdo-notification-backend/dbus/activate-action 1204s # End of dbus tests 1204s # End of fdo-notification-backend tests 1204s ok - glib/fdo-notification-backend.test 1204s # Running test: glib/io-channel-basic.test 1204s TAP version 13 1204s # random seed: R02S4ad923a1a4a2ccf054afb86ca5b9c19c 1204s 1..1 1204s # Start of gio tests 1204s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1204s # # random seed: R02S1250e80a276cdb8b7acaa6e534d726a0 1204s # # GLib-DEBUG: io-channel-basic: child writing 8+4619 bytes to 6 1204s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1204s # GLib-DEBUG: io-channel-basic: ...from 5: 4619 bytes 1204s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1205s # # GLib-DEBUG: io-channel-basic: child writing 8+88 bytes to 6 1205s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1205s # GLib-DEBUG: io-channel-basic: ...from 5: 88 bytes 1205s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1205s # # GLib-DEBUG: io-channel-basic: child writing 8+2577 bytes to 6 1205s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1205s # GLib-DEBUG: io-channel-basic: ...from 5: 2577 bytes 1205s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1205s # Executing: glib/io-channel-basic.test 1205s # # GLib-DEBUG: io-channel-basic: child writing 8+2033 bytes to 6 1205s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1205s # GLib-DEBUG: io-channel-basic: ...from 5: 2033 bytes 1205s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1206s # # GLib-DEBUG: io-channel-basic: child writing 8+4947 bytes to 6 1206s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1206s # GLib-DEBUG: io-channel-basic: ...from 5: 4947 bytes 1206s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1206s # # GLib-DEBUG: io-channel-basic: child writing 8+3597 bytes to 6 1206s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1206s # GLib-DEBUG: io-channel-basic: ...from 5: 3597 bytes 1206s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1206s # # GLib-DEBUG: io-channel-basic: child writing 8+3248 bytes to 6 1206s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1206s # GLib-DEBUG: io-channel-basic: ...from 5: 3248 bytes 1206s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1206s # # GLib-DEBUG: io-channel-basic: child writing 8+3902 bytes to 6 1206s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1206s # GLib-DEBUG: io-channel-basic: ...from 5: 3902 bytes 1206s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1207s # # GLib-DEBUG: io-channel-basic: child writing 8+4626 bytes to 6 1207s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1207s # GLib-DEBUG: io-channel-basic: ...from 5: 4626 bytes 1207s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1207s # # GLib-DEBUG: io-channel-basic: child writing 8+1220 bytes to 6 1207s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1207s # GLib-DEBUG: io-channel-basic: ...from 5: 1220 bytes 1207s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1207s # # GLib-DEBUG: io-channel-basic: child writing 8+4289 bytes to 6 1207s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1207s # GLib-DEBUG: io-channel-basic: ...from 5: 4289 bytes 1207s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1207s # # GLib-DEBUG: io-channel-basic: child writing 8+1503 bytes to 6 1207s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1207s # GLib-DEBUG: io-channel-basic: ...from 5: 1503 bytes 1207s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1208s # # GLib-DEBUG: io-channel-basic: child writing 8+1505 bytes to 6 1208s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1208s # GLib-DEBUG: io-channel-basic: ...from 5: 1505 bytes 1208s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1208s # # GLib-DEBUG: io-channel-basic: child writing 8+3766 bytes to 6 1208s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1208s # GLib-DEBUG: io-channel-basic: ...from 5: 3766 bytes 1208s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1208s # # GLib-DEBUG: io-channel-basic: child writing 8+1793 bytes to 6 1208s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1208s # GLib-DEBUG: io-channel-basic: ...from 5: 1793 bytes 1208s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1208s # # GLib-DEBUG: io-channel-basic: child writing 8+3388 bytes to 6 1208s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1208s # GLib-DEBUG: io-channel-basic: ...from 5: 3388 bytes 1208s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1209s # # GLib-DEBUG: io-channel-basic: child writing 8+713 bytes to 6 1209s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1209s # GLib-DEBUG: io-channel-basic: ...from 5: 713 bytes 1209s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1209s # # GLib-DEBUG: io-channel-basic: child writing 8+248 bytes to 6 1209s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1209s # GLib-DEBUG: io-channel-basic: ...from 5: 248 bytes 1209s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1209s # # GLib-DEBUG: io-channel-basic: child writing 8+1353 bytes to 6 1209s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1209s # GLib-DEBUG: io-channel-basic: ...from 5: 1353 bytes 1209s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1209s # # GLib-DEBUG: io-channel-basic: child writing 8+1798 bytes to 6 1209s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1209s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1209s # GLib-DEBUG: io-channel-basic: ...from 5: 1798 bytes 1209s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1209s # GLib-DEBUG: io-channel-basic: ...from 5: HUP 1209s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1209s # # random seed: R02S1d35ee8072aa8dca1b51d09298c93d2b 1209s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1209s # # random seed: R02Sd2218b3e7eda820a5590d31eee371d14 1209s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1209s # # random seed: R02Se51d2440a54ef418133a7da098a6d3ec 1209s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1209s # # random seed: R02Sad2a1ae2ee72195c64d43d6620ccc6b3 1209s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1209s # # random seed: R02S146c5a65c1821cde09c7edafcae18799 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+3652 bytes to 13 1210s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 12: 3652 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+3438 bytes to 9 1210s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 8: 3438 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+1163 bytes to 15 1210s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 14: 1163 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+4470 bytes to 11 1210s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 10: 4470 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+895 bytes to 17 1210s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 16: 895 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+4997 bytes to 13 1210s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 12: 4997 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+600 bytes to 11 1210s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 10: 600 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+1287 bytes to 9 1210s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 8: 1287 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+777 bytes to 15 1210s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 14: 777 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+3613 bytes to 17 1210s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 16: 3613 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1210s # Executing: glib/io-channel-basic.test 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+2261 bytes to 13 1210s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 12: 2261 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+3120 bytes to 9 1210s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 8: 3120 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+338 bytes to 15 1210s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 14: 338 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+4127 bytes to 11 1210s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 10: 4127 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1210s # # GLib-DEBUG: io-channel-basic: child writing 8+267 bytes to 17 1210s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1210s # GLib-DEBUG: io-channel-basic: ...from 16: 267 bytes 1210s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+2212 bytes to 9 1211s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 8: 2212 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+2484 bytes to 11 1211s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 10: 2484 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+4730 bytes to 13 1211s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 12: 4730 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+1495 bytes to 15 1211s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 14: 1495 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+4734 bytes to 17 1211s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 16: 4734 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+1617 bytes to 9 1211s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 8: 1617 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+3279 bytes to 11 1211s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 10: 3279 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+991 bytes to 13 1211s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 12: 991 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+1924 bytes to 15 1211s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 14: 1924 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+575 bytes to 17 1211s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 16: 575 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+4468 bytes to 9 1211s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 8: 4468 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+1121 bytes to 11 1211s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 10: 1121 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+2344 bytes to 13 1211s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 12: 2344 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+204 bytes to 15 1211s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 14: 204 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+4082 bytes to 17 1211s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 16: 4082 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+3599 bytes to 11 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+55 bytes to 9 1211s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 8: 55 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1211s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 10: 3599 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+133 bytes to 15 1211s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 14: 133 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+930 bytes to 13 1211s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 12: 930 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1211s # # GLib-DEBUG: io-channel-basic: child writing 8+1302 bytes to 17 1211s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1211s # GLib-DEBUG: io-channel-basic: ...from 16: 1302 bytes 1211s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+3812 bytes to 9 1212s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 8: 3812 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+3492 bytes to 11 1212s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 10: 3492 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+3907 bytes to 15 1212s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 14: 3907 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+185 bytes to 13 1212s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 12: 185 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+3656 bytes to 17 1212s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 16: 3656 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+2614 bytes to 11 1212s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 10: 2614 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+4863 bytes to 9 1212s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 8: 4863 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+2955 bytes to 15 1212s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 14: 2955 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+3401 bytes to 13 1212s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 12: 3401 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+1581 bytes to 17 1212s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 16: 1581 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+305 bytes to 13 1212s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 12: 305 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+2622 bytes to 9 1212s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 8: 2622 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+514 bytes to 15 1212s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 14: 514 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+839 bytes to 11 1212s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 10: 839 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+4103 bytes to 17 1212s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 16: 4103 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+791 bytes to 9 1212s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 8: 791 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+59 bytes to 13 1212s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 12: 59 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+4694 bytes to 15 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+4587 bytes to 11 1212s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 10: 4587 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1212s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 14: 4694 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1212s # # GLib-DEBUG: io-channel-basic: child writing 8+2881 bytes to 17 1212s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 16: 2881 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+2758 bytes to 13 1213s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 12: 2758 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+3386 bytes to 9 1213s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 8: 3386 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+580 bytes to 11 1213s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 10: 580 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+470 bytes to 15 1213s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 14: 470 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+439 bytes to 17 1213s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 16: 439 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+2733 bytes to 13 1213s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 12: 2733 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+2963 bytes to 9 1213s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 8: 2963 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+2210 bytes to 11 1213s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 10: 2210 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+4807 bytes to 15 1213s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 14: 4807 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+188 bytes to 17 1213s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 16: 188 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+759 bytes to 13 1213s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 12: 759 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+4067 bytes to 9 1213s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 8: 4067 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+3842 bytes to 11 1213s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 10: 3842 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+2506 bytes to 15 1213s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 14: 2506 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+3737 bytes to 17 1213s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 16: 3737 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+3033 bytes to 13 1213s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 12: 3033 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+2602 bytes to 9 1213s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 8: 2602 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+1982 bytes to 15 1213s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 14: 1982 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+4736 bytes to 11 1213s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 10: 4736 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1213s # # GLib-DEBUG: io-channel-basic: child writing 8+312 bytes to 17 1213s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 16: 312 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+1159 bytes to 13 1214s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 12: 1159 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+4057 bytes to 9 1214s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 8: 4057 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+1441 bytes to 15 1214s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 14: 1441 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+194 bytes to 11 1214s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 10: 194 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+620 bytes to 17 1214s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 16: 620 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+3968 bytes to 13 1214s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 12: 3968 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+1674 bytes to 9 1214s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 8: 1674 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+2619 bytes to 11 1214s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 10: 2619 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+1161 bytes to 15 1214s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 14: 1161 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+373 bytes to 17 1214s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 16: 373 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+4498 bytes to 13 1214s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 12: 4498 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+1089 bytes to 9 1214s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 8: 1089 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+1447 bytes to 11 1214s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 10: 1447 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+278 bytes to 15 1214s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 14: 278 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+3240 bytes to 17 1214s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 16: 3240 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+3760 bytes to 13 1214s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 12: 3760 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+3227 bytes to 9 1214s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 8: 3227 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+4172 bytes to 15 1214s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 14: 4172 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1214s # # GLib-DEBUG: io-channel-basic: child writing 8+2003 bytes to 11 1214s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 10: 2003 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+2365 bytes to 17 1215s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 16: 2365 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+3651 bytes to 13 1215s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 12: 3651 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+4462 bytes to 9 1215s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 8: 4462 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+3859 bytes to 15 1215s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 14: 3859 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+942 bytes to 11 1215s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 10: 942 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+4723 bytes to 17 1215s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 16: 4723 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+2996 bytes to 13 1215s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 12: 2996 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+1224 bytes to 9 1215s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1215s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1215s # GLib-DEBUG: io-channel-basic: ...from 8: 1224 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1215s # GLib-DEBUG: io-channel-basic: ...from 8: HUP 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+1820 bytes to 11 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+3297 bytes to 15 1215s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 14: 3297 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1215s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1215s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1215s # GLib-DEBUG: io-channel-basic: ...from 10: 1820 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1215s # Executing: glib/io-channel-basic.test 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+1191 bytes to 17 1215s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 16: 1191 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+987 bytes to 13 1215s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 12: 987 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+1726 bytes to 15 1215s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 14: 1726 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+459 bytes to 17 1215s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 16: 459 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1215s # # GLib-DEBUG: io-channel-basic: child writing 8+4010 bytes to 13 1215s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 12: 4010 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1216s # # GLib-DEBUG: io-channel-basic: child writing 8+4494 bytes to 15 1216s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1216s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1216s # GLib-DEBUG: io-channel-basic: ...from 14: 4494 bytes 1216s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1216s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 1216s # # GLib-DEBUG: io-channel-basic: child writing 8+1277 bytes to 17 1216s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1216s # GLib-DEBUG: io-channel-basic: ...from 16: 1277 bytes 1216s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1216s # # GLib-DEBUG: io-channel-basic: child writing 8+3617 bytes to 13 1216s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1216s # GLib-DEBUG: io-channel-basic: ...from 12: 3617 bytes 1216s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1216s # # GLib-DEBUG: io-channel-basic: child writing 8+3907 bytes to 17 1216s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1216s # GLib-DEBUG: io-channel-basic: ...from 16: 3907 bytes 1216s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1216s # # GLib-DEBUG: io-channel-basic: child writing 8+2241 bytes to 13 1216s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1216s # GLib-DEBUG: io-channel-basic: ...from 12: 2241 bytes 1216s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1216s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1216s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 1216s # # GLib-DEBUG: io-channel-basic: child writing 8+3469 bytes to 17 1216s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1216s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1216s # GLib-DEBUG: io-channel-basic: ...from 16: 3469 bytes 1216s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1216s # GLib-DEBUG: io-channel-basic: ...from 16: HUP 1216s ok 1 /gio/io-basics 1216s # slow test /gio/io-basics executed in 11.86 secs 1216s # End of gio tests 1216s ok - glib/io-channel-basic.test 1216s # Running test: glib/application-command-line.test 1216s TAP version 13 1216s # random seed: R02Sbf862e4e0dbb8022980341408614122d 1216s 1..1 1216s # Start of application-command-line tests 1216s ok 1 /application-command-line/basic-properties 1216s # End of application-command-line tests 1216s ok - glib/application-command-line.test 1216s # Running test: glib/utf8-validate.test 1216s TAP version 13 1216s # random seed: R02S734dffa647f6ed2f3f92ed1315b99153 1216s 1..216 1216s # Start of utf8 tests 1216s # Vector 0 1216s # Vector 1 1216s # Vector 2 1216s # Vector 3 1216s # Vector 4 1216s # Vector 5 1216s # Vector 6 1216s # Vector 7 1216s # Vector 8 1216s # Vector 9 1216s # Vector 10 1216s # Vector 11 1216s # Vector 12 1216s # Vector 13 1216s # Vector 14 1216s # Vector 15 1216s # Vector 16 1216s # Vector 17 1216s # Vector 18 1216s # Vector 19 1216s # Vector 20 1216s # Vector 21 1216s # Vector 22 1216s # Vector 23 1216s # Vector 24 1216s # Vector 25 1216s # Vector 26 1216s # Vector 27 1216s ok 1 /utf8/get-char-validated 1216s # Start of validate tests 1216s ok 2 /utf8/validate/0 1216s ok 3 /utf8/validate/1 1216s ok 4 /utf8/validate/2 1216s ok 5 /utf8/validate/3 1216s ok 6 /utf8/validate/4 1216s ok 7 /utf8/validate/5 1216s ok 8 /utf8/validate/6 1216s ok 9 /utf8/validate/7 1216s ok 10 /utf8/validate/8 1216s ok 11 /utf8/validate/9 1216s ok 12 /utf8/validate/10 1216s ok 13 /utf8/validate/11 1216s ok 14 /utf8/validate/12 1216s ok 15 /utf8/validate/13 1216s ok 16 /utf8/validate/14 1216s ok 17 /utf8/validate/15 1216s ok 18 /utf8/validate/16 1216s ok 19 /utf8/validate/17 1216s ok 20 /utf8/validate/18 1216s ok 21 /utf8/validate/19 1216s ok 22 /utf8/validate/20 1216s ok 23 /utf8/validate/21 1216s ok 24 /utf8/validate/22 1216s ok 25 /utf8/validate/23 1216s ok 26 /utf8/validate/24 1216s ok 27 /utf8/validate/25 1216s ok 28 /utf8/validate/26 1216s ok 29 /utf8/validate/27 1216s ok 30 /utf8/validate/28 1216s ok 31 /utf8/validate/29 1216s ok 32 /utf8/validate/30 1216s ok 33 /utf8/validate/31 1216s ok 34 /utf8/validate/32 1216s ok 35 /utf8/validate/33 1216s ok 36 /utf8/validate/34 1216s ok 37 /utf8/validate/35 1216s ok 38 /utf8/validate/36 1216s ok 39 /utf8/validate/37 1216s ok 40 /utf8/validate/38 1216s ok 41 /utf8/validate/39 1216s ok 42 /utf8/validate/40 1216s ok 43 /utf8/validate/41 1216s ok 44 /utf8/validate/42 1216s ok 45 /utf8/validate/43 1216s ok 46 /utf8/validate/44 1216s ok 47 /utf8/validate/45 1216s ok 48 /utf8/validate/46 1216s ok 49 /utf8/validate/47 1216s ok 50 /utf8/validate/48 1216s ok 51 /utf8/validate/49 1216s ok 52 /utf8/validate/50 1216s ok 53 /utf8/validate/51 1216s ok 54 /utf8/validate/52 1216s ok 55 /utf8/validate/53 1216s ok 56 /utf8/validate/54 1216s ok 57 /utf8/validate/55 1216s ok 58 /utf8/validate/56 1216s ok 59 /utf8/validate/57 1216s ok 60 /utf8/validate/58 1216s ok 61 /utf8/validate/59 1216s ok 62 /utf8/validate/60 1216s ok 63 /utf8/validate/61 1216s ok 64 /utf8/validate/62 1216s ok 65 /utf8/validate/63 1216s ok 66 /utf8/validate/64 1216s ok 67 /utf8/validate/65 1216s ok 68 /utf8/validate/66 1216s ok 69 /utf8/validate/67 1216s ok 70 /utf8/validate/68 1216s ok 71 /utf8/validate/69 1216s ok 72 /utf8/validate/70 1216s ok 73 /utf8/validate/71 1216s ok 74 /utf8/validate/72 1216s ok 75 /utf8/validate/73 1216s ok 76 /utf8/validate/74 1216s ok 77 /utf8/validate/75 1216s ok 78 /utf8/validate/76 1216s ok 79 /utf8/validate/77 1216s ok 80 /utf8/validate/78 1216s ok 81 /utf8/validate/79 1216s ok 82 /utf8/validate/80 1216s ok 83 /utf8/validate/81 1216s ok 84 /utf8/validate/82 1216s ok 85 /utf8/validate/83 1216s ok 86 /utf8/validate/84 1216s ok 87 /utf8/validate/85 1216s ok 88 /utf8/validate/86 1216s ok 89 /utf8/validate/87 1216s ok 90 /utf8/validate/88 1216s ok 91 /utf8/validate/89 1216s ok 92 /utf8/validate/90 1216s ok 93 /utf8/validate/91 1216s ok 94 /utf8/validate/92 1216s ok 95 /utf8/validate/93 1216s ok 96 /utf8/validate/94 1216s ok 97 /utf8/validate/95 1216s ok 98 /utf8/validate/96 1216s ok 99 /utf8/validate/97 1216s ok 100 /utf8/validate/98 1216s ok 101 /utf8/validate/99 1216s ok 102 /utf8/validate/100 1216s ok 103 /utf8/validate/101 1216s ok 104 /utf8/validate/102 1216s ok 105 /utf8/validate/103 1216s ok 106 /utf8/validate/104 1216s ok 107 /utf8/validate/105 1216s ok 108 /utf8/validate/106 1216s ok 109 /utf8/validate/107 1216s ok 110 /utf8/validate/108 1216s ok 111 /utf8/validate/109 1216s ok 112 /utf8/validate/110 1216s ok 113 /utf8/validate/111 1216s ok 114 /utf8/validate/112 1216s ok 115 /utf8/validate/113 1216s ok 116 /utf8/validate/114 1216s ok 117 /utf8/validate/115 1216s ok 118 /utf8/validate/116 1216s ok 119 /utf8/validate/117 1216s ok 120 /utf8/validate/118 1216s ok 121 /utf8/validate/119 1216s ok 122 /utf8/validate/120 1216s ok 123 /utf8/validate/121 1216s ok 124 /utf8/validate/122 1216s ok 125 /utf8/validate/123 1216s ok 126 /utf8/validate/124 1216s ok 127 /utf8/validate/125 1216s ok 128 /utf8/validate/126 1216s ok 129 /utf8/validate/127 1216s ok 130 /utf8/validate/128 1216s ok 131 /utf8/validate/129 1216s ok 132 /utf8/validate/130 1216s ok 133 /utf8/validate/131 1216s ok 134 /utf8/validate/132 1216s ok 135 /utf8/validate/133 1216s ok 136 /utf8/validate/134 1216s ok 137 /utf8/validate/135 1216s ok 138 /utf8/validate/136 1216s ok 139 /utf8/validate/137 1216s ok 140 /utf8/validate/138 1216s ok 141 /utf8/validate/139 1216s ok 142 /utf8/validate/140 1216s ok 143 /utf8/validate/141 1216s ok 144 /utf8/validate/142 1216s ok 145 /utf8/validate/143 1216s ok 146 /utf8/validate/144 1216s ok 147 /utf8/validate/145 1216s ok 148 /utf8/validate/146 1216s ok 149 /utf8/validate/147 1216s ok 150 /utf8/validate/148 1216s ok 151 /utf8/validate/149 1216s ok 152 /utf8/validate/150 1216s ok 153 /utf8/validate/151 1216s ok 154 /utf8/validate/152 1216s ok 155 /utf8/validate/153 1216s ok 156 /utf8/validate/154 1216s ok 157 /utf8/validate/155 1216s ok 158 /utf8/validate/156 1216s ok 159 /utf8/validate/157 1216s ok 160 /utf8/validate/158 1216s ok 161 /utf8/validate/159 1216s ok 162 /utf8/validate/160 1216s ok 163 /utf8/validate/161 1216s ok 164 /utf8/validate/162 1216s ok 165 /utf8/validate/163 1216s ok 166 /utf8/validate/164 1216s ok 167 /utf8/validate/165 1216s ok 168 /utf8/validate/166 1216s ok 169 /utf8/validate/167 1216s ok 170 /utf8/validate/168 1216s ok 171 /utf8/validate/169 1216s ok 172 /utf8/validate/170 1216s ok 173 /utf8/validate/171 1216s ok 174 /utf8/validate/172 1216s ok 175 /utf8/validate/173 1216s ok 176 /utf8/validate/174 1216s ok 177 /utf8/validate/175 1216s ok 178 /utf8/validate/176 1216s ok 179 /utf8/validate/177 1216s ok 180 /utf8/validate/178 1216s ok 181 /utf8/validate/179 1216s ok 182 /utf8/validate/180 1216s ok 183 /utf8/validate/181 1216s ok 184 /utf8/validate/182 1216s ok 185 /utf8/validate/183 1216s ok 186 /utf8/validate/184 1216s ok 187 /utf8/validate/185 1216s ok 188 /utf8/validate/186 1216s ok 189 /utf8/validate/187 1216s ok 190 /utf8/validate/188 1216s ok 191 /utf8/validate/189 1216s ok 192 /utf8/validate/190 1216s ok 193 /utf8/validate/191 1216s ok 194 /utf8/validate/192 1216s ok 195 /utf8/validate/193 1216s ok 196 /utf8/validate/194 1216s ok 197 /utf8/validate/195 1216s ok 198 /utf8/validate/196 1216s ok 199 /utf8/validate/197 1216s ok 200 /utf8/validate/198 1216s ok 201 /utf8/validate/199 1216s ok 202 /utf8/validate/200 1216s ok 203 /utf8/validate/201 1216s ok 204 /utf8/validate/202 1216s ok 205 /utf8/validate/203 1216s ok 206 /utf8/validate/204 1216s ok 207 /utf8/validate/205 1216s ok 208 /utf8/validate/206 1216s ok 209 /utf8/validate/207 1216s ok 210 /utf8/validate/208 1216s ok 211 /utf8/validate/209 1216s ok 212 /utf8/validate/210 1216s ok 213 /utf8/validate/211 1216s ok 214 /utf8/validate/212 1216s ok 215 /utf8/validate/213 1216s ok 216 /utf8/validate/214 1216s # End of validate tests 1216s # End of utf8 tests 1216s ok - glib/utf8-validate.test 1216s # Running test: glib/rec-mutex.test 1216s TAP version 13 1216s # random seed: R02S881d1ebd9915d28f6b67f13a60cc5faf 1216s 1..29 1216s # Start of thread tests 1216s ok 1 /thread/rec-mutex1 1216s ok 2 /thread/rec-mutex2 1216s ok 3 /thread/rec-mutex3 1216s ok 4 /thread/rec-mutex4 1216s # Start of rec-mutex tests 1216s # Start of perf tests 1216s # Start of uncontended tests 1216s # max perf: 1.000000 mips 1216s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1216s # max perf: 1.000000 mips 1216s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1216s # max perf: inf mips 1216s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1216s # max perf: inf mips 1216s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1216s # max perf: inf mips 1216s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1216s # End of uncontended tests 1216s # Start of contended1 tests 1216s # max perf: inf mips 1216s ok 10 /thread/rec-mutex/perf/contended1/depth1 1216s # max perf: 2.000000 mips 1216s ok 11 /thread/rec-mutex/perf/contended1/depth2 1216s # max perf: 2.000000 mips 1216s ok 12 /thread/rec-mutex/perf/contended1/depth3 1216s # max perf: 2.000000 mips 1216s ok 13 /thread/rec-mutex/perf/contended1/depth4 1216s # max perf: 2.000000 mips 1216s ok 14 /thread/rec-mutex/perf/contended1/depth5 1216s # End of contended1 tests 1216s # Start of contended2 tests 1216s # max perf: inf mips 1216s ok 15 /thread/rec-mutex/perf/contended2/depth1 1216s # max perf: 0.081081 mips 1216s ok 16 /thread/rec-mutex/perf/contended2/depth2 1216s # max perf: 3.000000 mips 1216s ok 17 /thread/rec-mutex/perf/contended2/depth3 1216s # max perf: 3.000000 mips 1216s ok 18 /thread/rec-mutex/perf/contended2/depth4 1216s # max perf: 1.500000 mips 1216s ok 19 /thread/rec-mutex/perf/contended2/depth5 1216s # End of contended2 tests 1216s # Start of contended3 tests 1216s # max perf: 4.000000 mips 1216s ok 20 /thread/rec-mutex/perf/contended3/depth1 1216s # max perf: 4.000000 mips 1216s ok 21 /thread/rec-mutex/perf/contended3/depth2 1216s # max perf: 4.000000 mips 1216s ok 22 /thread/rec-mutex/perf/contended3/depth3 1216s # max perf: 2.000000 mips 1216s ok 23 /thread/rec-mutex/perf/contended3/depth4 1216s # max perf: 2.000000 mips 1216s ok 24 /thread/rec-mutex/perf/contended3/depth5 1216s # End of contended3 tests 1216s # Start of contended4 tests 1216s # max perf: 5.000000 mips 1216s ok 25 /thread/rec-mutex/perf/contended4/depth1 1216s # max perf: 5.000000 mips 1216s ok 26 /thread/rec-mutex/perf/contended4/depth2 1216s # max perf: 2.500000 mips 1216s ok 27 /thread/rec-mutex/perf/contended4/depth3 1216s # max perf: 5.000000 mips 1216s ok 28 /thread/rec-mutex/perf/contended4/depth4 1216s # max perf: 2.500000 mips 1216s ok 29 /thread/rec-mutex/perf/contended4/depth5 1216s # End of contended4 tests 1216s # End of perf tests 1216s # End of rec-mutex tests 1216s # End of thread tests 1216s ok - glib/rec-mutex.test 1216s # Running test: glib/gdbus-proxy.test 1216s TAP version 13 1216s # random seed: R02S7474f2e7f4f4287a467e0f5ea286e32a 1216s 1..5 1216s # Start of gdbus tests 1216s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/.dirs/home 1216s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/.dirs/cache 1216s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/.dirs/system-config2 1216s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/.dirs/config 1216s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/.dirs/system-data2 1216s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/.dirs/data 1216s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/.dirs/state 1216s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/.dirs/runtime 1216s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1218s ok 1 /gdbus/proxy 1218s # slow test /gdbus/proxy executed in 1.73 secs 1218s # Start of proxy tests 1218s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-properties/.dirs/home 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-properties/.dirs/cache 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-properties/.dirs/system-config2 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-properties/.dirs/config 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-properties/.dirs/system-data2 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-properties/.dirs/data 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-properties/.dirs/state 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-properties/.dirs/runtime 1218s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1218s ok 2 /gdbus/proxy/no-properties 1218s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/wellknown-noauto/.dirs/home 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/wellknown-noauto/.dirs/cache 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/wellknown-noauto/.dirs/config 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/wellknown-noauto/.dirs/data 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/wellknown-noauto/.dirs/state 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 1218s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1218s ok 3 /gdbus/proxy/wellknown-noauto 1218s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/async/.dirs/home 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/async/.dirs/cache 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/async/.dirs/system-config2 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/async/.dirs/config 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/async/.dirs/system-data2 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/async/.dirs/data 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/async/.dirs/state 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/async/.dirs/runtime 1218s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1220s ok 4 /gdbus/proxy/async 1220s # slow test /gdbus/proxy/async executed in 1.72 secs 1220s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-match-rule/.dirs/home 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-match-rule/.dirs/cache 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-match-rule/.dirs/system-config2 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-match-rule/.dirs/config 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-match-rule/.dirs/system-data2 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-match-rule/.dirs/data 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-match-rule/.dirs/state 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_PUIMK2/gdbus/proxy/no-match-rule/.dirs/runtime 1220s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1220s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1220s # Executing: glib/gdbus-proxy.test 1221s ok 5 /gdbus/proxy/no-match-rule 1221s # slow test /gdbus/proxy/no-match-rule executed in 1.73 secs 1221s # End of proxy tests 1221s # End of gdbus tests 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1221s ok - glib/gdbus-proxy.test 1221s # Running test: glib/trash.test 1221s TAP version 13 1221s # random seed: R02Sf503e178ef546bf20b6e15e1dd24386d 1221s 1..2 1221s # Start of trash tests 1221s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1221s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1221s # File: /tmp/test-trashENSQK2 (parent st_dev: 2049) 1221s # Home: /home/ubuntu (st_dev: 2049) 1221s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1221s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1221s # Target: /home/ubuntu/.local (mount: /) 1221s # Tmp: /tmp/test-trash7GTQK2 (mount: /) 1221s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 1221s # End of trash tests 1221s ok - glib/trash.test 1221s # Running test: glib/gdbus-error.test 1221s TAP version 13 1221s # random seed: R02S019d486fddf0ae44c06b9c7ec3517c58 1221s 1..4 1221s # Start of gdbus tests 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/registered-errors/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/registered-errors/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_8FQQK2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_8FQQK2/gdbus/registered-errors/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/registered-errors/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_8FQQK2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_8FQQK2/gdbus/registered-errors/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/registered-errors/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/registered-errors/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_8FQQK2/gdbus/registered-errors/.dirs/runtime 1221s ok 1 /gdbus/registered-errors 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/unregistered-errors/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/unregistered-errors/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_8FQQK2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_8FQQK2/gdbus/unregistered-errors/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/unregistered-errors/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_8FQQK2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_8FQQK2/gdbus/unregistered-errors/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/unregistered-errors/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/unregistered-errors/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_8FQQK2/gdbus/unregistered-errors/.dirs/runtime 1221s ok 2 /gdbus/unregistered-errors 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/transparent-gerror/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/transparent-gerror/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_8FQQK2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_8FQQK2/gdbus/transparent-gerror/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/transparent-gerror/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_8FQQK2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_8FQQK2/gdbus/transparent-gerror/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/transparent-gerror/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/transparent-gerror/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_8FQQK2/gdbus/transparent-gerror/.dirs/runtime 1221s ok 3 /gdbus/transparent-gerror 1221s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/register-error/.dirs/home 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/register-error/.dirs/cache 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_8FQQK2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_8FQQK2/gdbus/register-error/.dirs/system-config2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/register-error/.dirs/config 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_8FQQK2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_8FQQK2/gdbus/register-error/.dirs/system-data2 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/register-error/.dirs/data 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_8FQQK2/gdbus/register-error/.dirs/state 1221s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_8FQQK2/gdbus/register-error/.dirs/runtime 1221s ok 4 /gdbus/register-error 1221s # End of gdbus tests 1221s ok - glib/gdbus-error.test 1221s # Running test: glib/memory-monitor.test 1221s TAP version 13 1221s # random seed: R02S841a5df144a433c7edf009ae37b3e877 1221s 1..1 1221s # Start of memory-monitor tests 1221s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1221s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 1221s ok 1 /memory-monitor/default 1221s # End of memory-monitor tests 1221s ok - glib/memory-monitor.test 1221s # Running test: glib/closure-refcount.test 1221s TAP version 13 1221s # random seed: R02S17ea2af5587504387d801bfffd9a2ffd 1221s 1..1 1221s # Start of closure tests 1221s # Init 0x162f8c30f1d0 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from thread1 1222s # Yielding from thread2 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from thread2 1222s # Yielding from thread1 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from thread2 1222s # Yielding from thread1 1222s # Yielding from main thread 1222s # Yielding from main thread 1222s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from thread2 1223s # Yielding from thread1 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from thread2 1223s # Yielding from thread1 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from thread2 1223s # Yielding from thread1 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1223s # Yielding from main thread 1224s # Yielding from thread2 1224s # Yielding from thread1 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from thread2 1224s # Yielding from thread1 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from thread2 1224s # Yielding from main thread 1224s # Yielding from thread1 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from main thread 1224s # Yielding from thread2 1224s # Yielding from thread1 1224s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from thread2 1225s # Yielding from thread1 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from thread2 1225s # Yielding from main thread 1225s # Yielding from thread1 1225s # Executing: glib/closure-refcount.test 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from thread2 1225s # Yielding from thread1 1225s # Yielding from main thread 1225s # Yielding from main thread 1225s # Yielding from main thread 1226s # Yielding from thread2 1226s # Yielding from main thread 1226s # Yielding from thread1 1226s # Yielding from main thread 1226s # Yielding from main thread 1226s # Yielding from main thread 1226s # Yielding from thread2 1226s # Yielding from main thread 1226s # Yielding from thread1 1226s # Yielding from main thread 1226s # Yielding from main thread 1226s # Yielding from main thread 1226s # Yielding from thread2 1226s # Yielding from thread1 1226s # Yielding from main thread 1226s # Yielding from main thread 1226s # Yielding from main thread 1226s # Yielding from main thread 1226s # Yielding from thread2 1227s # Yielding from thread1 1227s # Yielding from main thread 1227s # Yielding from main thread 1227s # Yielding from main thread 1227s # Yielding from thread2 1227s # Yielding from main thread 1227s # Yielding from thread1 1227s # Yielding from main thread 1227s # Yielding from main thread 1227s # Yielding from main thread 1227s # Yielding from thread2 1227s # Yielding from thread1 1227s # Yielding from main thread 1227s # Yielding from main thread 1227s # Yielding from main thread 1227s # Yielding from main thread 1227s # Yielding from thread2 1227s # Yielding from thread1 1227s # Yielding from main thread 1227s # Yielding from main thread 1228s # Yielding from main thread 1228s # Yielding from thread2 1228s # Yielding from main thread 1228s # Yielding from thread1 1228s # Yielding from main thread 1228s # Yielding from main thread 1228s # Yielding from main thread 1228s # Yielding from thread2 1228s # Yielding from main thread 1228s # Yielding from thread1 1228s # Yielding from main thread 1228s # Yielding from main thread 1228s # Yielding from main thread 1228s # Yielding from thread2 1228s # Yielding from thread1 1228s # Yielding from main thread 1228s # Yielding from main thread 1228s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from thread2 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from thread2 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from thread2 1229s # Yielding from main thread 1229s # Yielding from thread1 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from main thread 1229s # Yielding from thread2 1229s # Yielding from thread1 1229s # Stopping 1229s # Stopped 1229s ok 1 /closure/refcount 1229s # slow test /closure/refcount executed in 8.07 secs 1229s # End of closure tests 1229s ok - glib/closure-refcount.test 1229s # Running test: glib/convert.test 1229s TAP version 13 1229s # random seed: R02Sba5e1cf37c34b8bac7758b7707f7b584 1229s 1..14 1229s # Start of conversion tests 1229s ok 1 /conversion/no-conv 1229s ok 2 /conversion/iconv-state 1229s ok 3 /conversion/illegal-sequence 1229s ok 4 /conversion/byte-order 1229s ok 5 /conversion/unicode 1229s ok 6 /conversion/filename-utf8 1229s ok 7 /conversion/filename-display 1229s ok 8 /conversion/convert-embedded-nul 1229s # Start of locale-to-utf8 tests 1229s ok 9 /conversion/locale-to-utf8/embedded-nul 1229s # Start of embedded-nul tests 1229s # Start of subprocess tests 1229s # End of subprocess tests 1229s # End of embedded-nul tests 1229s # End of locale-to-utf8 tests 1229s # Start of locale-from-utf8 tests 1230s ok 10 /conversion/locale-from-utf8/embedded-nul 1230s # Start of embedded-nul tests 1230s # Start of subprocess tests 1230s # End of subprocess tests 1230s # End of embedded-nul tests 1230s # End of locale-from-utf8 tests 1230s # Start of filename-to-utf8 tests 1230s ok 11 /conversion/filename-to-utf8/embedded-nul 1230s # Start of embedded-nul tests 1230s # Start of subprocess tests 1230s # End of subprocess tests 1230s # End of embedded-nul tests 1230s # End of filename-to-utf8 tests 1230s # Start of filename-from-utf8 tests 1230s ok 12 /conversion/filename-from-utf8/embedded-nul 1230s # Start of embedded-nul tests 1230s # Start of subprocess tests 1230s # End of subprocess tests 1230s # End of embedded-nul tests 1230s # End of filename-from-utf8 tests 1230s # Start of filename-from-uri tests 1230s ok 13 /conversion/filename-from-uri/query-is-ignored 1230s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1230s # End of filename-from-uri tests 1230s # End of conversion tests 1230s ok - glib/convert.test 1230s # Running test: glib/signalgroup.test 1230s TAP version 13 1230s # random seed: R02S6cba67b5af666a9861ee673aa4fe4f29 1230s 1..9 1230s # Start of GObject tests 1230s # Start of SignalGroup tests 1230s ok 1 /GObject/SignalGroup/invalid 1230s ok 2 /GObject/SignalGroup/simple 1230s ok 3 /GObject/SignalGroup/changing-target 1230s ok 4 /GObject/SignalGroup/blocking 1230s ok 5 /GObject/SignalGroup/weak-ref-target 1230s ok 6 /GObject/SignalGroup/connect-object 1230s ok 7 /GObject/SignalGroup/signal-parsing 1230s ok 8 /GObject/SignalGroup/properties 1230s ok 9 /GObject/SignalGroup/interface 1230s # Start of signal-parsing tests 1230s # End of signal-parsing tests 1230s # End of SignalGroup tests 1230s # End of GObject tests 1230s ok - glib/signalgroup.test 1230s # Running test: glib/cxx-2b.test 1230s TAP version 13 1230s # random seed: R02S0e7e76d166abd43c3d8747e7f78eb1ab 1230s 1..2 1230s # Start of gtask tests 1230s # 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. 1230s ok 1 /gtask/name 1230s # Start of name tests 1230s # 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. 1230s ok 2 /gtask/name/macro-wrapper 1230s # End of name tests 1230s # End of gtask tests 1230s ok - glib/cxx-2b.test 1230s # Running test: glib/atomic.test 1230s TAP version 13 1230s # random seed: R02S40d05e188722dc1f35788acf36118f6c 1230s 1..2 1230s # Start of atomic tests 1230s ok 1 /atomic/types 1230s ok 2 /atomic/threaded 1230s # End of atomic tests 1230s ok - glib/atomic.test 1230s # Running test: glib/gobject-private.test 1230s TAP version 13 1230s # random seed: R02S9abd655f20ff5d736cacca4e2194c0db 1230s 1..3 1230s # Start of private tests 1230s ok 1 /private/instance 1230s ok 2 /private/derived-instance 1230s ok 3 /private/mixed-derived-instance 1230s # End of private tests 1230s ok - glib/gobject-private.test 1230s # Running test: glib/win32-appinfo.test 1230s TAP version 13 1230s # random seed: R02Sdf0c1f71331c34015d9feb0fdd4118e1 1230s 1..5 1230s # Start of appinfo tests 1230s ok 1 /appinfo/utf16-strfuncs 1230s ok 2 /appinfo/win32-extract-executable 1230s ok 3 /appinfo/win32-rundll32-fixup 1230s ok 4 /appinfo/win32-parse-filename 1230s ok 5 /appinfo/win32-utf16-conversion-fail 1230s # Start of subprocess tests 1230s # End of subprocess tests 1230s # End of appinfo tests 1230s ok - glib/win32-appinfo.test 1230s # Running test: glib/resolver-parsing.test 1230s TAP version 13 1230s # random seed: R02S54fff56fca823756d79b330c1759eab2 1230s 1..20 1230s # Start of gresolver tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/invalid-header/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/invalid-header/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/invalid-header/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/invalid-header/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/invalid-header/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/invalid-header/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/invalid-header/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/invalid-header/.dirs/runtime 1230s ok 1 /gresolver/invalid-header 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/unknown-record-type/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/unknown-record-type/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/unknown-record-type/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/unknown-record-type/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/unknown-record-type/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/unknown-record-type/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/unknown-record-type/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/unknown-record-type/.dirs/runtime 1230s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 1230s ok 2 /gresolver/unknown-record-type 1230s # Start of mx tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/valid/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/valid/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/mx/valid/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/valid/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/mx/valid/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/valid/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/valid/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/mx/valid/.dirs/runtime 1230s ok 3 /gresolver/mx/valid 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/.dirs/runtime 1230s ok 4 /gresolver/mx/invalid 1230s # Start of invalid tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short/.dirs/runtime 1230s ok 5 /gresolver/mx/invalid/too-short 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short2/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short2/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short2/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short2/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short2/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/mx/invalid/too-short2/.dirs/runtime 1230s ok 6 /gresolver/mx/invalid/too-short2 1230s # End of invalid tests 1230s # End of mx tests 1230s # Start of ns tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/ns/valid/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/ns/valid/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/ns/valid/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/ns/valid/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/ns/valid/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/ns/valid/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/ns/valid/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/ns/valid/.dirs/runtime 1230s ok 7 /gresolver/ns/valid 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/ns/invalid/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/ns/invalid/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/ns/invalid/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/ns/invalid/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/ns/invalid/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/ns/invalid/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/ns/invalid/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/ns/invalid/.dirs/runtime 1230s ok 8 /gresolver/ns/invalid 1230s # End of ns tests 1230s # Start of soa tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/valid/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/valid/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/soa/valid/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/valid/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/soa/valid/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/valid/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/valid/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/soa/valid/.dirs/runtime 1230s ok 9 /gresolver/soa/valid 1230s # Start of invalid tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/mname/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/mname/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/mname/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/mname/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/mname/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/mname/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/mname/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/mname/.dirs/runtime 1230s ok 10 /gresolver/soa/invalid/mname 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/rname/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/rname/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/rname/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/rname/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/rname/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/rname/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/rname/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/rname/.dirs/runtime 1230s ok 11 /gresolver/soa/invalid/rname 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/too-short/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/too-short/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/too-short/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/too-short/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/too-short/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/too-short/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/too-short/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/soa/invalid/too-short/.dirs/runtime 1230s ok 12 /gresolver/soa/invalid/too-short 1230s # End of invalid tests 1230s # End of soa tests 1230s # Start of srv tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/valid/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/valid/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/srv/valid/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/valid/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/srv/valid/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/valid/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/valid/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/srv/valid/.dirs/runtime 1230s ok 13 /gresolver/srv/valid 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/.dirs/runtime 1230s ok 14 /gresolver/srv/invalid 1230s # Start of invalid tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short/.dirs/runtime 1230s ok 15 /gresolver/srv/invalid/too-short 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short2/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short2/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short2/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short2/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short2/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/srv/invalid/too-short2/.dirs/runtime 1230s ok 16 /gresolver/srv/invalid/too-short2 1230s # End of invalid tests 1230s # End of srv tests 1230s # Start of txt tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/.dirs/runtime 1230s ok 17 /gresolver/txt/valid 1230s # Start of valid tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/multiple-strings/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/multiple-strings/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/multiple-strings/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/multiple-strings/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/multiple-strings/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1230s ok 18 /gresolver/txt/valid/multiple-strings 1230s # End of valid tests 1230s # Start of invalid tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/empty/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/empty/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/empty/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/empty/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/empty/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/empty/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/empty/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/empty/.dirs/runtime 1230s ok 19 /gresolver/txt/invalid/empty 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/overflow/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/overflow/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/overflow/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/overflow/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/overflow/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/overflow/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/overflow/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_006XK2/gresolver/txt/invalid/overflow/.dirs/runtime 1230s ok 20 /gresolver/txt/invalid/overflow 1230s # End of invalid tests 1230s # End of txt tests 1230s # End of gresolver tests 1230s ok - glib/resolver-parsing.test 1230s # Running test: glib/gdbus-method-invocation.test 1230s TAP version 13 1230s # random seed: R02Sd388a8a936b97405a5045ec5b979c6dc 1230s 1..1 1230s # Start of gdbus tests 1230s # Start of method-invocation tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_O1WXK2/gdbus/method-invocation/return/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_O1WXK2/gdbus/method-invocation/return/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_O1WXK2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_O1WXK2/gdbus/method-invocation/return/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_O1WXK2/gdbus/method-invocation/return/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_O1WXK2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_O1WXK2/gdbus/method-invocation/return/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_O1WXK2/gdbus/method-invocation/return/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_O1WXK2/gdbus/method-invocation/return/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_O1WXK2/gdbus/method-invocation/return/.dirs/runtime 1230s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1230s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1230s # Calling org.freedesktop.DBus.Properties.Get 1230s # Calling org.freedesktop.DBus.Properties.Get 1230s # Calling org.freedesktop.DBus.Properties.Get 1230s # Calling org.freedesktop.DBus.Properties.Set 1230s # Calling org.freedesktop.DBus.Properties.GetAll 1230s # Calling org.example.Foo.WrongReturnType 1230s # Calling org.example.Foo.GetFDs 1230s # Calling org.example.Foo.GetFDs 1230s # Calling org.example.Foo.ReturnError 1230s # Calling org.example.Foo.CloseBeforeReturning 1230s ok 1 /gdbus/method-invocation/return 1230s # End of method-invocation tests 1230s # End of gdbus tests 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s ok - glib/gdbus-method-invocation.test 1230s # Running test: glib/mappedfile.test 1230s TAP version 13 1230s # random seed: R02Sce3967ac52d690ff10a797e93d8d894a 1230s 1..7 1230s # Start of mappedfile tests 1230s ok 1 /mappedfile/basic 1230s ok 2 /mappedfile/empty 1230s ok 3 /mappedfile/device 1230s ok 4 /mappedfile/nonexisting 1230s ok 5 /mappedfile/writable 1230s ok 6 /mappedfile/writable_fd 1230s ok 7 /mappedfile/gbytes 1230s # End of mappedfile tests 1230s ok - glib/mappedfile.test 1230s # Running test: glib/memory-monitor-portal.test 1230s # Executing: glib/memory-monitor-portal.test 1230s TAP version 13 1230s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1230s 1..1 1230s ok - glib/memory-monitor-portal.test 1230s # Running test: glib/overflow-fallback.test 1230s TAP version 13 1230s # random seed: R02Sb2f4a9c1f20d0d4624a8b8fa8e29ee88 1230s 1..6 1230s # Start of glib tests 1230s # Start of checked-math tests 1230s ok 1 /glib/checked-math/guint-add 1230s ok 2 /glib/checked-math/guint-mul 1230s ok 3 /glib/checked-math/guint64-add 1230s ok 4 /glib/checked-math/guint64-mul 1230s ok 5 /glib/checked-math/gsize-add 1230s ok 6 /glib/checked-math/gsize-mul 1230s # End of checked-math tests 1230s # End of glib tests 1230s ok - glib/overflow-fallback.test 1230s # Running test: glib/g-icon.test 1230s TAP version 13 1230s # random seed: R02S1015d556b51ca72fa850a8d4b97a3f07 1230s 1..6 1230s # Start of icons tests 1230s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1230s ok 1 /icons/to-string 1230s ok 2 /icons/serialize 1230s ok 3 /icons/themed 1230s ok 4 /icons/emblemed 1230s ok 5 /icons/file 1230s ok 6 /icons/bytes 1230s # End of icons tests 1230s ok - glib/g-icon.test 1230s # Running test: glib/gvariant.test 1230s TAP version 13 1230s # random seed: R02Saf70786a2b550be3b5e2c6668dbf72bf 1230s 1..64 1230s # Start of gvariant tests 1230s ok 1 /gvariant/type 1231s ok 2 /gvariant/typeinfo 1231s ok 3 /gvariant/string 1231s ok 4 /gvariant/utf8 1231s ok 5 /gvariant/containers 1231s ok 6 /gvariant/format-strings 1231s ok 7 /gvariant/invalid-varargs 1231s ok 8 /gvariant/varargs 1231s ok 9 /gvariant/valist 1231s ok 10 /gvariant/builder-memory 1231s ok 11 /gvariant/hashing 1231s ok 12 /gvariant/byteswap 1232s ok 13 /gvariant/parser 1232s ok 14 /gvariant/parse-failures 1232s ok 15 /gvariant/parse-positional 1232s ok 16 /gvariant/floating 1232s ok 17 /gvariant/bytestring 1232s ok 18 /gvariant/lookup-value 1232s ok 19 /gvariant/lookup 1232s ok 20 /gvariant/compare 1232s ok 21 /gvariant/equal 1232s ok 22 /gvariant/fixed-array 1232s ok 23 /gvariant/check-format-string 1232s ok 24 /gvariant/checksum-basic 1232s ok 25 /gvariant/checksum-nested 1232s ok 26 /gvariant/gbytes 1232s ok 27 /gvariant/print-context 1232s ok 28 /gvariant/error-quark 1232s ok 29 /gvariant/stack-builder-init 1232s ok 30 /gvariant/stack-dict-init 1232s ok 31 /gvariant/unaligned-construction 1232s # Start of type tests 1232s # Start of string-scan tests 1232s # Start of recursion tests 1232s ok 32 /gvariant/type/string-scan/recursion/tuple 1232s ok 33 /gvariant/type/string-scan/recursion/array 1232s # End of recursion tests 1232s # End of string-scan tests 1232s # End of type tests 1232s # Start of serialiser tests 1232s ok 34 /gvariant/serialiser/maybe 1232s ok 35 /gvariant/serialiser/array 1232s ok 36 /gvariant/serialiser/tuple 1232s ok 37 /gvariant/serialiser/variant 1232s ok 38 /gvariant/serialiser/strings 1233s ok 39 /gvariant/serialiser/byteswap 1233s # slow test /gvariant/serialiser/byteswap executed in 0.88 secs 1233s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1233s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1233s ok 40 /gvariant/serialiser/children 1233s # Start of fuzz tests 1234s ok 41 /gvariant/serialiser/fuzz/1% 1234s # slow test /gvariant/serialiser/fuzz/1% executed in 0.93 secs 1235s ok 42 /gvariant/serialiser/fuzz/5% 1235s # slow test /gvariant/serialiser/fuzz/5% executed in 0.74 secs 1235s # Executing: glib/gvariant.test 1235s ok 43 /gvariant/serialiser/fuzz/9% 1235s # slow test /gvariant/serialiser/fuzz/9% executed in 0.80 secs 1236s ok 44 /gvariant/serialiser/fuzz/13% 1236s ok 45 /gvariant/serialiser/fuzz/17% 1236s # End of fuzz tests 1236s # End of serialiser tests 1236s # Start of varargs tests 1236s # Start of subprocess tests 1236s # End of subprocess tests 1236s # End of varargs tests 1236s # Start of byteswap tests 1236s # /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. 1236s ok 46 /gvariant/byteswap/non-normal-non-aligned 1236s # End of byteswap tests 1236s # Start of parser tests 1236s ok 47 /gvariant/parser/integer-bounds 1236s ok 48 /gvariant/parser/recursion 1236s # Start of recursion tests 1236s ok 49 /gvariant/parser/recursion/typedecls 1236s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1236s # Text form 0: @mmmu 5 1236s # Text form 1: @mmmas ['hello'] 1236s # Text form 2: @mmmu just just nothing 1236s # Text form 3: @mmmas just just nothing 1236s # Text form 4: @mmmu just nothing 1236s # Text form 5: @mmmas just nothing 1236s # Text form 6: @mmmu nothing 1236s # Text form 7: @mmmas nothing 1236s ok 50 /gvariant/parser/recursion/maybes 1236s # End of recursion tests 1236s # End of parser tests 1236s # Start of parse tests 1236s # Start of subprocess tests 1236s # End of subprocess tests 1236s # End of parse tests 1236s # Start of normal-checking tests 1236s ok 51 /gvariant/normal-checking/tuples 1236s ok 52 /gvariant/normal-checking/array-offsets 1236s ok 53 /gvariant/normal-checking/array-offsets2 1236s ok 54 /gvariant/normal-checking/tuple-offsets 1236s ok 55 /gvariant/normal-checking/tuple-offsets2 1236s ok 56 /gvariant/normal-checking/tuple-offsets3 1236s ok 57 /gvariant/normal-checking/tuple-offsets4 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1236s ok 58 /gvariant/normal-checking/tuple-offsets5 1236s ok 59 /gvariant/normal-checking/empty-object-path 1236s # Start of array-offsets tests 1236s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1236s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1236s # End of array-offsets tests 1236s # Start of tuple-offsets tests 1236s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1236s # End of tuple-offsets tests 1236s # End of normal-checking tests 1236s # Start of recursion-limits tests 1236s ok 63 /gvariant/recursion-limits/variant-in-variant 1236s ok 64 /gvariant/recursion-limits/array-in-variant 1236s # End of recursion-limits tests 1236s # End of gvariant tests 1236s ok - glib/gvariant.test 1236s # Running test: glib/function-info.test 1236s TAP version 13 1236s # random seed: R02S78328e3ee0f555206136c8bb9e05bca3 1236s 1..1 1236s # Start of function-info tests 1236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_MHBLK2/function-info/invoker/.dirs/home 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_MHBLK2/function-info/invoker/.dirs/cache 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_MHBLK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_MHBLK2/function-info/invoker/.dirs/system-config2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_MHBLK2/function-info/invoker/.dirs/config 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_MHBLK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_MHBLK2/function-info/invoker/.dirs/system-data2 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_MHBLK2/function-info/invoker/.dirs/data 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_MHBLK2/function-info/invoker/.dirs/state 1236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_MHBLK2/function-info/invoker/.dirs/runtime 1236s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1236s # /function-info/invoker summary: Test preparing a function invoker 1236s ok 1 /function-info/invoker 1236s # End of function-info tests 1236s ok - glib/function-info.test 1236s # Running test: glib/utils.test 1236s TAP version 13 1236s # random seed: R02S5053fb7a9ab40685748fcfd30f4266ce 1236s 1..40 1236s # Start of utils tests 1236s ok 1 /utils/language-names 1236s ok 2 /utils/locale-variants 1236s ok 3 /utils/version 1236s ok 4 /utils/appname 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1236s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1236s ok 5 /utils/prgname-thread-safety 1236s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1236s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1236s ok 6 /utils/tmpdir 1236s ok 7 /utils/basic_bits 1236s ok 8 /utils/bits 1236s ok 9 /utils/swap 1236s ok 10 /utils/find-program 1236s ok 11 /utils/find-program-for-path 1236s ok 12 /utils/debug 1236s ok 13 /utils/codeset 1236s ok 14 /utils/codeset2 1236s ok 15 /utils/console-charset 1236s ok 16 /utils/gettext 1236s ok 17 /utils/username 1236s ok 18 /utils/realname 1236s ok 19 /utils/hostname 1236s ok 20 /utils/xdgdirs 1236s ok 21 /utils/specialdir 1236s # NAME: Ubuntu 1236s ok 22 /utils/os-info 1236s ok 23 /utils/clear-pointer 1236s ok 24 /utils/clear-pointer-cast 1236s ok 25 /utils/take-pointer 1236s ok 26 /utils/clear-source 1236s ok 27 /utils/misc-mem 1236s # /utils/aligned-mem summary: Aligned memory allocator 1236s # Alignment must not be zero 1236s # Alignment must be a power of two 1236s # Alignment must be a multiple of sizeof(void*) 1236s ok 28 /utils/aligned-mem 1236s # /utils/free-sized summary: Check that g_free_sized() works 1236s ok 29 /utils/free-sized 1236s ok 30 /utils/nullify 1236s ok 31 /utils/atexit 1236s ok 32 /utils/check-setuid 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1236s ok 33 /utils/int-limits 1236s ok 34 /utils/clear-list 1236s ok 35 /utils/clear-slist 1236s # Start of specialdir tests 1236s ok 36 /utils/specialdir/desktop 1236s # End of specialdir tests 1236s # Start of clear-pointer tests 1236s ok 37 /utils/clear-pointer/side-effects 1236s # End of clear-pointer tests 1236s # Start of aligned-mem tests 1236s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1236s ok 38 /utils/aligned-mem/alignment 1236s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1236s ok 39 /utils/aligned-mem/zeroed 1236s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1236s ok 40 /utils/aligned-mem/free-sized 1236s # Start of subprocess tests 1236s # End of subprocess tests 1236s # End of aligned-mem tests 1236s # End of utils tests 1236s ok - glib/utils.test 1236s # Running test: glib/reference.test 1236s TAP version 13 1236s # random seed: R02S8e132f56912ebff34ff29864783b113d 1236s 1..29 1236s # Start of type tests 1236s ok 1 /type/fundamentals 1236s ok 2 /type/qdata 1236s ok 3 /type/query 1236s ok 4 /type/class-private 1236s # End of type tests 1236s # Start of object tests 1236s ok 5 /object/clear 1236s ok 6 /object/clear-function 1236s ok 7 /object/set 1236s ok 8 /object/set-function 1236s ok 9 /object/value 1236s ok 10 /object/initially-unowned 1236s ok 11 /object/weak-pointer 1236s ok 12 /object/weak-ref 1236s ok 13 /object/toggle-ref 1236s ok 14 /object/qdata 1236s ok 15 /object/qdata2 1236s # Start of set tests 1236s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 1236s ok 16 /object/set/derived-type 1236s # End of set tests 1236s # Start of weak-pointer tests 1236s ok 17 /object/weak-pointer/clear 1236s ok 18 /object/weak-pointer/clear-function 1236s ok 19 /object/weak-pointer/set 1236s ok 20 /object/weak-pointer/set-function 1236s # End of weak-pointer tests 1236s # Start of weak-ref tests 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1236s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1236s ok 21 /object/weak-ref/on-dispose 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1236s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1236s ok 22 /object/weak-ref/on-run-dispose 1236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1236s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1236s ok 23 /object/weak-ref/on-toggle-notify 1236s ok 24 /object/weak-ref/in-toggle-notify 1236s ok 25 /object/weak-ref/many 1236s # Start of concurrent tests 1239s ok 26 /object/weak-ref/concurrent/0 1239s # slow test /object/weak-ref/concurrent/0 executed in 2.67 secs 1240s # Executing: glib/reference.test 1242s ok 27 /object/weak-ref/concurrent/1 1242s # slow test /object/weak-ref/concurrent/1 executed in 3.01 secs 1242s # End of concurrent tests 1242s # End of weak-ref tests 1242s # Start of toggle-ref tests 1242s ok 28 /object/toggle-ref/ref-on-dispose 1242s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1242s # End of toggle-ref tests 1242s # End of object tests 1242s ok - glib/reference.test 1242s # Running test: glib/throws.test 1242s TAP version 13 1242s # random seed: R02S0677eb4ab4fcb49099196e92d26023c0 1242s 1..3 1242s # Start of throws tests 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_NU21K2/throws/invoke-gerror/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_NU21K2/throws/invoke-gerror/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_NU21K2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_NU21K2/throws/invoke-gerror/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_NU21K2/throws/invoke-gerror/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_NU21K2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_NU21K2/throws/invoke-gerror/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_NU21K2/throws/invoke-gerror/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_NU21K2/throws/invoke-gerror/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_NU21K2/throws/invoke-gerror/.dirs/runtime 1242s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1242s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1242s ok 1 /throws/invoke-gerror 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_NU21K2/throws/vfunc-can-throw-gerror/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_NU21K2/throws/vfunc-can-throw-gerror/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_NU21K2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_NU21K2/throws/vfunc-can-throw-gerror/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_NU21K2/throws/vfunc-can-throw-gerror/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_NU21K2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_NU21K2/throws/vfunc-can-throw-gerror/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_NU21K2/throws/vfunc-can-throw-gerror/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_NU21K2/throws/vfunc-can-throw-gerror/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_NU21K2/throws/vfunc-can-throw-gerror/.dirs/runtime 1242s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1242s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1242s ok 2 /throws/vfunc-can-throw-gerror 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_NU21K2/throws/callback-can-throw-gerror/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_NU21K2/throws/callback-can-throw-gerror/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_NU21K2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_NU21K2/throws/callback-can-throw-gerror/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_NU21K2/throws/callback-can-throw-gerror/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_NU21K2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_NU21K2/throws/callback-can-throw-gerror/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_NU21K2/throws/callback-can-throw-gerror/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_NU21K2/throws/callback-can-throw-gerror/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_NU21K2/throws/callback-can-throw-gerror/.dirs/runtime 1242s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1242s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1242s ok 3 /throws/callback-can-throw-gerror 1242s # End of throws tests 1242s ok - glib/throws.test 1242s # Running test: glib/array-test.test 1242s TAP version 13 1242s # random seed: R02Sba01fd24062a3054d0590c832a1ed336 1242s 1..113 1242s # Start of array tests 1242s ok 1 /array/ref-count 1242s ok 2 /array/steal 1242s ok 3 /array/clear-func 1242s ok 4 /array/binary-search 1242s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1242s ok 5 /array/copy-sized 1242s ok 6 /array/overflow-append-vals 1242s ok 7 /array/overflow-set-size 1242s # Start of new tests 1242s ok 8 /array/new/zero-terminated 1242s ok 9 /array/new/take 1242s ok 10 /array/new/take-zero-terminated 1242s # Start of take tests 1242s ok 11 /array/new/take/empty 1242s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1242s # End of take tests 1242s # End of new tests 1242s # Start of set-size tests 1242s ok 13 /array/set-size/non-zero-terminated-no-clear 1242s ok 14 /array/set-size/non-zero-terminated-clear 1242s ok 15 /array/set-size/zero-terminated-no-clear 1242s ok 16 /array/set-size/zero-terminated-clear 1242s # Start of sized tests 1242s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1242s ok 18 /array/set-size/sized/non-zero-terminated-clear 1242s ok 19 /array/set-size/sized/zero-terminated-no-clear 1242s ok 20 /array/set-size/sized/zero-terminated-clear 1242s # End of sized tests 1242s # End of set-size tests 1242s # Start of append-val tests 1242s ok 21 /array/append-val/non-zero-terminated-no-clear 1242s ok 22 /array/append-val/non-zero-terminated-clear 1242s ok 23 /array/append-val/zero-terminated-no-clear 1242s ok 24 /array/append-val/zero-terminated-clear 1242s # End of append-val tests 1242s # Start of prepend-val tests 1242s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1242s ok 26 /array/prepend-val/non-zero-terminated-clear 1242s ok 27 /array/prepend-val/zero-terminated-no-clear 1242s ok 28 /array/prepend-val/zero-terminated-clear 1242s # End of prepend-val tests 1242s # Start of prepend-vals tests 1242s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1242s ok 30 /array/prepend-vals/non-zero-terminated-clear 1242s ok 31 /array/prepend-vals/zero-terminated-no-clear 1242s ok 32 /array/prepend-vals/zero-terminated-clear 1242s # End of prepend-vals tests 1242s # Start of insert-vals tests 1242s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1242s ok 34 /array/insert-vals/non-zero-terminated-clear 1242s ok 35 /array/insert-vals/zero-terminated-no-clear 1242s ok 36 /array/insert-vals/zero-terminated-clear 1242s # End of insert-vals tests 1242s # Start of remove-index tests 1242s ok 37 /array/remove-index/non-zero-terminated-no-clear 1242s ok 38 /array/remove-index/non-zero-terminated-clear 1242s ok 39 /array/remove-index/zero-terminated-no-clear 1242s ok 40 /array/remove-index/zero-terminated-clear 1242s # End of remove-index tests 1242s # Start of remove-index-fast tests 1242s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1242s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1242s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1242s ok 44 /array/remove-index-fast/zero-terminated-clear 1242s # End of remove-index-fast tests 1242s # Start of remove-range tests 1242s ok 45 /array/remove-range/non-zero-terminated-no-clear 1242s ok 46 /array/remove-range/non-zero-terminated-clear 1242s ok 47 /array/remove-range/zero-terminated-no-clear 1242s ok 48 /array/remove-range/zero-terminated-clear 1242s # End of remove-range tests 1242s # Start of copy tests 1242s ok 49 /array/copy/non-zero-terminated-no-clear 1242s ok 50 /array/copy/non-zero-terminated-clear 1242s ok 51 /array/copy/zero-terminated-no-clear 1242s ok 52 /array/copy/zero-terminated-clear 1242s # End of copy tests 1242s # Start of sort tests 1242s ok 53 /array/sort/non-zero-terminated-no-clear 1242s ok 54 /array/sort/non-zero-terminated-clear 1242s ok 55 /array/sort/zero-terminated-no-clear 1242s ok 56 /array/sort/zero-terminated-clear 1242s # End of sort tests 1242s # Start of sort-with-data tests 1242s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1242s ok 58 /array/sort-with-data/non-zero-terminated-clear 1242s ok 59 /array/sort-with-data/zero-terminated-no-clear 1242s ok 60 /array/sort-with-data/zero-terminated-clear 1242s # End of sort-with-data tests 1242s # End of array tests 1242s # Start of pointerarray tests 1242s ok 61 /pointerarray/add 1242s ok 62 /pointerarray/insert 1242s ok 63 /pointerarray/new-take 1242s ok 64 /pointerarray/new-take-null-terminated 1242s ok 65 /pointerarray/new-from-array 1242s ok 66 /pointerarray/new-from-null-terminated-array 1242s ok 67 /pointerarray/free-func 1242s ok 68 /pointerarray/array_extend_and_steal 1242s ok 69 /pointerarray/sort 1242s ok 70 /pointerarray/sort-with-data 1242s ok 71 /pointerarray/sort-values 1242s ok 72 /pointerarray/sort-values-with-data 1242s ok 73 /pointerarray/remove-range 1242s ok 74 /pointerarray/steal 1242s # Start of free tests 1242s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1242s ok 75 /pointerarray/free/null-terminated 1242s # End of free tests 1242s # Start of new-take tests 1242s ok 76 /pointerarray/new-take/empty 1242s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1242s ok 78 /pointerarray/new-take/with-free-func 1242s # End of new-take tests 1242s # Start of new-take-null-terminated tests 1242s ok 79 /pointerarray/new-take-null-terminated/empty 1242s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1242s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1242s # End of new-take-null-terminated tests 1242s # Start of new-from-array tests 1242s ok 82 /pointerarray/new-from-array/empty 1242s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1242s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1242s # End of new-from-array tests 1242s # Start of new-from-null-terminated-array tests 1242s ok 85 /pointerarray/new-from-null-terminated-array/empty 1242s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1242s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1242s # End of new-from-null-terminated-array tests 1242s # Start of ref-count tests 1242s ok 88 /pointerarray/ref-count/not-null-terminated 1242s ok 89 /pointerarray/ref-count/null-terminated 1242s # End of ref-count tests 1242s # Start of array_copy tests 1242s # /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 1242s ok 90 /pointerarray/array_copy/not-null-terminated 1242s # /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 1242s ok 91 /pointerarray/array_copy/null-terminated 1242s # End of array_copy tests 1242s # Start of array_extend tests 1242s ok 92 /pointerarray/array_extend/not-null-terminated 1242s ok 93 /pointerarray/array_extend/null-terminated 1242s # End of array_extend tests 1242s # Start of sort tests 1242s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1242s ok 94 /pointerarray/sort/example 1242s # End of sort tests 1242s # Start of sort-with-data tests 1242s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1242s ok 95 /pointerarray/sort-with-data/example 1242s # End of sort-with-data tests 1242s # Start of sort-values tests 1242s ok 96 /pointerarray/sort-values/example 1242s # End of sort-values tests 1242s # Start of sort-values-with-data tests 1242s ok 97 /pointerarray/sort-values-with-data/example 1242s # End of sort-values-with-data tests 1242s # Start of find tests 1242s ok 98 /pointerarray/find/empty 1242s ok 99 /pointerarray/find/non-empty 1242s # End of find tests 1242s # Start of steal_index tests 1242s ok 100 /pointerarray/steal_index/not-null-terminated 1242s ok 101 /pointerarray/steal_index/null-terminated 1242s # End of steal_index tests 1242s # End of pointerarray tests 1242s # Start of bytearray tests 1242s ok 102 /bytearray/steal 1242s ok 103 /bytearray/append 1242s ok 104 /bytearray/prepend 1242s ok 105 /bytearray/remove 1242s ok 106 /bytearray/remove-fast 1242s ok 107 /bytearray/remove-range 1242s ok 108 /bytearray/ref-count 1242s ok 109 /bytearray/sort 1242s ok 110 /bytearray/sort-with-data 1242s ok 111 /bytearray/new-take 1242s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1242s ok 113 /bytearray/free-to-bytes 1242s # End of bytearray tests 1242s ok - glib/array-test.test 1242s # Running test: glib/hostutils.test 1242s TAP version 13 1242s # random seed: R02S8decaf5eea6a023966e16f6c5b70c067 1242s 1..3 1242s # Start of hostutils tests 1242s ok 1 /hostutils/to_ascii 1242s ok 2 /hostutils/to_unicode 1242s ok 3 /hostutils/is_ip_addr 1242s # End of hostutils tests 1242s ok - glib/hostutils.test 1242s # Running test: glib/custom-dispatch.test 1242s TAP version 13 1242s # random seed: R02S9cb078527777bc6efacf8e2dd6b85f5c 1242s 1..2 1242s # Start of properties tests 1242s # Start of custom-dispatch tests 1242s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1242s ok 1 /properties/custom-dispatch/init 1242s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1242s ok 2 /properties/custom-dispatch/set 1242s # End of custom-dispatch tests 1242s # End of properties tests 1242s ok - glib/custom-dispatch.test 1242s # Running test: glib/gnotification.test 1242s TAP version 13 1242s # random seed: R02Sb73e3fb32e22b9a13b05eee6ef7cf1c2 1242s 1..2 1242s # Start of gnotification tests 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s ok 1 /gnotification/basic 1242s ok 2 /gnotification/properties 1242s # End of gnotification tests 1242s ok - glib/gnotification.test 1242s # Running test: glib/singleton.test 1242s TAP version 13 1242s # random seed: R02S9effd609fed72af127570e0c54594c18 1242s 1..2 1242s # Start of gobject tests 1242s # Start of singleton tests 1242s ok 1 /gobject/singleton/construction 1242s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1242s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1242s ok 2 /gobject/singleton/construct-property 1242s # End of singleton tests 1242s # End of gobject tests 1242s ok - glib/singleton.test 1242s # Running test: glib/gdbus-close-pending.test 1242s TAP version 13 1242s # random seed: R02Sa1bf178edb21457aa0693961a5ab5262 1242s 1..2 1242s # Start of gdbus tests 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/close-pending/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/close-pending/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_TE3IK2/gdbus/close-pending/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/close-pending/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_TE3IK2/gdbus/close-pending/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/close-pending/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/close-pending/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/close-pending/.dirs/runtime 1242s ok 1 /gdbus/close-pending 1242s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/unref-pending/.dirs/home 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/unref-pending/.dirs/cache 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_TE3IK2/gdbus/unref-pending/.dirs/system-config2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/unref-pending/.dirs/config 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_TE3IK2/gdbus/unref-pending/.dirs/system-data2 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/unref-pending/.dirs/data 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/unref-pending/.dirs/state 1242s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_TE3IK2/gdbus/unref-pending/.dirs/runtime 1243s ok 2 /gdbus/unref-pending 1243s # End of gdbus tests 1243s ok - glib/gdbus-close-pending.test 1243s # Running test: glib/object-info.test 1243s TAP version 13 1243s # random seed: R02S255775f697d9c29189bec330bfe79141 1243s 1..2 1243s # Start of object-info tests 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_AA2XK2/object-info/find-method-using-interfaces/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_AA2XK2/object-info/find-method-using-interfaces/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_AA2XK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_AA2XK2/object-info/find-method-using-interfaces/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_AA2XK2/object-info/find-method-using-interfaces/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_AA2XK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_AA2XK2/object-info/find-method-using-interfaces/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_AA2XK2/object-info/find-method-using-interfaces/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_AA2XK2/object-info/find-method-using-interfaces/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_AA2XK2/object-info/find-method-using-interfaces/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s ok 1 /object-info/find-method-using-interfaces 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_AA2XK2/object-info/find-vfunc-using-interfaces/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_AA2XK2/object-info/find-vfunc-using-interfaces/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_AA2XK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_AA2XK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_AA2XK2/object-info/find-vfunc-using-interfaces/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_AA2XK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_AA2XK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_AA2XK2/object-info/find-vfunc-using-interfaces/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_AA2XK2/object-info/find-vfunc-using-interfaces/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_AA2XK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s ok 2 /object-info/find-vfunc-using-interfaces 1243s # End of object-info tests 1243s ok - glib/object-info.test 1243s # Running test: glib/credentials.test 1243s TAP version 13 1243s # random seed: R02Seebe6c043885ae9762beb63b03b4934f 1243s 1..1 1243s # Start of credentials tests 1243s # GCredentials:linux-ucred:pid=10750,uid=1000,gid=1000 1243s # GCredentials:linux-ucred:pid=10750,uid=0,gid=1000 1243s ok 1 /credentials/basic 1243s # End of credentials tests 1243s ok - glib/credentials.test 1243s # Running test: glib/atomic-c-99.test 1243s TAP version 13 1243s # random seed: R02S607140fac932c470c35972af37b02de6 1243s 1..2 1243s # Start of atomic tests 1243s ok 1 /atomic/types 1243s ok 2 /atomic/threaded 1243s # End of atomic tests 1243s ok - glib/atomic-c-99.test 1243s # Running test: glib/g-file-info.test 1243s TAP version 13 1243s # random seed: R02Sca1c9f88c8c920563ac7f4d7e0fad0f2 1243s 1..6 1243s # Start of g-file-info tests 1243s ok 1 /g-file-info/test_g_file_info 1243s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1243s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1243s ok 2 /g-file-info/xattrs 1243s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1243s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1243s ok 3 /g-file-info/set-modified-date-time-precision 1243s # Start of test_g_file_info tests 1243s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1243s ok 4 /g-file-info/test_g_file_info/modification-time 1243s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1243s ok 5 /g-file-info/test_g_file_info/access-time 1243s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1243s ok 6 /g-file-info/test_g_file_info/creation-time 1243s # End of test_g_file_info tests 1243s # End of g-file-info tests 1243s ok - glib/g-file-info.test 1243s # Running test: glib/pathbuf.test 1243s TAP version 13 1243s # random seed: R02S27eaf4d2bc863714e2a4c9c5181eaf54 1243s 1..3 1243s # Start of pathbuf tests 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_KM12K2/pathbuf/init/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_KM12K2/pathbuf/init/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_KM12K2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_KM12K2/pathbuf/init/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_KM12K2/pathbuf/init/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_KM12K2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_KM12K2/pathbuf/init/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_KM12K2/pathbuf/init/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_KM12K2/pathbuf/init/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_KM12K2/pathbuf/init/.dirs/runtime 1243s # Initializing empty path buf 1243s # Initializing with empty path 1243s # Initializing with full path 1243s # Initializing with no path 1243s # Allocating GPathBuf on the heap 1243s ok 1 /pathbuf/init 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_KM12K2/pathbuf/push-pop/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_KM12K2/pathbuf/push-pop/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_KM12K2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_KM12K2/pathbuf/push-pop/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_KM12K2/pathbuf/push-pop/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_KM12K2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_KM12K2/pathbuf/push-pop/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_KM12K2/pathbuf/push-pop/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_KM12K2/pathbuf/push-pop/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_KM12K2/pathbuf/push-pop/.dirs/runtime 1243s # Pushing relative path component 1243s # Pushing absolute path component 1243s # Popping a path component 1243s # Can't pop the last element of a path buffer 1243s ok 2 /pathbuf/push-pop 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_KM12K2/pathbuf/filename-extension/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_KM12K2/pathbuf/filename-extension/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_KM12K2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_KM12K2/pathbuf/filename-extension/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_KM12K2/pathbuf/filename-extension/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_KM12K2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_KM12K2/pathbuf/filename-extension/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_KM12K2/pathbuf/filename-extension/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_KM12K2/pathbuf/filename-extension/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_KM12K2/pathbuf/filename-extension/.dirs/runtime 1243s ok 3 /pathbuf/filename-extension 1243s # End of pathbuf tests 1243s ok - glib/pathbuf.test 1243s # Running test: glib/notify-init.test 1243s TAP version 13 1243s # random seed: R02S74cfcf38fc5b07e48544e7e64afcf84e 1243s 1..1 1243s # Start of properties tests 1243s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1243s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1243s ok 1 /properties/notify-in-init 1243s # End of properties tests 1243s ok - glib/notify-init.test 1243s # Running test: glib/portal-support-env-var.test 1243s TAP version 13 1243s # random seed: R02S1beaa9bd6c0ab03d43bdd221600bdebe 1243s 1..1 1243s # Start of portal-support tests 1243s ok 1 /portal-support/env-var 1243s # End of portal-support tests 1243s ok - glib/portal-support-env-var.test 1243s # Running test: glib/references.test 1243s TAP version 13 1243s # random seed: R02S22e61fd98fc0f259923ea1590cbbdf59 1243s 1..1 1243s # Start of gobject tests 1243s ok 1 /gobject/references 1243s # End of gobject tests 1243s ok - glib/references.test 1243s # Running test: glib/refstring.test 1243s TAP version 13 1243s # random seed: R02S528d26824cb5ccc4dea58c2cfa980222 1243s 1..5 1243s # Start of refstring tests 1243s # s = 'hello, world' (0x1f1341758660) 1243s ok 1 /refstring/base 1243s ok 2 /refstring/length 1243s ok 3 /refstring/length-auto 1243s ok 4 /refstring/length-nuls 1243s # s = 'hello, world' (0x1f1341758660) 1243s # p = s = 'hello, world' (0x1f1341758660) 1243s # releasing p[0x1f1341758660] ('hello, world') 1243s # p = 'goodbye, world' (0x1f13417606c0) 1243s # releasing p[0x1f13417606c0] ('goodbye, world') 1243s # releasing s[0x1f1341758660] ('hello, world') 1243s ok 5 /refstring/intern 1243s # End of refstring tests 1243s ok - glib/refstring.test 1243s # Running test: glib/repository.test 1243s TAP version 13 1243s # random seed: R02S5c84f9ead4d5d770bb5e78d79b935cc3 1243s 1..20 1243s # Start of repository tests 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/basic/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/basic/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/basic/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/basic/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/basic/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/basic/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/basic/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/basic/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/basic/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/basic/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1243s ok 1 /repository/basic 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/info/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/info/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/info/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/info/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/info/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/info/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/info/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/info/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/info/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/info/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1243s ok 2 /repository/info 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/dependencies/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/dependencies/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/dependencies/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/dependencies/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/dependencies/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/dependencies/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/dependencies/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/dependencies/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1243s ok 3 /repository/dependencies 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/arg-info/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/arg-info/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/arg-info/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/arg-info/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/arg-info/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/arg-info/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/arg-info/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/arg-info/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1243s ok 4 /repository/arg-info 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/callable-info/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/callable-info/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/callable-info/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/callable-info/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/callable-info/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/callable-info/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/callable-info/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/callable-info/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1243s ok 5 /repository/callable-info 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/callback-info/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/callback-info/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/callback-info/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/callback-info/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/callback-info/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/callback-info/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/callback-info/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/callback-info/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1243s ok 6 /repository/callback-info 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/char-types/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/char-types/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/char-types/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/char-types/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/char-types/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/char-types/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/char-types/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/char-types/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/char-types/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/char-types/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1243s ok 7 /repository/char-types 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/constructor-return-type/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/constructor-return-type/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/constructor-return-type/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/constructor-return-type/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/constructor-return-type/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/constructor-return-type/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/constructor-return-type/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/constructor-return-type/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1243s ok 8 /repository/constructor-return-type 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/enum-info-c-identifier/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/enum-info-c-identifier/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/enum-info-c-identifier/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/enum-info-c-identifier/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/enum-info-c-identifier/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/enum-info-c-identifier/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/enum-info-c-identifier/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/enum-info-c-identifier/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1243s ok 9 /repository/enum-info-c-identifier 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/enum-info-static-methods/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/enum-info-static-methods/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/enum-info-static-methods/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/enum-info-static-methods/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/enum-info-static-methods/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/enum-info-static-methods/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/enum-info-static-methods/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/enum-info-static-methods/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/enum-info-static-methods summary: Test an enum with methods 1243s ok 10 /repository/enum-info-static-methods 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/error-quark/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/error-quark/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/error-quark/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/error-quark/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/error-quark/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/error-quark/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/error-quark/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/error-quark/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/error-quark summary: Test finding an error quark by error domain 1243s ok 11 /repository/error-quark 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/flags-info-c-identifier/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/flags-info-c-identifier/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/flags-info-c-identifier/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/flags-info-c-identifier/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/flags-info-c-identifier/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/flags-info-c-identifier/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/flags-info-c-identifier/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/flags-info-c-identifier/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1243s ok 12 /repository/flags-info-c-identifier 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/fundamental-ref-func/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/fundamental-ref-func/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/fundamental-ref-func/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/fundamental-ref-func/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/fundamental-ref-func/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/fundamental-ref-func/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/fundamental-ref-func/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/fundamental-ref-func/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1243s ok 13 /repository/fundamental-ref-func 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/instance-method-ownership-transfer/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/instance-method-ownership-transfer/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/instance-method-ownership-transfer/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/instance-method-ownership-transfer/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/instance-method-ownership-transfer/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/instance-method-ownership-transfer/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/instance-method-ownership-transfer/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/instance-method-ownership-transfer/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1243s ok 14 /repository/instance-method-ownership-transfer 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/object-gtype-interfaces/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/object-gtype-interfaces/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/object-gtype-interfaces/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/object-gtype-interfaces/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/object-gtype-interfaces/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/object-gtype-interfaces/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/object-gtype-interfaces/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/object-gtype-interfaces/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1243s ok 15 /repository/object-gtype-interfaces 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/signal-info-with-array-length-arg/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/signal-info-with-array-length-arg/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/signal-info-with-array-length-arg/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/signal-info-with-array-length-arg/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/signal-info-with-array-length-arg/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/signal-info-with-array-length-arg/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/signal-info-with-array-length-arg/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/signal-info-with-array-length-arg/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1243s ok 16 /repository/signal-info-with-array-length-arg 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/type-info-name/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/type-info-name/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/type-info-name/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/type-info-name/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/type-info-name/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/type-info-name/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/type-info-name/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/type-info-name/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1243s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1243s ok 17 /repository/type-info-name 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-no-invoker/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-no-invoker/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-no-invoker/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-no-invoker/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-no-invoker/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-no-invoker/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1243s ok 18 /repository/vfunc-info-with-no-invoker 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1243s ok 19 /repository/vfunc-info-with-invoker-on-interface 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-object/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-object/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-object/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-object/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TJ13K2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1243s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1243s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1243s ok 20 /repository/vfunc-info-with-invoker-on-object 1243s # End of repository tests 1243s ok - glib/repository.test 1243s # Running test: glib/portal-support-flatpak-network-only.test 1243s TAP version 13 1243s # random seed: R02S530767c220a7eb1c7bf67492076908f8 1243s 1..1 1243s # Start of portal-support tests 1243s # Start of flatpak tests 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_NFQ3K2/portal-support/flatpak/network/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_NFQ3K2/portal-support/flatpak/network/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_NFQ3K2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_NFQ3K2/portal-support/flatpak/network/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_NFQ3K2/portal-support/flatpak/network/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_NFQ3K2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_NFQ3K2/portal-support/flatpak/network/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_NFQ3K2/portal-support/flatpak/network/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_NFQ3K2/portal-support/flatpak/network/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_NFQ3K2/portal-support/flatpak/network/.dirs/runtime 1243s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_NFQ3K2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1243s ok 1 /portal-support/flatpak/network 1243s # End of flatpak tests 1243s # End of portal-support tests 1243s ok - glib/portal-support-flatpak-network-only.test 1243s # Running test: glib/uri.test 1243s TAP version 13 1243s # random seed: R02S370274076d6930ecd2b499770de51bcb 1243s 1..24 1243s # Start of uri tests 1243s ok 1 /uri/file-to-uri 1243s ok 2 /uri/file-from-uri 1243s ok 3 /uri/file-roundtrip 1243s ok 4 /uri/list 1243s # Test 0: %2Babc %4F 1243s # Test 1: %2Babc %4F 1243s # Test 2: %00abc %4F 1243s # Test 3: /cursors/none.png 1243s # Test 4: /cursors%2fbad-subdir/none.png 1243s # Test 5: %0 1243s # Test 6: %ra 1243s # Test 7: %2r 1243s # Test 8: Timm B?der 1243s # Test 9: (null) 1243s ok 5 /uri/unescape-string 1243s ok 6 /uri/unescape-segment 1243s # Test 0: abcdefgABCDEFG._~ 1243s # Test 1: :+ \\?# 1243s # Test 2: a+b:c 1243s # Test 3: a+b:c\303\234 1243s # Test 4: \374;\322 1243s # Test 5: \303\261\303( 1243s ok 7 /uri/escape-string 1243s ok 8 /uri/escape-bytes 1243s ok 9 /uri/scheme 1243s ok 10 /uri/build 1243s ok 11 /uri/split 1243s ok 12 /uri/is_valid 1243s ok 13 /uri/to-string 1243s ok 14 /uri/join 1243s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1243s # Combination 0 1243s # Combination 1 1243s # Combination 2 1243s # Combination 3 1243s # Combination 4 1243s # Combination 5 1243s # Combination 6 1243s # Combination 7 1243s # Combination 8 1243s # Combination 9 1243s # Combination 10 1243s # Combination 11 1243s # Combination 12 1243s # Combination 13 1243s # Combination 14 1243s # Combination 15 1243s # Combination 16 1243s # Combination 17 1243s # Combination 18 1243s # Combination 19 1243s # Combination 20 1243s # Combination 21 1243s # Combination 22 1243s # Combination 23 1243s # Combination 24 1243s # Combination 25 1243s # Combination 26 1243s # Combination 27 1243s # Combination 28 1243s # Combination 29 1243s # Combination 30 1243s # Combination 31 1243s # Combination 32 1243s # Combination 33 1243s # Combination 34 1243s # Combination 35 1243s # Combination 36 1243s # Combination 37 1243s # Combination 38 1243s # Combination 39 1243s # Combination 40 1243s # Combination 41 1243s # Combination 42 1243s # Combination 43 1243s # Combination 44 1243s # Combination 45 1243s # Combination 46 1243s # Combination 47 1243s # Combination 48 1243s # Combination 49 1243s # Combination 50 1243s # Combination 51 1243s # Combination 52 1243s # Combination 53 1243s # Combination 54 1243s # Combination 55 1243s # Combination 56 1243s # Combination 57 1243s # Combination 58 1243s # Combination 59 1243s # Combination 60 1243s # Combination 61 1243s # Combination 62 1243s # Combination 63 1243s # Combination 64 1243s # Combination 65 1243s # Combination 66 1243s # Combination 67 1243s # Combination 68 1243s # Combination 69 1243s # Combination 70 1243s # Combination 71 1243s # Combination 72 1243s # Combination 73 1243s # Combination 74 1243s # Combination 75 1243s # Combination 76 1243s # Combination 77 1243s # Combination 78 1243s # Combination 79 1243s # Combination 80 1243s # Combination 81 1243s # Combination 82 1243s # Combination 83 1243s # Combination 84 1243s # Combination 85 1243s # Combination 86 1243s # Combination 87 1243s # Combination 88 1243s # Combination 89 1243s # Combination 90 1243s # Combination 91 1243s # Combination 92 1243s # Combination 93 1243s # Combination 94 1243s # Combination 95 1243s # Combination 96 1243s # Combination 97 1243s # Combination 98 1243s # Combination 99 1243s # Combination 100 1243s # Combination 101 1243s # Combination 102 1243s # Combination 103 1243s # Combination 104 1243s # Combination 105 1243s # Combination 106 1243s # Combination 107 1243s # Combination 108 1243s # Combination 109 1243s # Combination 110 1243s # Combination 111 1243s # Combination 112 1243s # Combination 113 1243s # Combination 114 1243s # Combination 115 1243s # Combination 116 1243s # Combination 117 1243s # Combination 118 1243s # Combination 119 1243s # Combination 120 1243s # Combination 121 1243s # Combination 122 1243s # Combination 123 1243s # Combination 124 1243s # Combination 125 1243s # Combination 126 1243s # Combination 127 1243s # Combination 128 1243s # Combination 129 1243s # Combination 130 1243s # Combination 131 1243s # Combination 132 1243s # Combination 133 1243s # Combination 134 1243s # Combination 135 1243s # Combination 136 1243s # Combination 137 1243s # Combination 138 1243s # Combination 139 1243s # Combination 140 1243s # Combination 141 1243s # Combination 142 1243s # Combination 143 1243s # Combination 144 1243s # Combination 145 1243s # Combination 146 1243s # Combination 147 1243s # Combination 148 1243s # Combination 149 1243s # Combination 150 1243s # Combination 151 1243s # Combination 152 1243s # Combination 153 1243s # Combination 154 1243s # Combination 155 1243s # Combination 156 1243s # Combination 157 1243s # Combination 158 1243s # Combination 159 1243s # Combination 160 1243s # Combination 161 1243s # Combination 162 1243s # Combination 163 1243s # Combination 164 1243s # Combination 165 1243s # Combination 166 1243s # Combination 167 1243s # Combination 168 1243s # Combination 169 1243s # Combination 170 1243s # Combination 171 1243s # Combination 172 1243s # Combination 173 1243s # Combination 174 1243s # Combination 175 1243s # Combination 176 1243s # Combination 177 1243s # Combination 178 1243s # Combination 179 1243s # Combination 180 1243s # Combination 181 1243s # Combination 182 1243s # Combination 183 1243s # Combination 184 1243s # Combination 185 1243s # Combination 186 1243s # Combination 187 1243s # Combination 188 1243s # Combination 189 1243s # Combination 190 1243s # Combination 191 1243s # Combination 192 1243s # Combination 193 1243s # Combination 194 1243s # Combination 195 1243s # Combination 196 1243s # Combination 197 1243s # Combination 198 1243s # Combination 199 1243s # Combination 200 1243s # Combination 201 1243s # Combination 202 1243s # Combination 203 1243s # Combination 204 1243s # Combination 205 1243s # Combination 206 1243s # Combination 207 1243s # Combination 208 1243s # Combination 209 1243s # Combination 210 1243s # Combination 211 1243s # Combination 212 1243s # Combination 213 1243s # Combination 214 1243s # Combination 215 1243s # Combination 216 1243s # Combination 217 1243s # Combination 218 1243s # Combination 219 1243s # Combination 220 1243s # Combination 221 1243s # Combination 222 1243s # Combination 223 1243s # Combination 224 1243s # Combination 225 1243s # Combination 226 1243s # Combination 227 1243s # Combination 228 1243s # Combination 229 1243s # Combination 230 1243s # Combination 231 1243s # Combination 232 1243s # Combination 233 1243s # Combination 234 1243s # Combination 235 1243s # Combination 236 1243s # Combination 237 1243s # Combination 238 1243s # Combination 239 1243s # Combination 240 1243s # Combination 241 1243s # Combination 242 1243s # Combination 243 1243s # Combination 244 1243s # Combination 245 1243s # Combination 246 1243s # Combination 247 1243s # Combination 248 1243s # Combination 249 1243s # Combination 250 1243s # Combination 251 1243s # Combination 252 1243s # Combination 253 1243s # Combination 254 1243s # Combination 255 1243s ok 15 /uri/join-split-round-trip 1243s ok 16 /uri/normalize 1243s # Start of unescape-bytes tests 1243s # Test 0: %00%00 1243s # Test 1: /cursors/none.png 1243s # Test 2: /cursors%2fbad-subdir/none.png 1243s # Test 3: %% 1243s # Test 4: % 1243s ok 17 /uri/unescape-bytes/nul-terminated 1243s # Test 0: %00%00 1243s # Test 1: /cursors/none.png 1243s # Test 2: /cursors%2fbad-subdir/none.png 1243s # Test 3: %% 1243s # Test 4: % 1243s ok 18 /uri/unescape-bytes/length 1243s # End of unescape-bytes tests 1243s # Start of parsing tests 1243s # Test 0: foo: 1243s # Test 1: file:/dev/null 1243s # Test 2: file:///dev/null 1243s # Test 3: ftp://user@host/path 1243s # Test 4: ftp://user@host:9999/path 1243s # Test 5: ftp://user:password@host/path 1243s # Test 6: ftp://user:password@host:9999/path 1243s # Test 7: ftp://user:password@host 1243s # Test 8: http://us%65r@host 1243s # Test 9: http://us%40r@host 1243s # Test 10: http://us%3ar@host 1243s # Test 11: http://us%2fr@host 1243s # Test 12: http://us%3fr@host 1243s # Test 13: http://host?query 1243s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1243s # 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 1243s # Test 16: http://space/%20 1243s # Test 17: http://delims/%3C%3E%23%25%22 1243s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1243s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1243s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1243s # Test 21: http://[3ffe:2a00:100:7031::1] 1243s # Test 22: http://[1080::8:800:200C:417A]/foo 1243s # Test 23: http://[::192.9.5.5]/ipng 1243s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1243s # Test 25: http://[2010:836B:4179::836B:4179] 1243s # Test 26: http://host/path with spaces 1243s # Test 27: http://host/path 1243s # Test 28: http://host/path 1243s # Test 29: http://host 1243s # Test 30: http://host:999 1243s # Test 31: http://host/pa 1243s # th 1243s # Test 32: http: 1243s # //host/path 1243s # Test 33: http:// host/path 1243s # Test 34: http://host/path? 1243s # Test 35: http://host/path# 1243s # Test 36: http://host/path% 1243s # Test 37: http://h%ost/path 1243s # Test 38: http://host/path%% 1243s # Test 39: http://host/path%%% 1243s # Test 40: http://host/path%/x/ 1243s # Test 41: http://host/path%0x/ 1243s # Test 42: http://host/path%ax 1243s # Test 43: http://host/p?th/ 1243s # Test 44: HTTP://////////////// 1243s # Test 45: http://@host 1243s # Test 46: http://:@host 1243s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1243s # Test 48: http://example.com/.. 1243s # Test 49: foo0://host/path 1243s # Test 50: f0.o://host/path 1243s # Test 51: http++://host/path 1243s # Test 52: http-ish://host/path 1243s # Test 53: http://[fe80::dead:beef%]/ 1243s # Test 54: http://[fe80::dead:beef%em1]/ 1243s # Test 55: http://[fe80::dead:beef%em1]/ 1243s # Test 56: http://[fe80::dead:beef%25em1]/ 1243s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1243s # Test 58: http://[fe80::dead:beef%25em%31]/ 1243s # Test 59: http://[fe80::dead:beef%10]/ 1243s # Test 60: http://[fe80::dead:beef%10]/ 1243s # Test 61: http://[fe80::dead:beef%25]/ 1243s # Test 62: http://[fe80::dead:beef%25]/ 1243s # Test 63: http://[192.168.0.1%25em1]/ 1243s # Test 64: http://[fe80::dead:beef%2em1]/ 1243s # Test 65: http://[fe80::dead:beef%2em1]/ 1243s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1243s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1243s # Test 68: http://xn--mixed-?p/ 1243s ok 19 /uri/parsing/absolute 1243s ok 20 /uri/parsing/relative 1243s # End of parsing tests 1243s # Start of iter-params tests 1243s # URI 0: p1=foo&p2=bar;p3=baz 1243s # URI 1: p1=foo&p2=bar 1243s # URI 2: p1=foo&&P1=bar 1243s # URI 3: %00=foo 1243s # URI 4: p1=%00 1243s # URI 5: p1=foo&p1=bar 1243s # URI 6: p1=foo&P1=bar 1243s # URI 7: =% 1243s # URI 8: = 1243s # URI 9: foo 1243s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1243s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1243s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1243s ok 21 /uri/iter-params/nul-terminated 1243s # URI 0: p1=foo&p2=bar;p3=baz 1243s # URI 1: p1=foo&p2=bar 1243s # URI 2: p1=foo&&P1=bar 1243s # URI 3: %00=foo 1243s # URI 4: p1=%00 1243s # URI 5: p1=foo&p1=bar 1243s # URI 6: p1=foo&P1=bar 1243s # URI 7: =% 1243s # URI 8: = 1243s # URI 9: foo 1243s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1243s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1243s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1243s ok 22 /uri/iter-params/length 1243s # End of iter-params tests 1243s # Start of parse-params tests 1243s # URI 0: p1=foo&p2=bar;p3=baz 1243s # URI 1: p1=foo&p2=bar 1243s # URI 2: p1=foo&&P1=bar 1243s # URI 3: %00=foo 1243s # URI 4: p1=%00 1243s # URI 5: p1=foo&p1=bar 1243s # URI 6: p1=foo&P1=bar 1243s # URI 7: =% 1243s # URI 8: = 1243s # URI 9: foo 1243s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1243s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1243s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1243s ok 23 /uri/parse-params/nul-terminated 1243s # URI 0: p1=foo&p2=bar;p3=baz 1243s # URI 1: p1=foo&p2=bar 1243s # URI 2: p1=foo&&P1=bar 1243s # URI 3: %00=foo 1243s # URI 4: p1=%00 1243s # URI 5: p1=foo&p1=bar 1243s # URI 6: p1=foo&P1=bar 1243s # URI 7: =% 1243s # URI 8: = 1243s # URI 9: foo 1243s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1243s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1243s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1243s ok 24 /uri/parse-params/length 1243s # End of parse-params tests 1243s # End of uri tests 1243s ok - glib/uri.test 1243s # Running test: glib/base64.test 1243s TAP version 13 1243s # random seed: R02Sf68e6fecfa1c473eb2f3f1d16d5e992b 1243s 1..28 1243s # Start of base64 tests 1243s ok 1 /base64/encode 1243s ok 2 /base64/decode 1243s ok 3 /base64/decode-inplace 1243s ok 4 /base64/encode-decode 1243s # Start of full tests 1243s ok 5 /base64/full/1 1243s ok 6 /base64/full/2 1243s ok 7 /base64/full/3 1243s ok 8 /base64/full/4 1243s # End of full tests 1243s # Start of encode tests 1243s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1243s ok 9 /base64/encode/empty 1243s # Start of incremental tests 1243s # Start of small-block tests 1243s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1243s ok 10 /base64/encode/incremental/small-block/1 1243s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1243s ok 11 /base64/encode/incremental/small-block/2 1243s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1243s ok 12 /base64/encode/incremental/small-block/3 1243s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1243s ok 13 /base64/encode/incremental/small-block/4 1243s # End of small-block tests 1243s # End of incremental tests 1243s # End of encode tests 1243s # Start of incremental tests 1243s # Start of nobreak tests 1243s ok 14 /base64/incremental/nobreak/1 1243s ok 15 /base64/incremental/nobreak/2 1243s ok 16 /base64/incremental/nobreak/3 1243s ok 17 /base64/incremental/nobreak/4-a 1243s ok 18 /base64/incremental/nobreak/4-b 1243s ok 19 /base64/incremental/nobreak/4-c 1243s # End of nobreak tests 1243s # Start of break tests 1243s ok 20 /base64/incremental/break/1 1243s ok 21 /base64/incremental/break/2 1243s ok 22 /base64/incremental/break/3 1243s # End of break tests 1243s # Start of smallblock tests 1243s ok 23 /base64/incremental/smallblock/1 1243s ok 24 /base64/incremental/smallblock/2 1243s ok 25 /base64/incremental/smallblock/3 1243s ok 26 /base64/incremental/smallblock/4 1243s # End of smallblock tests 1243s # End of incremental tests 1243s # Start of decode tests 1243s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1243s ok 27 /base64/decode/empty 1243s # End of decode tests 1243s # Start of encode-decode tests 1243s # Vector 0: 1243s # Vector 1: f 1243s # Vector 2: fo 1243s # Vector 3: foo 1243s # Vector 4: foob 1243s # Vector 5: fooba 1243s # Vector 6: foobar 1243s ok 28 /base64/encode-decode/rfc4648 1243s # End of encode-decode tests 1243s # End of base64 tests 1243s ok - glib/base64.test 1243s # Running test: glib/tls-database.test 1243s TAP version 13 1243s # random seed: R02S235b10b28439f59e0e9dc20459caee49 1243s 1..1 1243s # Start of tls-backend tests 1243s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1243s ok 1 /tls-backend/set-default-database 1243s # End of tls-backend tests 1243s ok - glib/tls-database.test 1243s # Running test: glib/once.test 1243s TAP version 13 1243s # random seed: R02S5e6c1d2c1bc443b825da15f95bd93aba 1243s 1..5 1243s # Start of once tests 1243s # /once/single-threaded summary: Test g_once() usage from a single thread 1243s ok 1 /once/single-threaded 1243s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1243s ok 2 /once/multi-threaded 1243s # End of once tests 1243s # Start of once-init tests 1243s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1243s ok 3 /once-init/single-threaded 1243s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1243s ok 4 /once-init/multi-threaded 1243s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1243s ok 5 /once-init/string 1243s # End of once-init tests 1243s ok - glib/once.test 1243s # Running test: glib/enums.test 1243s TAP version 13 1243s # random seed: R02S4d5abcf4804f8682408ba54f87e4e9d4 1243s 1..4 1243s # Start of enum tests 1243s ok 1 /enum/basic 1243s ok 2 /enum/define-type 1243s # End of enum tests 1243s # Start of flags tests 1243s ok 3 /flags/basic 1243s ok 4 /flags/define-type 1243s # End of flags tests 1243s ok - glib/enums.test 1243s # Running test: glib/gdbus-proxy-threads.test 1243s TAP version 13 1243s # random seed: R02S698f43b427be173dec9e04a0ba68bfda 1243s 1..1 1243s # Start of gdbus tests 1243s # Start of proxy tests 1243s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_920IK2/gdbus/proxy/vs-threads/.dirs/home 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_920IK2/gdbus/proxy/vs-threads/.dirs/cache 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_920IK2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_920IK2/gdbus/proxy/vs-threads/.dirs/system-config2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_920IK2/gdbus/proxy/vs-threads/.dirs/config 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_920IK2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_920IK2/gdbus/proxy/vs-threads/.dirs/system-data2 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_920IK2/gdbus/proxy/vs-threads/.dirs/data 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_920IK2/gdbus/proxy/vs-threads/.dirs/state 1243s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_920IK2/gdbus/proxy/vs-threads/.dirs/runtime 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # Executing: glib/gdbus-proxy-threads.test 1247s ok 1 /gdbus/proxy/vs-threads 1247s # slow test /gdbus/proxy/vs-threads executed in 3.65 secs 1247s # End of proxy tests 1247s # End of gdbus tests 1247s cleaning up pid 10991 1247s ok - glib/gdbus-proxy-threads.test 1247s # Running test: glib/data-input-stream.test 1247s TAP version 13 1247s # random seed: R02S3c5e5ab5905dd2c1d47fc4de4ba47e1f 1247s 1..10 1247s # Start of data-input-stream tests 1247s ok 1 /data-input-stream/basic 1247s ok 2 /data-input-stream/read-lines-LF 1247s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1247s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1247s ok 5 /data-input-stream/read-lines-CR 1247s ok 6 /data-input-stream/read-lines-CR-LF 1247s ok 7 /data-input-stream/read-lines-any 1247s ok 8 /data-input-stream/read-until 1247s ok 9 /data-input-stream/read-upto 1247s ok 10 /data-input-stream/read-int 1247s # End of data-input-stream tests 1247s ok - glib/data-input-stream.test 1247s # Running test: glib/1bit-mutex.test 1247s TAP version 13 1247s # random seed: R02Sad0f80c3347b6c5e1b01462c6d97e5c8 1247s 1..2 1247s # Start of glib tests 1247s # Start of 1bit-mutex tests 1250s # Executing: glib/1bit-mutex.test 1255s # Executing: glib/1bit-mutex.test 1256s ok 1 /glib/1bit-mutex/int 1256s # slow test /glib/1bit-mutex/int executed in 9.39 secs 1260s # Executing: glib/1bit-mutex.test 1265s # Executing: glib/1bit-mutex.test 1266s ok 2 /glib/1bit-mutex/pointer 1266s # slow test /glib/1bit-mutex/pointer executed in 9.59 secs 1266s # End of 1bit-mutex tests 1266s # End of glib tests 1266s ok - glib/1bit-mutex.test 1266s # Running test: glib/gmenumodel.test 1266s TAP version 13 1266s # random seed: R02S95ac2736984e33aef3e8d3357ba94334 1266s 1..14 1266s # Start of gmenu tests 1268s ok 1 /gmenu/equality 1268s # slow test /gmenu/equality executed in 1.87 secs 1270s # Executing: glib/gmenumodel.test 1270s ok 2 /gmenu/random 1270s # slow test /gmenu/random executed in 2.41 secs 1270s ok 3 /gmenu/attributes 1270s ok 4 /gmenu/links 1270s ok 5 /gmenu/mutable 1270s ok 6 /gmenu/convenience 1270s ok 7 /gmenu/menuitem 1270s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1270s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1270s ok 8 /gmenu/input-validation 1270s # Start of dbus tests 1270s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1271s ok 9 /gmenu/dbus/roundtrip 1271s # slow test /gmenu/dbus/roundtrip executed in 1.06 secs 1272s ok 10 /gmenu/dbus/subscriptions 1274s ok 11 /gmenu/dbus/threaded 1274s # slow test /gmenu/dbus/threaded executed in 2.62 secs 1274s # Start of peer tests 1275s # Executing: glib/gmenumodel.test 1275s ok 12 /gmenu/dbus/peer/roundtrip 1275s # slow test /gmenu/dbus/peer/roundtrip executed in 1.06 secs 1275s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 1275s # End of peer tests 1275s # End of dbus tests 1275s # Start of attributes tests 1275s ok 14 /gmenu/attributes/iterate 1275s # End of attributes tests 1275s # End of gmenu tests 1275s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1276s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1276s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1276s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1276s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1276s ok - glib/gmenumodel.test 1276s # Running test: glib/guuid.test 1276s TAP version 13 1276s # random seed: R02Sd2bcbf9afef850041eeaee8f7467fdd8 1276s 1..2 1276s # Start of uuid tests 1276s ok 1 /uuid/string 1276s ok 2 /uuid/random 1276s # End of uuid tests 1276s ok - glib/guuid.test 1276s # Running test: glib/cxx-98.test 1276s TAP version 13 1276s # random seed: R02S2ccda1f043dd8bd09478319dfd991502 1276s 1..2 1276s # Start of gtask tests 1276s # 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. 1276s ok 1 /gtask/name 1276s # Start of name tests 1276s # 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. 1276s ok 2 /gtask/name/macro-wrapper 1276s # End of name tests 1276s # End of gtask tests 1276s ok - glib/cxx-98.test 1276s # Running test: glib/network-address.test 1276s TAP version 13 1276s # random seed: R02S9bbe6f336c2304692b95613baae92bb4 1276s 1..72 1276s # Start of network-address tests 1276s ok 1 /network-address/basic 1276s ok 2 /network-address/scope-id 1276s ok 3 /network-address/uri-scope-id 1276s ok 4 /network-address/to-string 1276s # Start of parse-host tests 1276s ok 5 /network-address/parse-host/0 1276s ok 6 /network-address/parse-host/1 1276s ok 7 /network-address/parse-host/2 1276s ok 8 /network-address/parse-host/3 1276s ok 9 /network-address/parse-host/4 1276s ok 10 /network-address/parse-host/5 1276s ok 11 /network-address/parse-host/6 1276s ok 12 /network-address/parse-host/7 1276s ok 13 /network-address/parse-host/8 1276s ok 14 /network-address/parse-host/9 1276s ok 15 /network-address/parse-host/10 1276s ok 16 /network-address/parse-host/11 1276s ok 17 /network-address/parse-host/12 1276s ok 18 /network-address/parse-host/13 1276s # End of parse-host tests 1276s # Start of parse-uri tests 1276s ok 19 /network-address/parse-uri/0 1276s ok 20 /network-address/parse-uri/1 1276s ok 21 /network-address/parse-uri/2 1276s ok 22 /network-address/parse-uri/3 1276s ok 23 /network-address/parse-uri/4 1276s ok 24 /network-address/parse-uri/5 1276s ok 25 /network-address/parse-uri/6 1276s ok 26 /network-address/parse-uri/7 1276s ok 27 /network-address/parse-uri/8 1276s ok 28 /network-address/parse-uri/9 1276s # End of parse-uri tests 1276s # Start of resolve-address tests 1276s # Input: 192.168.1.2 1276s ok 29 /network-address/resolve-address/0 1276s # Input: fe80::42 1276s ok 30 /network-address/resolve-address/1 1276s # Input: 192.168.1.2:80 1276s ok 31 /network-address/resolve-address/2 1276s # Input: [fe80::42] 1276s ok 32 /network-address/resolve-address/3 1276s # Input: [fe80::42]:80 1276s ok 33 /network-address/resolve-address/4 1276s # Input: 192.168.258 1276s ok 34 /network-address/resolve-address/5 1276s # Input: 192.11010306 1276s ok 35 /network-address/resolve-address/6 1276s # Input: 3232235778 1276s ok 36 /network-address/resolve-address/7 1276s # Input: 0300.0250.0001.0001 1276s ok 37 /network-address/resolve-address/8 1276s # Input: 0xC0.0xA8.0x01.0x02 1276s ok 38 /network-address/resolve-address/9 1276s # Input: 0xc0.0xa8.0x01.0x02 1276s ok 39 /network-address/resolve-address/10 1276s # Input: 0xc0a80102 1276s ok 40 /network-address/resolve-address/11 1276s # End of resolve-address tests 1276s # Start of loopback tests 1276s ok 41 /network-address/loopback/basic 1276s ok 42 /network-address/loopback/sync 1276s ok 43 /network-address/loopback/async 1276s # End of loopback tests 1276s # Start of localhost tests 1276s ok 44 /network-address/localhost/async 1276s ok 45 /network-address/localhost/sync 1276s # End of localhost tests 1276s # Start of happy-eyeballs tests 1276s ok 46 /network-address/happy-eyeballs/basic 1276s ok 47 /network-address/happy-eyeballs/parallel 1276s ok 48 /network-address/happy-eyeballs/slow-ipv4 1276s ok 49 /network-address/happy-eyeballs/slow-ipv6 1276s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1277s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1277s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1277s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1277s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1277s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1277s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1277s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1277s # /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. 1277s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1277s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1277s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1277s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1277s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1277s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1277s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1277s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1277s ok 57 /network-address/happy-eyeballs/both-error 1277s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1277s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1277s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1277s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1277s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1277s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1277s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1277s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1277s # End of happy-eyeballs tests 1277s # End of network-address tests 1277s # Start of gresolver tests 1277s # Start of resolve-address tests 1277s # Input: 192.168.1.2 1277s ok 61 /gresolver/resolve-address/0 1277s # Input: fe80::42 1277s ok 62 /gresolver/resolve-address/1 1277s # Input: 192.168.1.2:80 1277s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1277s ok 63 /gresolver/resolve-address/2 1277s # Input: [fe80::42] 1277s # Error: Error resolving ?[fe80::42]?: Name or service not known 1277s ok 64 /gresolver/resolve-address/3 1277s # Input: [fe80::42]:80 1277s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1277s ok 65 /gresolver/resolve-address/4 1277s # Input: 192.168.258 1277s # Error: Error resolving ?192.168.258?: Name or service not known 1277s ok 66 /gresolver/resolve-address/5 1277s # Input: 192.11010306 1277s # Error: Error resolving ?192.11010306?: Name or service not known 1277s ok 67 /gresolver/resolve-address/6 1277s # Input: 3232235778 1277s # Error: Error resolving ?3232235778?: Name or service not known 1277s ok 68 /gresolver/resolve-address/7 1277s # Input: 0300.0250.0001.0001 1277s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1277s ok 69 /gresolver/resolve-address/8 1277s # Input: 0xC0.0xA8.0x01.0x02 1277s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1277s ok 70 /gresolver/resolve-address/9 1277s # Input: 0xc0.0xa8.0x01.0x02 1277s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1277s ok 71 /gresolver/resolve-address/10 1277s # Input: 0xc0a80102 1277s # Error: Error resolving ?0xc0a80102?: Name or service not known 1277s ok 72 /gresolver/resolve-address/11 1277s # End of resolve-address tests 1277s # End of gresolver tests 1277s ok - glib/network-address.test 1277s # Running test: glib/override.test 1277s TAP version 13 1277s # random seed: R02S285fd2be0892798abb9184a73ef36d3e 1277s 1..1 1277s # Start of gobject tests 1277s # *** emitting foo on a TestA instance 1277s # Expecting: TestA::foo,TestI::foo 1277s # Got: TestA::foo,TestI::foo 1277s # *** emitting bar on a TestA instance 1277s # Expecting: TestA::bar 1277s # Got: TestA::bar 1277s # *** emitting baz on a TestA instance 1277s # Expecting: TestA::baz 1277s # Got: TestA::baz 1277s # *** emitting foo on a TestB instance 1277s # Expecting: TestB::foo,TestA::foo,TestI::foo 1277s # Got: TestB::foo,TestA::foo,TestI::foo 1277s # *** emitting bar on a TestB instance 1277s # Expecting: TestB::bar,TestA::bar 1277s # Got: TestB::bar,TestA::bar 1277s # *** emitting baz on a TestB instance 1277s # Expecting: TestB::baz,TestA::baz 1277s # Got: TestB::baz,TestA::baz 1277s # *** emitting foo on a TestC instance 1277s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1277s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1277s # *** emitting bar on a TestC instance 1277s # Expecting: TestC::bar,TestB::bar,TestA::bar 1277s # Got: TestC::bar,TestB::bar,TestA::bar 1277s # *** emitting baz on a TestC instance 1277s # Expecting: TestC::baz,TestB::baz,TestA::baz 1277s # Got: TestC::baz,TestB::baz,TestA::baz 1277s ok 1 /gobject/override 1277s # End of gobject tests 1277s ok - glib/override.test 1277s # Running test: glib/gdbus-connection.test 1277s TAP version 13 1277s # random seed: R02S0450960eee991a70f5c74d47328cf4d9 1277s 1..9 1277s # Start of gdbus tests 1277s # Start of connection tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/bus-failure/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/bus-failure/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/bus-failure/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/bus-failure/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/bus-failure/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/bus-failure/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/bus-failure/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/bus-failure/.dirs/runtime 1277s ok 1 /gdbus/connection/bus-failure 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/basic/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/basic/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/basic/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/basic/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/basic/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/basic/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/basic/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/basic/.dirs/runtime 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1277s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s ok 2 /gdbus/connection/basic 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/life-cycle/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/life-cycle/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/life-cycle/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/life-cycle/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/life-cycle/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/life-cycle/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/life-cycle/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/life-cycle/.dirs/runtime 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1277s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s ok 3 /gdbus/connection/life-cycle 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/send/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/send/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/send/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/send/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/send/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/send/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/send/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/send/.dirs/runtime 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1277s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s ok 4 /gdbus/connection/send 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signals/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signals/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signals/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signals/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signals/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signals/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signals/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signals/.dirs/runtime 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1277s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s ok 5 /gdbus/connection/signals 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signal-match-rules/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signal-match-rules/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signal-match-rules/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signal-match-rules/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signal-match-rules/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signal-match-rules/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signal-match-rules/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/signal-match-rules/.dirs/runtime 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1277s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s ok 6 /gdbus/connection/signal-match-rules 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/filter/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/filter/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/filter/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/filter/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/filter/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/filter/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/filter/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/filter/.dirs/runtime 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1277s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s ok 7 /gdbus/connection/filter 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/serials/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/serials/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/serials/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/serials/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/serials/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/serials/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/serials/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/serials/.dirs/runtime 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1277s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s ok 8 /gdbus/connection/serials 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/cancel/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/cancel/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/cancel/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/cancel/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_GGUIK2/gdbus/connection/cancel/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/cancel/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/cancel/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_GGUIK2/gdbus/connection/cancel/.dirs/runtime 1277s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1277s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1277s ok 9 /gdbus/connection/cancel 1277s # End of connection tests 1277s # End of gdbus tests 1277s ok - glib/gdbus-connection.test 1277s # Running test: glib/resources.test 1277s TAP version 13 1277s # random seed: R02Sd2c91e8e6f949ff0c4fff21a7002c5e5 1277s 1..17 1277s # Start of resource tests 1277s ok 1 /resource/file 1277s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1277s ok 2 /resource/file-path 1277s ok 3 /resource/data 1277s ok 4 /resource/data_unaligned 1277s ok 5 /resource/data-corrupt 1277s ok 6 /resource/data-empty 1277s ok 7 /resource/registered 1277s ok 8 /resource/manual 1277s ok 9 /resource/manual2 1277s ok 10 /resource/automatic 1277s ok 11 /resource/module 1277s ok 12 /resource/binary-linked 1277s ok 13 /resource/64k 1277s GLib-GIO-Message: 17:38:05.638: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1277s ok 14 /resource/overlay 1277s ok 15 /resource/digits 1277s # Start of uri tests 1277s ok 16 /resource/uri/query-info 1277s ok 17 /resource/uri/file 1277s # End of uri tests 1277s # End of resource tests 1277s ok - glib/resources.test 1277s # Running test: glib/cxx-14.test 1277s TAP version 13 1277s # random seed: R02Se33bdbb5cdd1ffdd549e871d6334e499 1277s 1..2 1277s # Start of gtask tests 1277s # 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. 1277s ok 1 /gtask/name 1277s # Start of name tests 1277s # 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. 1277s ok 2 /gtask/name/macro-wrapper 1277s # End of name tests 1277s # End of gtask tests 1277s ok - glib/cxx-14.test 1277s # Running test: glib/fileutils.test 1277s TAP version 13 1277s # random seed: R02Sdd78c742834ca8a5c27904617fb8bc63 1277s 1..27 1277s # Start of fileutils tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/paths/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/paths/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/paths/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/paths/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/paths/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/paths/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/paths/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/paths/.dirs/runtime 1277s ok 1 /fileutils/paths 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-path/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-path/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/build-path/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-path/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/build-path/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-path/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-path/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/build-path/.dirs/runtime 1277s ok 2 /fileutils/build-path 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-pathv/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-pathv/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/build-pathv/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-pathv/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/build-pathv/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-pathv/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-pathv/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/build-pathv/.dirs/runtime 1277s ok 3 /fileutils/build-pathv 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-filename/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-filename/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/build-filename/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-filename/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/build-filename/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-filename/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-filename/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/build-filename/.dirs/runtime 1277s ok 4 /fileutils/build-filename 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-filenamev/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-filenamev/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/build-filenamev/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-filenamev/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/build-filenamev/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-filenamev/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/build-filenamev/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/build-filenamev/.dirs/runtime 1277s ok 5 /fileutils/build-filenamev 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents/.dirs/runtime 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s ok 6 /fileutils/mkdir-with-parents 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents-permission/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents-permission/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents-permission/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents-permission/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents-permission/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s ok 7 /fileutils/mkdir-with-parents-permission 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/format-size-for-display/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/format-size-for-display/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/format-size-for-display/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/format-size-for-display/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/format-size-for-display/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/format-size-for-display/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/format-size-for-display/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/format-size-for-display/.dirs/runtime 1277s ok 8 /fileutils/format-size-for-display 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/errors/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/errors/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/errors/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/errors/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/errors/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/errors/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/errors/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/errors/.dirs/runtime 1277s ok 9 /fileutils/errors 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/basename/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/basename/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/basename/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/basename/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/basename/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/basename/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/basename/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/basename/.dirs/runtime 1277s ok 10 /fileutils/basename 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-basename/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-basename/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/get-basename/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-basename/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/get-basename/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-basename/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-basename/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/get-basename/.dirs/runtime 1277s ok 11 /fileutils/get-basename 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/dirname/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/dirname/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/dirname/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/dirname/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/dirname/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/dirname/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/dirname/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/dirname/.dirs/runtime 1277s ok 12 /fileutils/dirname 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/dir-make-tmp/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/dir-make-tmp/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/dir-make-tmp/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/dir-make-tmp/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/dir-make-tmp/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/dir-make-tmp/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/dir-make-tmp/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/dir-make-tmp/.dirs/runtime 1277s ok 13 /fileutils/dir-make-tmp 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/file-open-tmp/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/file-open-tmp/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/file-open-tmp/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/file-open-tmp/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/file-open-tmp/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/file-open-tmp/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/file-open-tmp/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/file-open-tmp/.dirs/runtime 1277s ok 14 /fileutils/file-open-tmp 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/file-test/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/file-test/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/file-test/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/file-test/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/file-test/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/file-test/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/file-test/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/file-test/.dirs/runtime 1277s ok 15 /fileutils/file-test 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkstemp/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkstemp/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/mkstemp/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkstemp/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/mkstemp/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkstemp/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkstemp/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/mkstemp/.dirs/runtime 1277s ok 16 /fileutils/mkstemp 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdtemp/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdtemp/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/mkdtemp/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdtemp/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/mkdtemp/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdtemp/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/mkdtemp/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/mkdtemp/.dirs/runtime 1277s ok 17 /fileutils/mkdtemp 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-contents/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-contents/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/get-contents/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-contents/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/get-contents/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-contents/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-contents/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/get-contents/.dirs/runtime 1277s ok 18 /fileutils/get-contents 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-contents-large-file/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-contents-large-file/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/get-contents-large-file/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-contents-large-file/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/get-contents-large-file/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-contents-large-file/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/get-contents-large-file/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/get-contents-large-file/.dirs/runtime 1277s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/set-contents/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/set-contents/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/set-contents/.dirs/runtime 1277s ok 20 /fileutils/set-contents 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/.dirs/runtime 1277s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1277s # Flags 0 and test 0 1277s # Flags 0 and test 1 1277s # Flags 0 and test 2 1277s # Flags 0 and test 3 1277s # Flags 0 and test 4 1277s # Flags 0 and test 5 1277s # Flags 1 and test 0 1277s # Flags 1 and test 1 1277s # Flags 1 and test 2 1277s # Flags 1 and test 3 1277s # Flags 1 and test 4 1277s # Flags 1 and test 5 1277s # Flags 2 and test 0 1277s # Flags 2 and test 1 1277s # Flags 2 and test 2 1277s # Flags 2 and test 3 1277s # Flags 2 and test 4 1277s # Flags 2 and test 5 1277s # Flags 3 and test 0 1277s # Flags 3 and test 1 1277s # Flags 3 and test 2 1277s # Flags 3 and test 3 1277s # Flags 3 and test 4 1277s # Flags 3 and test 5 1277s # Flags 4 and test 0 1277s # Flags 4 and test 1 1277s # Flags 4 and test 2 1277s # Flags 4 and test 3 1277s # Flags 4 and test 4 1277s # Flags 4 and test 5 1277s # Flags 5 and test 0 1277s # Flags 5 and test 1 1277s # Flags 5 and test 2 1277s # Flags 5 and test 3 1277s # Flags 5 and test 4 1277s # Flags 5 and test 5 1277s # Flags 6 and test 0 1277s # Flags 6 and test 1 1277s # Flags 6 and test 2 1277s # Flags 6 and test 3 1277s # Flags 6 and test 4 1277s # Flags 6 and test 5 1277s ok 21 /fileutils/set-contents-full 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/read-link/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/read-link/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/read-link/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/read-link/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/read-link/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/read-link/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/read-link/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/read-link/.dirs/runtime 1277s ok 22 /fileutils/read-link 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/stdio-wrappers/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/stdio-wrappers/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/stdio-wrappers/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/stdio-wrappers/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/stdio-wrappers/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/stdio-wrappers/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/stdio-wrappers/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/stdio-wrappers/.dirs/runtime 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s ok 23 /fileutils/stdio-wrappers 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/fopen-modes/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/fopen-modes/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/fopen-modes/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/fopen-modes/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/fopen-modes/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/fopen-modes/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/fopen-modes/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/fopen-modes/.dirs/runtime 1277s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1277s # Testing fopen() mode 'w' 1277s # Testing fopen() mode 'r' 1277s # Testing fopen() mode 'a' 1277s # Testing fopen() mode 'w+' 1277s # Testing fopen() mode 'r+' 1277s # Testing fopen() mode 'a+' 1277s # Testing fopen() mode 'wb' 1277s # Testing fopen() mode 'rb' 1277s # Testing fopen() mode 'ab' 1277s # Testing fopen() mode 'w+b' 1277s # Testing fopen() mode 'r+b' 1277s # Testing fopen() mode 'a+b' 1277s # Testing fopen() mode 'wb+' 1277s # Testing fopen() mode 'rb+' 1277s # Testing fopen() mode 'ab+' 1277s ok 24 /fileutils/fopen-modes 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/clear-fd/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/clear-fd/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/clear-fd/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/clear-fd/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/clear-fd/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/clear-fd/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/clear-fd/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/clear-fd/.dirs/runtime 1277s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1277s # Will be closed by autocleanup: 3, -42 1277s # Testing error handling 1277s ok 25 /fileutils/clear-fd 1277s # Start of set-contents-full tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-file/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-file/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-file/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-file/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-file/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1277s ok 26 /fileutils/set-contents-full/read-only-file 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-directory/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-directory/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-directory/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-directory/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TQNKK2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1277s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1277s # Flags 0 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s # Flags 1 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s # Flags 2 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s # Flags 3 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s # Flags 4 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s # Flags 5 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s # Flags 6 1277s # We do not have CAP_DAC_OVERRIDE or equivalent 1277s ok 27 /fileutils/set-contents-full/read-only-directory 1277s # End of set-contents-full tests 1277s # Start of clear-fd tests 1277s # Start of subprocess tests 1277s # End of subprocess tests 1277s # End of clear-fd tests 1277s # End of fileutils tests 1277s ok - glib/fileutils.test 1277s # Running test: glib/gdbus-serialization.test 1277s TAP version 13 1277s # random seed: R02S0968c32248ba0af4bf8662050866c029 1277s 1..18 1277s # Start of gdbus tests 1277s # Start of message-serialize tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/basic/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/basic/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/basic/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/basic/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/basic/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/basic/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/basic/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/basic/.dirs/runtime 1277s ok 1 /gdbus/message-serialize/basic 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/complex/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/complex/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/complex/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/complex/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/complex/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/complex/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/complex/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/complex/.dirs/runtime 1277s ok 2 /gdbus/message-serialize/complex 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/invalid/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/invalid/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/invalid/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/invalid/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/invalid/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/invalid/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/invalid/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/invalid/.dirs/runtime 1277s ok 3 /gdbus/message-serialize/invalid 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/.dirs/runtime 1277s ok 4 /gdbus/message-serialize/header-checks 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/double-array/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/double-array/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/double-array/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/double-array/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/double-array/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/double-array/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/double-array/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/double-array/.dirs/runtime 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1277s ok 5 /gdbus/message-serialize/double-array 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/empty-structure/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/empty-structure/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/empty-structure/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/empty-structure/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/empty-structure/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/empty-structure/.dirs/runtime 1277s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1277s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1277s ok 6 /gdbus/message-serialize/empty-structure 1277s # Start of header-checks tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/valid/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/valid/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/valid/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/valid/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1277s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1277s ok 7 /gdbus/message-serialize/header-checks/valid 1277s # End of header-checks tests 1277s # End of message-serialize tests 1277s # Start of message-parse tests 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1277s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/non-signature-header/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/non-signature-header/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/non-signature-header/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/non-signature-header/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/non-signature-header/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/non-signature-header/.dirs/runtime 1277s ok 9 /gdbus/message-parse/non-signature-header 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-signature-header/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-signature-header/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-signature-header/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-signature-header/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-signature-header/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1277s ok 10 /gdbus/message-parse/empty-signature-header 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/multiple-signature-header/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/multiple-signature-header/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/multiple-signature-header/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/multiple-signature-header/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1277s ok 11 /gdbus/message-parse/multiple-signature-header 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/over-long-signature-header/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/over-long-signature-header/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/over-long-signature-header/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/over-long-signature-header/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1277s ok 12 /gdbus/message-parse/over-long-signature-header 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-header-nesting/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-header-nesting/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-header-nesting/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-header-nesting/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1277s ok 13 /gdbus/message-parse/deep-header-nesting 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-body-nesting/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-body-nesting/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-body-nesting/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-body-nesting/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1277s ok 14 /gdbus/message-parse/deep-body-nesting 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/truncated/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/truncated/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/truncated/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/truncated/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/truncated/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/truncated/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/truncated/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/truncated/.dirs/runtime 1277s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1277s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1277s ok 15 /gdbus/message-parse/truncated 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-structure/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-structure/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-structure/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-structure/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-structure/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-structure/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-structure/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/empty-structure/.dirs/runtime 1277s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1277s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1277s ok 16 /gdbus/message-parse/empty-structure 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/missing-header/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/missing-header/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/missing-header/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/missing-header/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/missing-header/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/missing-header/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/missing-header/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/missing-header/.dirs/runtime 1277s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1277s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1277s ok 17 /gdbus/message-parse/missing-header 1277s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/invalid-header-type/.dirs/home 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/invalid-header-type/.dirs/cache 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/invalid-header-type/.dirs/config 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/invalid-header-type/.dirs/data 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/invalid-header-type/.dirs/state 1277s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_1FSMK2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1277s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1277s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1277s ok 18 /gdbus/message-parse/invalid-header-type 1277s # End of message-parse tests 1277s # End of gdbus tests 1277s ok - glib/gdbus-serialization.test 1277s # Running test: glib/utf8-misc.test 1277s TAP version 13 1277s # random seed: R02S7b41803abadd289e4ac276dbe2131611 1277s 1..7 1277s # Start of utf8 tests 1277s ok 1 /utf8/strlen 1277s ok 2 /utf8/strncpy 1277s ok 3 /utf8/strrchr 1277s ok 4 /utf8/reverse 1277s ok 5 /utf8/substring 1277s ok 6 /utf8/make-valid 1277s ok 7 /utf8/truncate-middle 1277s # End of utf8 tests 1277s ok - glib/utf8-misc.test 1277s # Running test: glib/thread.test 1277s TAP version 13 1277s # random seed: R02Sc7ac399b50c77624219757c20a5284d1 1277s 1..7 1277s # Start of thread tests 1277s ok 1 /thread/thread1 1277s ok 2 /thread/thread2 1277s ok 3 /thread/thread3 1277s ok 4 /thread/thread4 1277s ok 5 /thread/thread5 1277s ok 6 /thread/thread6 1277s ok 7 /thread/thread7 1277s # End of thread tests 1277s ok - glib/thread.test 1277s # Running test: glib/deftype.test 1277s ok - glib/deftype.test 1277s # Running test: glib/memory-input-stream.test 1277s TAP version 13 1277s # random seed: R02S551ce31c7e8fa3693b70345e4ab9a721 1277s 1..6 1277s # Start of memory-input-stream tests 1277s ok 1 /memory-input-stream/read-chunks 1277s ok 2 /memory-input-stream/async 1277s ok 3 /memory-input-stream/seek 1277s ok 4 /memory-input-stream/truncate 1277s ok 5 /memory-input-stream/read-bytes 1277s ok 6 /memory-input-stream/from-bytes 1277s # End of memory-input-stream tests 1277s ok - glib/memory-input-stream.test 1277s # Running test: glib/utils-c-99.test 1277s TAP version 13 1277s # random seed: R02S5edf65e91f5ee426da0b985c9a6d5d25 1277s 1..40 1277s # Start of utils tests 1277s ok 1 /utils/language-names 1277s ok 2 /utils/locale-variants 1277s ok 3 /utils/version 1277s ok 4 /utils/appname 1277s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1277s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1277s ok 5 /utils/prgname-thread-safety 1277s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1277s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1277s ok 6 /utils/tmpdir 1277s ok 7 /utils/basic_bits 1277s ok 8 /utils/bits 1277s ok 9 /utils/swap 1277s ok 10 /utils/find-program 1277s ok 11 /utils/find-program-for-path 1277s ok 12 /utils/debug 1277s ok 13 /utils/codeset 1277s ok 14 /utils/codeset2 1277s ok 15 /utils/console-charset 1277s ok 16 /utils/gettext 1277s ok 17 /utils/username 1277s ok 18 /utils/realname 1277s ok 19 /utils/hostname 1277s ok 20 /utils/xdgdirs 1277s ok 21 /utils/specialdir 1277s # NAME: Ubuntu 1277s ok 22 /utils/os-info 1277s ok 23 /utils/clear-pointer 1277s ok 24 /utils/clear-pointer-cast 1277s ok 25 /utils/take-pointer 1277s ok 26 /utils/clear-source 1277s ok 27 /utils/misc-mem 1277s # /utils/aligned-mem summary: Aligned memory allocator 1277s # Alignment must not be zero 1277s # Alignment must be a power of two 1277s # Alignment must be a multiple of sizeof(void*) 1277s ok 28 /utils/aligned-mem 1277s # /utils/free-sized summary: Check that g_free_sized() works 1277s ok 29 /utils/free-sized 1277s ok 30 /utils/nullify 1277s ok 31 /utils/atexit 1277s ok 32 /utils/check-setuid 1277s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1277s ok 33 /utils/int-limits 1277s ok 34 /utils/clear-list 1277s ok 35 /utils/clear-slist 1277s # Start of specialdir tests 1277s ok 36 /utils/specialdir/desktop 1277s # End of specialdir tests 1277s # Start of clear-pointer tests 1277s ok 37 /utils/clear-pointer/side-effects 1277s # End of clear-pointer tests 1277s # Start of aligned-mem tests 1277s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1277s ok 38 /utils/aligned-mem/alignment 1277s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1277s ok 39 /utils/aligned-mem/zeroed 1277s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1277s ok 40 /utils/aligned-mem/free-sized 1277s # Start of subprocess tests 1277s # End of subprocess tests 1277s # End of aligned-mem tests 1277s # End of utils tests 1277s ok - glib/utils-c-99.test 1277s # Running test: glib/pollable.test 1277s TAP version 13 1277s # random seed: R02S74959ca259e75974bb2c621a6a2538d7 1277s 1..6 1277s # Start of pollable tests 1277s ok 1 /pollable/converter 1277s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1277s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1c48b93ff790 and GSocketClientAsyncConnectData 0x1c48b93f2ad0 1277s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1277s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1277s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1c48b9400810 for GSocketClientAsyncConnectData 0x1c48b93f2ad0 1277s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1277s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1277s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1277s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1277s ok 2 /pollable/socket 1277s # Start of unix tests 1277s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1277s ok 3 /pollable/unix/pipe 1277s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1277s ok 4 /pollable/unix/pty 1277s # /pollable/unix/file summary: Test that regular files are not considered pollable 1277s ok 5 /pollable/unix/file 1277s # /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 1277s ok 6 /pollable/unix/nulldev 1277s # End of unix tests 1277s # End of pollable tests 1277s ok - glib/pollable.test 1277s # Running test: glib/simple-proxy.test 1277s TAP version 13 1277s # random seed: R02Sd36f1b3471ff6c85279abf33d75789c7 1277s 1..3 1277s # Start of static-proxy tests 1277s ok 1 /static-proxy/uri 1277s ok 2 /static-proxy/socks 1277s ok 3 /static-proxy/ignore 1277s # End of static-proxy tests 1277s ok - glib/simple-proxy.test 1277s # Running test: glib/rcbox.test 1277s TAP version 13 1277s # random seed: R02S9c4a2940457a2257a119564706ea96dc 1277s 1..8 1277s # Start of rcbox tests 1277s ok 1 /rcbox/new 1277s # global_point = 0x2dc012088d0 1277s ok 2 /rcbox/release-full 1277s # global_point_a = 0x2dc012088d0 1277s # global_point_b = 0x2dc01208890 1277s ok 3 /rcbox/dup 1277s ok 4 /rcbox/alignment 1277s # End of rcbox tests 1277s # Start of atomic-rcbox tests 1277s ok 5 /atomic-rcbox/new 1277s # global_point = 0x2dc01208aa0 1277s ok 6 /atomic-rcbox/release-full 1277s # global_point_a = 0x2dc01208aa0 1277s # global_point_b = 0x2dc01208a60 1277s ok 7 /atomic-rcbox/dup 1277s ok 8 /atomic-rcbox/alignment 1277s # End of atomic-rcbox tests 1277s ok - glib/rcbox.test 1277s # Running test: glib/properties-refcount2.test 1277s TAP version 13 1277s # random seed: R02Sfe506c4f282642c76658dc50bb191669 1277s 1..1 1277s # Start of gobject tests 1277s # Start of refcount tests 1277s # init 0x6882bd0e770 1277s # 1277s # . 1277s # . 1277s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # Executing: glib/properties-refcount2.test 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # dispose 0x6882bd0e770! 1281s # 1281s ok 1 /gobject/refcount/properties-2 1281s # slow test /gobject/refcount/properties-2 executed in 3.64 secs 1281s # End of refcount tests 1281s # End of gobject tests 1281s ok - glib/properties-refcount2.test 1281s # Running test: glib/performance.test 1281s Running test simple-construction 1285s # Executing: glib/performance.test 1289s Millions of constructed objects per second: 4.135 1289s Running test simple-construction1 1290s # Executing: glib/performance.test 1291s Millions of constructed objects per second: 50.189 1291s Running test complex-construction 1295s # Executing: glib/performance.test 1297s Millions of constructed objects per second: 2.467 1297s Running test complex-construction1 1300s # Executing: glib/performance.test 1303s Millions of constructed objects per second: 3.171 1303s Running test complex-construction2 1305s # Executing: glib/performance.test 1310s Millions of constructed objects per second: 3.438 1310s Running test finalization 1310s # Executing: glib/performance.test 1312s Millions of finalized objects per second: 0.766 1312s Running test type-check 1312s Million type checks per second: inf 1312s Running test emit-unhandled 1313s Emissions per second: 1096193 1313s Running test emit-unhandled-empty 1314s Emissions per second: 9177963 1314s Running test emit-unhandled-generic 1315s # Executing: glib/performance.test 1316s Emissions per second: 1295303 1316s Running test emit-unhandled-generic-empty 1317s Emissions per second: 9187103 1317s Running test emit-unhandled-args 1319s Emissions per second: 1012001 1319s Running test emit-handled 1320s # Executing: glib/performance.test 1320s Emissions per second: 820419 1320s Running test emit-handled-empty 1322s Emissions per second: 838985 1322s Running test emit-handled-generic 1324s Emissions per second: 825025 1324s Running test emit-handled-generic-empty 1325s # Executing: glib/performance.test 1325s Emissions per second: 1302212 1325s Running test emit-handled-args 1327s Emissions per second: 761744 1327s Running test notify-unhandled 1328s Notify (unhandled) per second: 10587424 1328s Running test notify-by-pspec-unhandled 1329s Notify (unhandled) per second: 42910279 1329s Running test notify-handled 1330s # Executing: glib/performance.test 1331s Notify per second: 463436 1331s Running test notify-by-pspec-handled 1334s Notify per second: 480689 1334s Running test property-set 1335s Property set per second: 2342062 1335s Running test property-get 1335s # Executing: glib/performance.test 1336s Property get per second: 2230168 1336s Running test refcount 1340s # Executing: glib/performance.test 1342s Million refs+unref per second: 5.95 1342s ok - glib/performance.test 1342s # Running test: glib/thread-deprecated.test 1342s TAP version 13 1342s # random seed: R02S560c38aca9fda7869201c1da55f61c1e 1342s 1..6 1342s # Start of thread tests 1342s ok 1 /thread/mutex 1343s ok 2 /thread/static-rec-mutex 1345s # Executing: glib/thread-deprecated.test 1347s ok 3 /thread/static-private 1347s # slow test /thread/static-private executed in 4.40 secs 1350s # Executing: glib/thread-deprecated.test 1352s ok 4 /thread/static-rw-lock 1352s # slow test /thread/static-rw-lock executed in 5.00 secs 1352s ok 5 /thread/once 1355s # Executing: glib/thread-deprecated.test 1360s # Executing: glib/thread-deprecated.test 1362s ok 6 /thread/rerun-all 1362s # slow test /thread/rerun-all executed in 10.02 secs 1362s # End of thread tests 1362s ok - glib/thread-deprecated.test 1362s # Running test: glib/sandbox.test 1362s TAP version 13 1362s # random seed: R02Sc3d17c00b48eb33914301b369e7d1797 1362s 1..4 1362s # Start of sandbox tests 1362s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_55AMK2/sandbox/none/.dirs/home 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_55AMK2/sandbox/none/.dirs/cache 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_55AMK2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_55AMK2/sandbox/none/.dirs/system-config2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_55AMK2/sandbox/none/.dirs/config 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_55AMK2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_55AMK2/sandbox/none/.dirs/system-data2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_55AMK2/sandbox/none/.dirs/data 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_55AMK2/sandbox/none/.dirs/state 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_55AMK2/sandbox/none/.dirs/runtime 1362s ok 1 /sandbox/none 1362s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_55AMK2/sandbox/snap/.dirs/home 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_55AMK2/sandbox/snap/.dirs/cache 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_55AMK2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_55AMK2/sandbox/snap/.dirs/system-config2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_55AMK2/sandbox/snap/.dirs/config 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_55AMK2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_55AMK2/sandbox/snap/.dirs/system-data2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_55AMK2/sandbox/snap/.dirs/data 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_55AMK2/sandbox/snap/.dirs/state 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_55AMK2/sandbox/snap/.dirs/runtime 1362s # Created snap.yaml in /tmp/test_sandbox_55AMK2/snap/current/meta/snap.yaml 1362s ok 2 /sandbox/snap 1362s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_55AMK2/sandbox/classic-snap/.dirs/home 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_55AMK2/sandbox/classic-snap/.dirs/cache 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_55AMK2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_55AMK2/sandbox/classic-snap/.dirs/system-config2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_55AMK2/sandbox/classic-snap/.dirs/config 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_55AMK2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_55AMK2/sandbox/classic-snap/.dirs/system-data2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_55AMK2/sandbox/classic-snap/.dirs/data 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_55AMK2/sandbox/classic-snap/.dirs/state 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_55AMK2/sandbox/classic-snap/.dirs/runtime 1362s # Created snap.yaml in /tmp/test_sandbox_55AMK2/snap/current/meta/snap.yaml 1362s ok 3 /sandbox/classic-snap 1362s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_55AMK2/sandbox/flatpak/.dirs/home 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_55AMK2/sandbox/flatpak/.dirs/cache 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_55AMK2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_55AMK2/sandbox/flatpak/.dirs/system-config2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_55AMK2/sandbox/flatpak/.dirs/config 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_55AMK2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_55AMK2/sandbox/flatpak/.dirs/system-data2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_55AMK2/sandbox/flatpak/.dirs/data 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_55AMK2/sandbox/flatpak/.dirs/state 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_55AMK2/sandbox/flatpak/.dirs/runtime 1362s # Creating .flatpak-info in /tmp/test_sandbox_55AMK2/sandbox/flatpak/.dirs/runtime/.flatpak-info 1362s ok 4 /sandbox/flatpak 1362s # End of sandbox tests 1362s ok - glib/sandbox.test 1362s # Running test: glib/g-file-info-filesystem-readonly.test 1362s TAP version 13 1362s # random seed: R02S9f360edf11faabded580093a4c02f6d1 1362s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1362s 1..2 1362s # Start of g-file-info-filesystem-readonly tests 1362s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1362s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1362s # End of g-file-info-filesystem-readonly tests 1362s ok - glib/g-file-info-filesystem-readonly.test 1362s # Running test: glib/mount-operation.test 1362s TAP version 13 1362s # random seed: R02Sa6244c63e37ebd639c32db8bc692de8f 1362s 1..2 1362s # Start of mount-operation tests 1362s ok 1 /mount-operation/construction 1362s ok 2 /mount-operation/properties 1362s # End of mount-operation tests 1362s ok - glib/mount-operation.test 1362s # Running test: glib/642026-ec.test 1362s TAP version 13 1362s # random seed: R02Sb5288a1de19250335ba9eab29dc11f51 1362s 1..1 1362s # Start of glib tests 1362s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1362s ok 1 /glib/642026 1362s # End of glib tests 1362s ok - glib/642026-ec.test 1362s # Running test: glib/hash.test 1362s TAP version 13 1362s # random seed: R02S950eb816fb0c2c4db75ab0df9af4e2bb 1362s 1..34 1362s # Start of hash tests 1362s ok 1 /hash/misc 1362s ok 2 /hash/one 1362s ok 3 /hash/honeyman 1362s ok 4 /hash/direct 1362s ok 5 /hash/direct2 1362s ok 6 /hash/int 1362s ok 7 /hash/int64 1362s ok 8 /hash/double 1362s ok 9 /hash/string 1362s ok 10 /hash/set 1362s ok 11 /hash/set-ref 1362s ok 12 /hash/ref 1362s ok 13 /hash/remove-all 1362s ok 14 /hash/recursive-remove-all 1362s ok 15 /hash/find 1362s ok 16 /hash/foreach 1362s ok 17 /hash/foreach-steal 1362s ok 18 /hash/steal-extended 1362s ok 19 /hash/steal-all-keys 1362s ok 20 /hash/steal-all-values 1362s ok 21 /hash/lookup-extended 1362s ok 22 /hash/new-similar 1362s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1362s ok 23 /hash/lookup-null-key 1362s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1362s ok 24 /hash/destroy-modify 1362s ok 25 /hash/consistency 1362s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1362s ok 26 /hash/iter-replace 1362s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1362s ok 27 /hash/set-insert-corruption 1362s ok 28 /hash/set-to-strv 1362s ok 29 /hash/get-keys-as-ptr-array 1362s ok 30 /hash/get-values-as-ptr-array 1362s ok 31 /hash/primes 1362s # Start of int64 tests 1362s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1362s ok 32 /hash/int64/collisions 1362s # End of int64 tests 1362s # Start of double tests 1362s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1362s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1362s ok 33 /hash/double/collisions 1362s # End of double tests 1362s # Start of recursive-remove-all tests 1362s # End of recursive-remove-all tests 1362s # Start of steal-extended tests 1362s ok 34 /hash/steal-extended/optional 1362s # End of steal-extended tests 1362s # End of hash tests 1362s ok - glib/hash.test 1362s # Running test: glib/gdbus-export.test 1362s TAP version 13 1362s # random seed: R02Sd083a54b0f715a94699f87835cd2e58e 1362s 1..6 1362s # Start of gdbus tests 1362s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration/.dirs/home 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration/.dirs/cache 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_88JNK2/gdbus/object-registration/.dirs/system-config2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration/.dirs/config 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_88JNK2/gdbus/object-registration/.dirs/system-data2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration/.dirs/data 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration/.dirs/state 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration/.dirs/runtime 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s ok 1 /gdbus/object-registration 1362s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration-with-closures/.dirs/home 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration-with-closures/.dirs/cache 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_88JNK2/gdbus/object-registration-with-closures/.dirs/system-config2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration-with-closures/.dirs/config 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_88JNK2/gdbus/object-registration-with-closures/.dirs/system-data2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration-with-closures/.dirs/data 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration-with-closures/.dirs/state 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_88JNK2/gdbus/object-registration-with-closures/.dirs/runtime 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s ok 2 /gdbus/object-registration-with-closures 1362s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_88JNK2/gdbus/registered-interfaces/.dirs/home 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/registered-interfaces/.dirs/cache 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_88JNK2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_88JNK2/gdbus/registered-interfaces/.dirs/system-config2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/registered-interfaces/.dirs/config 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_88JNK2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_88JNK2/gdbus/registered-interfaces/.dirs/system-data2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/registered-interfaces/.dirs/data 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/registered-interfaces/.dirs/state 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_88JNK2/gdbus/registered-interfaces/.dirs/runtime 1362s ok 3 /gdbus/registered-interfaces 1362s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_88JNK2/gdbus/async-properties/.dirs/home 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/async-properties/.dirs/cache 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_88JNK2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_88JNK2/gdbus/async-properties/.dirs/system-config2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/async-properties/.dirs/config 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_88JNK2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_88JNK2/gdbus/async-properties/.dirs/system-data2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/async-properties/.dirs/data 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/async-properties/.dirs/state 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_88JNK2/gdbus/async-properties/.dirs/runtime 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s ok 4 /gdbus/async-properties 1362s # Start of threaded-unregistration tests 1362s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/object/.dirs/home 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/object/.dirs/cache 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/object/.dirs/system-config2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/object/.dirs/config 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/object/.dirs/system-data2 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/object/.dirs/data 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/object/.dirs/state 1362s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/object/.dirs/runtime 1362s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1362s # /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 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1362s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1363s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (3 iterations with unregistration first, 997 with call first); skipping test 1364s # slow test /gdbus/threaded-unregistration/object executed in 1.17 secs 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/subtree/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/subtree/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/subtree/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/subtree/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/subtree/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_88JNK2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1364s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1364s # /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 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1364s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (21 iterations with unregistration first, 979 with call first); skipping test 1365s # slow test /gdbus/threaded-unregistration/subtree executed in 1.12 secs 1365s # End of threaded-unregistration tests 1365s # End of gdbus tests 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok - glib/gdbus-export.test 1365s # Running test: glib/stream-rw_all.test 1365s TAP version 13 1365s # random seed: R02S0ff7269501b35a8a2a4fa7914ce01e2a 1365s 1..3 1365s # Start of stream tests 1365s # Start of read_all_async tests 1365s ok 1 /stream/read_all_async/memory 1365s # End of read_all_async tests 1365s # Start of write_all_async tests 1365s ok 2 /stream/write_all_async/memory 1365s # End of write_all_async tests 1365s # Start of read_write_all_async tests 1365s ok 3 /stream/read_write_all_async/pipe 1365s # End of read_write_all_async tests 1365s # End of stream tests 1365s ok - glib/stream-rw_all.test 1365s # Running test: glib/static-link.test 1365s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1365s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1365s and make sure you have glib build dependencies installed, including 1365s meson. 1365s ok # SKIP - glib/static-link.test 1365s # Running test: glib/dataset.test 1365s TAP version 13 1365s # random seed: R02Sef5318ed056079ba5703f3634bc8b7bb 1365s 1..14 1365s # Start of quark tests 1365s ok 1 /quark/basic 1365s ok 2 /quark/string 1365s # End of quark tests 1365s # Start of dataset tests 1365s ok 3 /dataset/basic 1365s ok 4 /dataset/id 1365s ok 5 /dataset/full 1365s ok 6 /dataset/foreach 1365s ok 7 /dataset/destroy 1365s # End of dataset tests 1365s # Start of datalist tests 1365s ok 8 /datalist/basic 1365s ok 9 /datalist/id 1365s ok 10 /datalist/recursive-clear 1365s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1365s ok 11 /datalist/id-remove-multiple 1365s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1365s ok 12 /datalist/id-remove-multiple-destroy-order 1365s ok 13 /datalist/update-atomic 1365s # Start of id-remove-multiple tests 1365s ok 14 /datalist/id-remove-multiple/resize 1365s # End of id-remove-multiple tests 1365s # End of datalist tests 1365s ok - glib/dataset.test 1365s # Running test: glib/gdbus-introspection.test 1365s TAP version 13 1365s # random seed: R02S93aba2e788c4d266f2efd40068b9aef2 1365s 1..4 1365s # Start of gdbus tests 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-parser/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-parser/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-parser/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-parser/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-parser/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-parser/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-parser/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-parser/.dirs/runtime 1365s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1365s ok 1 /gdbus/introspection-parser 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-generate/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-generate/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-generate/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-generate/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-generate/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-generate/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-generate/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-generate/.dirs/runtime 1365s ok 2 /gdbus/introspection-generate 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-default-direction/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-default-direction/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-default-direction/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-default-direction/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-default-direction/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-default-direction/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-default-direction/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-default-direction/.dirs/runtime 1365s ok 3 /gdbus/introspection-default-direction 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-extra-data/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-extra-data/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-extra-data/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-extra-data/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-extra-data/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-extra-data/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-extra-data/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_T4SYK2/gdbus/introspection-extra-data/.dirs/runtime 1365s ok 4 /gdbus/introspection-extra-data 1365s # End of gdbus tests 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1365s ok - glib/gdbus-introspection.test 1365s # Running test: glib/boxed.test 1365s TAP version 13 1365s # random seed: R02S663e0260e3d4bbc3739662ee0eda185d 1365s 1..27 1365s # Start of boxed tests 1365s ok 1 /boxed/define 1365s ok 2 /boxed/ownership 1365s ok 3 /boxed/closure 1365s ok 4 /boxed/date 1365s ok 5 /boxed/value 1365s ok 6 /boxed/string 1365s ok 7 /boxed/hashtable 1365s ok 8 /boxed/array 1365s ok 9 /boxed/ptrarray 1365s ok 10 /boxed/regex 1365s ok 11 /boxed/varianttype 1365s ok 12 /boxed/error 1365s ok 13 /boxed/datetime 1365s ok 14 /boxed/matchinfo 1365s ok 15 /boxed/keyfile 1365s ok 16 /boxed/mainloop 1365s ok 17 /boxed/maincontext 1365s ok 18 /boxed/source 1365s ok 19 /boxed/variantbuilder 1365s ok 20 /boxed/timezone 1365s ok 21 /boxed/pollfd 1365s ok 22 /boxed/markup 1365s ok 23 /boxed/thread 1365s ok 24 /boxed/checksum 1365s ok 25 /boxed/tree 1365s ok 26 /boxed/patternspec 1365s ok 27 /boxed/rand 1365s # End of boxed tests 1365s ok - glib/boxed.test 1365s # Running test: glib/timeout.test 1365s TAP version 13 1365s # random seed: R02S42ce28e7ed37a31ee0dc6715b6e34525 1365s 1..5 1365s # Start of timeout tests 1365s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1365s # Executing: glib/timeout.test 1367s ok 1 /timeout/seconds 1367s # slow test /timeout/seconds executed in 2.10 secs 1369s ok 2 /timeout/seconds-once 1369s # slow test /timeout/seconds-once executed in 2.11 secs 1369s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1370s # Executing: glib/timeout.test 1371s ok 3 /timeout/weeks-overflow 1371s # slow test /timeout/weeks-overflow executed in 2.10 secs 1371s ok 4 /timeout/far-future-ready-time 1375s # Executing: glib/timeout.test 1380s # Executing: glib/timeout.test 1381s ok 5 /timeout/rounding 1381s # slow test /timeout/rounding executed in 10.02 secs 1381s # End of timeout tests 1381s ok - glib/timeout.test 1381s # Running test: glib/rwlock.test 1381s TAP version 13 1381s # random seed: R02Sc075a68b2a82a651f286993f89f4cb4c 1381s 1..8 1381s # Start of thread tests 1381s ok 1 /thread/rwlock1 1381s ok 2 /thread/rwlock2 1381s ok 3 /thread/rwlock3 1381s ok 4 /thread/rwlock4 1381s ok 5 /thread/rwlock5 1381s ok 6 /thread/rwlock6 1385s # Executing: glib/rwlock.test 1390s # Executing: glib/rwlock.test 1390s ok 7 /thread/rwlock7 1390s # slow test /thread/rwlock7 executed in 9.32 secs 1391s ok 8 /thread/rwlock8 1391s # End of thread tests 1391s ok - glib/rwlock.test 1391s # Running test: glib/hmac.test 1391s TAP version 13 1391s # random seed: R02Sbc8335ca1a8affeccfb3b80463968cc6 1391s 1..37 1391s # Start of hmac tests 1391s ok 1 /hmac/sha1-1 1391s ok 2 /hmac/sha1-2 1391s ok 3 /hmac/sha1-3 1391s ok 4 /hmac/sha1-4 1391s ok 5 /hmac/sha1-5 1391s ok 6 /hmac/sha1-6 1391s ok 7 /hmac/sha1-7 1391s ok 8 /hmac/sha256-1 1391s ok 9 /hmac/sha256-2 1391s ok 10 /hmac/sha256-3 1391s ok 11 /hmac/sha256-4 1391s ok 12 /hmac/sha256-5 1391s ok 13 /hmac/sha256-6 1391s ok 14 /hmac/sha384-1 1391s ok 15 /hmac/sha384-2 1391s ok 16 /hmac/sha384-3 1391s ok 17 /hmac/sha384-4 1391s ok 18 /hmac/sha384-5 1391s ok 19 /hmac/sha384-6 1391s ok 20 /hmac/sha512-1 1391s ok 21 /hmac/sha512-2 1391s ok 22 /hmac/sha512-3 1391s ok 23 /hmac/sha512-4 1391s ok 24 /hmac/sha512-5 1391s ok 25 /hmac/sha512-6 1391s ok 26 /hmac/md5-1 1391s ok 27 /hmac/md5-2 1391s ok 28 /hmac/md5-3 1391s ok 29 /hmac/md5-4 1391s ok 30 /hmac/md5-5 1391s ok 31 /hmac/md5-6 1391s ok 32 /hmac/md5-7 1391s ok 33 /hmac/ref-unref 1391s ok 34 /hmac/copy 1391s ok 35 /hmac/for-data 1391s ok 36 /hmac/for-string 1391s ok 37 /hmac/for-bytes 1391s # End of hmac tests 1391s ok - glib/hmac.test 1391s # Running test: glib/gio-tool.py.test 1391s TAP version 13 1391s ok 1 __main__.TestGioTool.test_help 1391s # tmpdir: /tmp/tmp_wozsdtz 1391s # gio: /usr/bin/gio 1391s # Running: ['/usr/bin/gio', '--help'] 1391s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1391s # Output: Usage: 1391s # gio COMMAND [ARGS…] 1391s # 1391s # Commands: 1391s # help Print help 1391s # version Print version 1391s # cat Concatenate files to standard output 1391s # copy Copy one or more files 1391s # info Show information about locations 1391s # launch Launch an application from a desktop file 1391s # list List the contents of locations 1391s # mime Get or set the handler for a mimetype 1391s # mkdir Create directories 1391s # monitor Monitor files and directories for changes 1391s # mount Mount or unmount the locations 1391s # move Move one or more files 1391s # open Open files with the default application 1391s # rename Rename a file 1391s # remove Delete one or more files 1391s # save Read from standard input and save 1391s # set Set a file attribute 1391s # trash Move files or directories to the trash 1391s # tree Lists the contents of locations in a tree 1391s # 1391s # Use “gio help COMMAND” to get detailed help. 1391s # Running: ['/usr/bin/gio', 'help'] 1391s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1391s # Output: Usage: 1391s # gio COMMAND [ARGS…] 1391s # 1391s # Commands: 1391s # help Print help 1391s # version Print version 1391s # cat Concatenate files to standard output 1391s # copy Copy one or more files 1391s # info Show information about locations 1391s # launch Launch an application from a desktop file 1391s # list List the contents of locations 1391s # mime Get or set the handler for a mimetype 1391s # mkdir Create directories 1391s # monitor Monitor files and directories for changes 1391s # mount Mount or unmount the locations 1391s # move Move one or more files 1391s # open Open files with the default application 1391s # rename Rename a file 1391s # remove Delete one or more files 1391s # save Read from standard input and save 1391s # set Set a file attribute 1391s # trash Move files or directories to the trash 1391s # tree Lists the contents of locations in a tree 1391s # 1391s # Use “gio help COMMAND” to get detailed help. 1391s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1391s # tmpdir: /tmp/tmpbvtumryv 1391s # gio: /usr/bin/gio 1391s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpbvtumryv/tmpmp886a3z'] 1391s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1391s # Output: uri: file:///tmp/tmpbvtumryv/tmpmp886a3z 1391s # local path: /tmp/tmpbvtumryv/tmpmp886a3z 1391s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1391s # attributes: 1391s # standard::content-type: application/x-zerosize 1391s ok 3 __main__.TestGioTool.test_no_args 1391s # tmpdir: /tmp/tmptsp02ysf 1391s # gio: /usr/bin/gio 1391s # Running: ['/usr/bin/gio'] 1391s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1391s 1..3 1391s ok - glib/gio-tool.py.test 1391s # Running test: glib/utf8-performance.test 1391s TAP version 13 1391s # random seed: R02S74210e2a9255365aa287d4d3db83c244 1391s 1..36 1391s # Start of utf8 tests 1391s # Start of perf tests 1391s # Start of get_char tests 1391s # max perf: 43.0 MB/s 1391s ok 1 /utf8/perf/get_char/ascii 1391s # max perf: inf MB/s 1391s ok 2 /utf8/perf/get_char/latin1 1391s # max perf: 160.0 MB/s 1391s ok 3 /utf8/perf/get_char/cyrillic 1391s # max perf: 156.0 MB/s 1391s ok 4 /utf8/perf/get_char/han 1391s # End of get_char tests 1391s # Start of get_char-backwards tests 1391s # max perf: 43.0 MB/s 1391s ok 5 /utf8/perf/get_char-backwards/ascii 1391s # max perf: 67.0 MB/s 1391s ok 6 /utf8/perf/get_char-backwards/latin1 1391s # max perf: 160.0 MB/s 1391s ok 7 /utf8/perf/get_char-backwards/cyrillic 1391s # max perf: inf MB/s 1391s ok 8 /utf8/perf/get_char-backwards/han 1391s # End of get_char-backwards tests 1391s # Start of get_char_validated tests 1391s # max perf: inf MB/s 1391s ok 9 /utf8/perf/get_char_validated/ascii 1391s # max perf: inf MB/s 1391s ok 10 /utf8/perf/get_char_validated/latin1 1391s # max perf: inf MB/s 1391s ok 11 /utf8/perf/get_char_validated/cyrillic 1391s # max perf: inf MB/s 1391s ok 12 /utf8/perf/get_char_validated/han 1391s # End of get_char_validated tests 1391s # Start of utf8_to_ucs4 tests 1391s # max perf: 21.5 MB/s 1391s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1391s # max perf: 67.0 MB/s 1391s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1391s # max perf: 160.0 MB/s 1391s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1391s # max perf: inf MB/s 1391s ok 16 /utf8/perf/utf8_to_ucs4/han 1391s # End of utf8_to_ucs4 tests 1391s # Start of utf8_to_ucs4-sized tests 1391s # max perf: 43.0 MB/s 1391s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1391s # max perf: 67.0 MB/s 1391s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1391s # max perf: 160.0 MB/s 1391s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1391s # max perf: inf MB/s 1391s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1391s # End of utf8_to_ucs4-sized tests 1391s # Start of utf8_to_ucs4_fast tests 1391s # max perf: 43.0 MB/s 1391s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1391s # max perf: 67.0 MB/s 1391s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1391s # max perf: 160.0 MB/s 1391s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1391s # max perf: inf MB/s 1391s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1391s # End of utf8_to_ucs4_fast tests 1391s # Start of utf8_to_ucs4_fast-sized tests 1391s # max perf: 43.0 MB/s 1391s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1391s # max perf: 67.0 MB/s 1391s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1391s # max perf: 160.0 MB/s 1391s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1391s # max perf: inf MB/s 1391s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1391s # End of utf8_to_ucs4_fast-sized tests 1391s # Start of utf8_validate tests 1391s # max perf: 43.0 MB/s 1391s ok 29 /utf8/perf/utf8_validate/ascii 1391s # max perf: inf MB/s 1391s ok 30 /utf8/perf/utf8_validate/latin1 1391s # max perf: inf MB/s 1391s ok 31 /utf8/perf/utf8_validate/cyrillic 1391s # max perf: 156.0 MB/s 1391s ok 32 /utf8/perf/utf8_validate/han 1391s # End of utf8_validate tests 1391s # Start of utf8_validate-sized tests 1391s # max perf: inf MB/s 1391s ok 33 /utf8/perf/utf8_validate-sized/ascii 1391s # max perf: 67.0 MB/s 1391s ok 34 /utf8/perf/utf8_validate-sized/latin1 1391s # max perf: inf MB/s 1391s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1391s # max perf: 156.0 MB/s 1391s ok 36 /utf8/perf/utf8_validate-sized/han 1391s # End of utf8_validate-sized tests 1391s # End of perf tests 1391s # End of utf8 tests 1391s ok - glib/utf8-performance.test 1391s # Running test: glib/giomodule.test 1391s TAP version 13 1391s # random seed: R02S1bf7cc7c9b94f4bf982cf27dc1ad04de 1391s 1..3 1391s # Start of giomodule tests 1391s ok 1 /giomodule/extension-point 1391s ok 2 /giomodule/module-scan-all 1391s ok 3 /giomodule/module-scan-all-with-scope 1391s # End of giomodule tests 1391s ok - glib/giomodule.test 1391s # Running test: glib/converter-stream.test 1391s TAP version 13 1391s # random seed: R02Sfd04226ae8144746e2739a38d85cc0e5 1391s 1..17 1391s # Start of converter tests 1391s ok 1 /converter/basics 1391s # End of converter tests 1391s # Start of converter-input-stream tests 1391s ok 2 /converter-input-stream/expander 1391s ok 3 /converter-input-stream/compressor 1391s # Start of truncation tests 1391s ok 4 /converter-input-stream/truncation/zlib 1391s ok 5 /converter-input-stream/truncation/gzip 1391s ok 6 /converter-input-stream/truncation/raw 1391s # End of truncation tests 1391s # Start of charset tests 1391s ok 7 /converter-input-stream/charset/utf8->latin1 1391s ok 8 /converter-input-stream/charset/latin1->utf8 1391s ok 9 /converter-input-stream/charset/fallbacks 1391s # End of charset tests 1391s # End of converter-input-stream tests 1391s # Start of converter-output-stream tests 1391s # Start of roundtrip tests 1391s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1391s ok 10 /converter-output-stream/roundtrip/zlib-0 1391s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1392s ok 11 /converter-output-stream/roundtrip/zlib-9 1392s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1392s ok 12 /converter-output-stream/roundtrip/gzip-0 1392s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1392s ok 13 /converter-output-stream/roundtrip/gzip-9 1392s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1392s ok 14 /converter-output-stream/roundtrip/raw-0 1392s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1392s ok 15 /converter-output-stream/roundtrip/raw-9 1392s # End of roundtrip tests 1392s # End of converter-output-stream tests 1392s # Start of converter-stream tests 1392s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1392s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x38991689e80 and GSocketClientAsyncConnectData 0x38991a752c0 1392s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1392s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1392s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x38991692fe0 for GSocketClientAsyncConnectData 0x38991a752c0 1392s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1392s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1392s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1392s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1392s ok 16 /converter-stream/pollable 1392s ok 17 /converter-stream/leftover 1392s # End of converter-stream tests 1392s ok - glib/converter-stream.test 1392s # Running test: glib/portal-support-snap-classic.test 1392s TAP version 13 1392s # random seed: R02Sbbfcba85fd7f9081148ee6233a9b0e3c 1392s 1..3 1392s # Start of portal-support tests 1392s # Start of snap-classic tests 1392s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/no-snapctl/.dirs/home 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/no-snapctl/.dirs/cache 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/no-snapctl/.dirs/config 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/no-snapctl/.dirs/data 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/no-snapctl/.dirs/state 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/no-snapctl/.dirs/runtime 1392s ok 1 /portal-support/snap-classic/no-snapctl 1392s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/none/.dirs/home 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/none/.dirs/cache 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/none/.dirs/system-config2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/none/.dirs/config 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/none/.dirs/system-data2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/none/.dirs/data 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/none/.dirs/state 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/none/.dirs/runtime 1392s # Created snap.yaml in /tmp/test_portal-support-snap-classic_J8NMK2/meta/snap.yaml 1392s # Created snapctl in /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/none/.dirs/runtime/snapctl 1392s ok 2 /portal-support/snap-classic/none 1392s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/all/.dirs/home 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/all/.dirs/cache 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/all/.dirs/system-config2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/all/.dirs/config 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/all/.dirs/system-data2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/all/.dirs/data 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/all/.dirs/state 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/all/.dirs/runtime 1392s # Created snap.yaml in /tmp/test_portal-support-snap-classic_J8NMK2/meta/snap.yaml 1392s # Created snapctl in /tmp/test_portal-support-snap-classic_J8NMK2/portal-support/snap-classic/all/.dirs/runtime/snapctl 1392s ok 3 /portal-support/snap-classic/all 1392s # End of snap-classic tests 1392s # End of portal-support tests 1392s ok - glib/portal-support-snap-classic.test 1392s # Running test: glib/macros-c-17.test 1392s TAP version 13 1392s # random seed: R02S3268a2db6ca78d6268f860f7fb1c794d 1392s 1..4 1392s # Start of C tests 1392s ok 1 /C/standard-17 1392s # End of C tests 1392s # Start of alignof tests 1392s ok 2 /alignof/fallback 1392s # End of alignof tests 1392s # Start of assert tests 1392s ok 3 /assert/static 1392s # End of assert tests 1392s # Start of struct tests 1392s ok 4 /struct/sizeof_member 1392s # End of struct tests 1392s ok - glib/macros-c-17.test 1392s # Running test: glib/assert-msg-test.py.test 1392s TAP version 13 1392s ok 1 __main__.TestAssertMessage.test_gassert 1392s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1392s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1392s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-KJhAPomAbe,guid=2aa0adc82d2f68be65ffecd265f87b02', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.j6pWWo/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.KYxO2BtRvV', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.tKy2MT/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.j6pWWo/wrapper.sh --artifacts=/tmp/autopkgtest.j6pWWo/installed-tests-artifacts --chdir=/tmp/autopkgtest.j6pWWo/build.Lil/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.j6pWWo/installed-tests-stderr --stdout=/tmp/autopkgtest.j6pWWo/installed-tests-stdout --tmp=/tmp/autopkgtest.j6pWWo/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=elfutils/0.190-1.1build2 curl/8.5.0-2ubuntu7 gnutls28/3.8.3-1.1ubuntu2 libarchive/3.7.2-1.1ubuntu1 libmicrohttpd/1.0.0-2.1ubuntu1 libpsl/0.21.2-1.1 nettle/3.9.1-2.2' --make-executable=/tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests -- /tmp/autopkgtest.j6pWWo/build.Lil/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.j6pWWo/build.Lil/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.j6pWWo/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1392s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1392s # Error: ** 1392s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1392s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1392s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1392s 1..2 1392s ok - glib/assert-msg-test.py.test 1392s # Running test: glib/thumbnail-verification.test 1392s TAP version 13 1392s # random seed: R02S9a04d3b1a9bafae13257cc468d5b2b52 1392s 1..1 1392s # Start of png-thumbs tests 1392s ok 1 /png-thumbs/validity 1392s # End of png-thumbs tests 1392s ok - glib/thumbnail-verification.test 1392s # Running test: glib/gdbus-proxy-unique-name.test 1392s TAP version 13 1392s # random seed: R02S28ebe063b37d5ac69ac791cf8897c939 1392s 1..1 1392s # Start of gdbus tests 1392s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_1YAPK2/gdbus/proxy-unique-name/.dirs/home 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_1YAPK2/gdbus/proxy-unique-name/.dirs/cache 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_1YAPK2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_1YAPK2/gdbus/proxy-unique-name/.dirs/system-config2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_1YAPK2/gdbus/proxy-unique-name/.dirs/config 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_1YAPK2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_1YAPK2/gdbus/proxy-unique-name/.dirs/system-data2 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_1YAPK2/gdbus/proxy-unique-name/.dirs/data 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_1YAPK2/gdbus/proxy-unique-name/.dirs/state 1392s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_1YAPK2/gdbus/proxy-unique-name/.dirs/runtime 1392s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1392s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1392s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1392s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1392s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1392s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1392s ok 1 /gdbus/proxy-unique-name 1392s # End of gdbus tests 1392s ok - glib/gdbus-proxy-unique-name.test 1392s # Running test: glib/queue.test 1392s TAP version 13 1392s # random seed: R02S25ea8f3be3855f45ef38c8287e0fa534 1392s 1..12 1392s # Start of queue tests 1392s ok 1 /queue/basic 1392s ok 2 /queue/copy 1392s ok 3 /queue/off-by-one 1392s ok 4 /queue/find-custom 1392s ok 5 /queue/static 1392s ok 6 /queue/clear 1392s ok 7 /queue/free-full 1392s ok 8 /queue/clear-full 1392s ok 9 /queue/insert-sibling-link 1392s ok 10 /queue/push-nth-link 1392s # Start of clear-full tests 1392s ok 11 /queue/clear-full/noop 1392s # End of clear-full tests 1392s # Start of random tests 1393s ok 12 /queue/random/seed:1372192475 1393s # End of random tests 1393s # End of queue tests 1393s ok - glib/queue.test 1393s # Running test: glib/gdbus-message.test 1393s TAP version 13 1393s # random seed: R02S4414a4d70509a3cf5ccca0ade3e99103 1393s 1..3 1393s # Start of gdbus tests 1393s # Start of message tests 1393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/lock/.dirs/home 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/lock/.dirs/cache 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_82DVK2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_82DVK2/gdbus/message/lock/.dirs/system-config2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/lock/.dirs/config 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_82DVK2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_82DVK2/gdbus/message/lock/.dirs/system-data2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/lock/.dirs/data 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/lock/.dirs/state 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_82DVK2/gdbus/message/lock/.dirs/runtime 1393s ok 1 /gdbus/message/lock 1393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/copy/.dirs/home 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/copy/.dirs/cache 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_82DVK2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_82DVK2/gdbus/message/copy/.dirs/system-config2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/copy/.dirs/config 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_82DVK2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_82DVK2/gdbus/message/copy/.dirs/system-data2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/copy/.dirs/data 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/copy/.dirs/state 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_82DVK2/gdbus/message/copy/.dirs/runtime 1393s ok 2 /gdbus/message/copy 1393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/bytes-needed/.dirs/home 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/bytes-needed/.dirs/cache 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_82DVK2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_82DVK2/gdbus/message/bytes-needed/.dirs/system-config2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/bytes-needed/.dirs/config 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_82DVK2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_82DVK2/gdbus/message/bytes-needed/.dirs/system-data2 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/bytes-needed/.dirs/data 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_82DVK2/gdbus/message/bytes-needed/.dirs/state 1393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_82DVK2/gdbus/message/bytes-needed/.dirs/runtime 1393s # Vector: 0 1393s # Vector: 1 1393s # Vector: 2 1393s # Vector: 3 1393s # Vector: 4 1393s # Vector: 5 1393s ok 3 /gdbus/message/bytes-needed 1393s # End of message tests 1393s # End of gdbus tests 1393s ok - glib/gdbus-message.test 1393s # Running test: glib/refcount-macro.test 1393s TAP version 13 1393s # random seed: R02Sf263f3f7d6bac5fa0010b2a4d4977715 1393s 1..4 1393s # Start of refcount tests 1393s ok 1 /refcount/grefcount 1393s ok 2 /refcount/gatomicrefcount 1393s # Start of grefcount tests 1393s ok 3 /refcount/grefcount/saturation 1393s # End of grefcount tests 1393s # Start of gatomicrefcount tests 1393s ok 4 /refcount/gatomicrefcount/saturation 1393s # End of gatomicrefcount tests 1393s # End of refcount tests 1393s ok - glib/refcount-macro.test 1393s # Running test: glib/spawn-test.test 1393s TAP version 13 1393s # random seed: R02S9fbf4e24a4ca5d856597fc124411c83c 1393s 1..2 1393s # Start of spawn tests 1393s ok 1 /spawn/basics 1393s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1393s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1393s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1393s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1393s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1393s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1393s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1393s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1393s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1393s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1393s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1393s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1393s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1393s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1393s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1393s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1393s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1393s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1393s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1393s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1393s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1393s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1393s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1393s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1393s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1393s # Fetching GSpawn result with stdin open, stdout open, stderr open 1393s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1393s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1393s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1393s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1393s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1393s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1393s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1393s ok 2 /spawn/stdio-overwrite 1393s # End of spawn tests 1393s ok - glib/spawn-test.test 1393s # Running test: glib/cxx-17.test 1393s TAP version 13 1393s # random seed: R02S296da8fdd72f7ceb0bc347b5bebf39f9 1393s 1..2 1393s # Start of gtask tests 1393s # 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. 1393s ok 1 /gtask/name 1393s # Start of name tests 1393s # 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. 1393s ok 2 /gtask/name/macro-wrapper 1393s # End of name tests 1393s # End of gtask tests 1393s ok - glib/cxx-17.test 1393s # Running test: glib/thread-pool-slow.test 1393s TAP version 13 1393s # random seed: R02S58d9eb8f7c0cf2b490b4e6a93f2bfd4b 1393s 1..7 1393s # Start of threadpool tests 1393s ok 1 /threadpool/functions 1393s ok 2 /threadpool/stop-unused 1393s # slow test /threadpool/stop-unused executed in 0.51 secs 1393s ok 3 /threadpool/pools 1393s # [unsorted] ===> pushed new thread with id:52, number of threads:1, unprocessed:1 1393s # [unsorted] ===> pushed new thread with id:14, number of threads:2, unprocessed:2 1393s # [unsorted] ===> pushed new thread with id:25, number of threads:3, unprocessed:3 1393s # [unsorted] ===> pushed new thread with id:33, number of threads:4, unprocessed:4 1393s # [unsorted] ===> pushed new thread with id:34, number of threads:5, unprocessed:5 1393s # [unsorted] ===> pushed new thread with id:69, number of threads:6, unprocessed:6 1393s # [unsorted] ===> pushed new thread with id:66, number of threads:7, unprocessed:7 1393s # [unsorted] ===> pushed new thread with id:29, number of threads:8, unprocessed:8 1393s # [unsorted] ===> pushed new thread with id:48, number of threads:9, unprocessed:9 1393s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:10 1393s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:11 1393s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:12 1393s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:13 1393s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:14 1393s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:15 1393s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:16 1393s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:17 1393s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:18 1393s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:19 1393s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:20 1393s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:21 1393s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:22 1393s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:23 1393s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:24 1393s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:25 1393s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:26 1393s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:27 1393s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:28 1393s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:29 1393s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:30 1393s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:31 1393s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:32 1393s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:33 1393s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:34 1393s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:35 1393s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:36 1393s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:37 1393s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:38 1393s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:39 1393s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:40 1393s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:41 1393s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:42 1393s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:43 1393s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:44 1393s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:45 1393s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:46 1393s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:47 1393s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:48 1393s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:49 1393s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:50 1393s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:51 1393s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:52 1393s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:53 1393s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:54 1393s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:55 1393s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:56 1393s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:57 1393s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:58 1393s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:59 1393s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:60 1393s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:61 1393s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:62 1393s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:63 1393s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:64 1393s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:65 1393s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:66 1393s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:67 1393s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:68 1393s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:69 1393s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:70 1393s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:71 1393s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:72 1393s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:73 1393s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:74 1393s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:75 1393s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:76 1393s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:77 1393s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:78 1393s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:79 1393s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:80 1393s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:81 1393s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:82 1393s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:83 1393s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:84 1393s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:85 1393s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:86 1393s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:87 1393s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:88 1393s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:89 1393s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:90 1393s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:91 1393s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:92 1393s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:93 1393s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:94 1393s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:95 1393s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:96 1393s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:97 1393s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:98 1393s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:99 1393s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:100 1393s ok 4 /threadpool/no-sort 1393s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:1 1393s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:2 1393s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:3 1393s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:4 1393s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:5 1393s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:6 1393s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:7 1393s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:8 1393s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:9 1393s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:10 1393s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:11 1393s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:12 1393s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:13 1393s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:14 1393s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:15 1393s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:16 1393s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:17 1393s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:18 1393s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:19 1393s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:20 1393s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:21 1393s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:22 1393s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:23 1393s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:24 1393s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:25 1393s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:26 1393s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:27 1393s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:28 1393s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:29 1393s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:30 1393s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:31 1393s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:32 1393s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:33 1393s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:34 1393s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:35 1393s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:36 1393s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:37 1393s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:38 1393s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:39 1393s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:40 1393s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:41 1393s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:42 1393s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:43 1393s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:44 1393s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:45 1393s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:46 1393s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:47 1393s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:48 1393s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:49 1393s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:50 1393s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:51 1393s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:52 1393s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:53 1393s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:54 1393s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:55 1393s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:56 1393s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:57 1393s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:58 1393s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:59 1393s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:60 1393s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:61 1393s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:62 1393s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:63 1393s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:64 1393s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:65 1393s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:66 1393s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:67 1393s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:68 1393s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:69 1393s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:70 1393s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:71 1393s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:72 1393s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:73 1393s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:74 1393s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:75 1393s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:76 1393s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:77 1393s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:78 1393s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:79 1393s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:80 1393s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:81 1393s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:82 1393s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:83 1393s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:84 1393s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:85 1393s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:86 1393s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:87 1393s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:88 1393s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:89 1393s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:90 1393s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:91 1393s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:92 1393s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:93 1393s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:94 1393s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:95 1393s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:96 1393s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:97 1393s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:98 1393s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:99 1393s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:100 1393s # Starting thread pool processing 1393s ok 5 /threadpool/sort 1394s ok 6 /threadpool/stop-unused-multiple 1394s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1394s # Pool idle thread count: 0, unprocessed jobs: 40 1394s # Pool idle thread count: 0, unprocessed jobs: 0 1394s # Pool idle thread count: 0, unprocessed jobs: 0 1395s # Pool idle thread count: 10, unprocessed jobs: 0 1395s # Pool idle thread count: 10, unprocessed jobs: 0 1395s # Executing: glib/thread-pool-slow.test 1395s # Pool idle thread count: 10, unprocessed jobs: 0 1395s # Pool idle thread count: 10, unprocessed jobs: 0 1396s # Pool idle thread count: 10, unprocessed jobs: 0 1396s # Pool idle thread count: 10, unprocessed jobs: 0 1396s # Pool idle thread count: 10, unprocessed jobs: 0 1396s # Pool idle thread count: 10, unprocessed jobs: 0 1397s # Pool idle thread count: 10, unprocessed jobs: 0 1397s # Pool idle thread count: 10, unprocessed jobs: 0 1397s # Pool idle thread count: 10, unprocessed jobs: 0 1397s # Pool idle thread count: 10, unprocessed jobs: 0 1398s # Pool idle thread count: 10, unprocessed jobs: 0 1398s # Pool idle thread count: 10, unprocessed jobs: 0 1398s # Pool idle thread count: 10, unprocessed jobs: 0 1398s # Pool idle thread count: 10, unprocessed jobs: 0 1399s # Pool idle thread count: 10, unprocessed jobs: 0 1399s # Pool idle thread count: 10, unprocessed jobs: 0 1399s # Pool idle thread count: 10, unprocessed jobs: 0 1399s # Pool idle thread count: 10, unprocessed jobs: 0 1400s # Pool idle thread count: 10, unprocessed jobs: 0 1400s # Pool idle thread count: 10, unprocessed jobs: 0 1400s # Executing: glib/thread-pool-slow.test 1400s # Pool idle thread count: 10, unprocessed jobs: 0 1400s # Pool idle thread count: 10, unprocessed jobs: 0 1401s # Pool idle thread count: 10, unprocessed jobs: 0 1401s # Pool idle thread count: 10, unprocessed jobs: 0 1401s # Pool idle thread count: 10, unprocessed jobs: 0 1401s # Pool idle thread count: 10, unprocessed jobs: 0 1402s # Pool idle thread count: 10, unprocessed jobs: 0 1402s # Pool idle thread count: 10, unprocessed jobs: 0 1402s # Pool idle thread count: 10, unprocessed jobs: 0 1402s # Pool idle thread count: 10, unprocessed jobs: 0 1403s # Pool idle thread count: 10, unprocessed jobs: 2 1403s # Pool idle thread count: 8, unprocessed jobs: 0 1403s # Pool idle thread count: 8, unprocessed jobs: 0 1403s # Pool idle thread count: 8, unprocessed jobs: 0 1403s # Pool idle thread count: 10, unprocessed jobs: 0 1403s # Pool idle thread count: 10, unprocessed jobs: 0 1404s # Pool idle thread count: 10, unprocessed jobs: 0 1404s # Pool idle thread count: 10, unprocessed jobs: 0 1404s # Pool idle thread count: 10, unprocessed jobs: 0 1404s # Pool idle thread count: 10, unprocessed jobs: 0 1405s # Pool idle thread count: 2, unprocessed jobs: 0 1405s # Pool idle thread count: 2, unprocessed jobs: 0 1405s # Executing: glib/thread-pool-slow.test 1405s # Pool idle thread count: 2, unprocessed jobs: 0 1405s # Pool idle thread count: 2, unprocessed jobs: 0 1406s # Pool idle thread count: 2, unprocessed jobs: 0 1406s # Pool idle thread count: 2, unprocessed jobs: 0 1406s # Pool idle thread count: 2, unprocessed jobs: 0 1406s # Pool idle thread count: 2, unprocessed jobs: 0 1407s # Pool idle thread count: 2, unprocessed jobs: 0 1407s # Pool idle thread count: 2, unprocessed jobs: 0 1407s # Pool idle thread count: 2, unprocessed jobs: 0 1407s # Pool idle thread count: 2, unprocessed jobs: 0 1408s # Pool idle thread count: 2, unprocessed jobs: 0 1408s # Pool idle thread count: 2, unprocessed jobs: 0 1408s # Pool idle thread count: 2, unprocessed jobs: 0 1408s # Pool idle thread count: 2, unprocessed jobs: 0 1409s # Pool idle thread count: 2, unprocessed jobs: 0 1409s # Pool idle thread count: 2, unprocessed jobs: 0 1409s # Pool idle thread count: 2, unprocessed jobs: 0 1409s # Pool idle thread count: 2, unprocessed jobs: 0 1410s # Pool idle thread count: 2, unprocessed jobs: 0 1410s # Pool idle thread count: 2, unprocessed jobs: 0 1410s # Executing: glib/thread-pool-slow.test 1410s # Pool idle thread count: 2, unprocessed jobs: 0 1410s # Pool idle thread count: 2, unprocessed jobs: 0 1411s # Pool idle thread count: 2, unprocessed jobs: 0 1411s # Pool idle thread count: 2, unprocessed jobs: 0 1411s # Pool idle thread count: 2, unprocessed jobs: 0 1411s # Pool idle thread count: 2, unprocessed jobs: 0 1412s # Pool idle thread count: 2, unprocessed jobs: 0 1412s # Pool idle thread count: 2, unprocessed jobs: 0 1412s # Pool idle thread count: 2, unprocessed jobs: 0 1412s # Pool idle thread count: 2, unprocessed jobs: 0 1413s # Pool idle thread count: 2, unprocessed jobs: 0 1413s # Pool idle thread count: 2, unprocessed jobs: 0 1413s ok 7 /threadpool/idle-time 1413s # slow test /threadpool/idle-time executed in 19.54 secs 1413s # End of threadpool tests 1413s ok - glib/thread-pool-slow.test 1413s # Running test: glib/unicode-encoding.test 1413s TAP version 13 1413s # random seed: R02S5b43755e21c3afacd89db840ddf237b4 1413s 1..1 1413s # Start of unicode tests 1413s ok 1 /unicode/encoding 1413s # End of unicode tests 1413s ok - glib/unicode-encoding.test 1413s # Running test: glib/portal-support-flatpak-none.test 1413s TAP version 13 1413s # random seed: R02Sdfff2cdfb129a9873bff9f32af998032 1413s 1..1 1413s # Start of portal-support tests 1413s # Start of flatpak tests 1413s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_XQDPK2/portal-support/flatpak/none/.dirs/home 1413s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_XQDPK2/portal-support/flatpak/none/.dirs/cache 1413s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_XQDPK2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_XQDPK2/portal-support/flatpak/none/.dirs/system-config2 1413s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_XQDPK2/portal-support/flatpak/none/.dirs/config 1413s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_XQDPK2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_XQDPK2/portal-support/flatpak/none/.dirs/system-data2 1413s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_XQDPK2/portal-support/flatpak/none/.dirs/data 1413s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_XQDPK2/portal-support/flatpak/none/.dirs/state 1413s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_XQDPK2/portal-support/flatpak/none/.dirs/runtime 1413s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_XQDPK2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1413s ok 1 /portal-support/flatpak/none 1413s # End of flatpak tests 1413s # End of portal-support tests 1413s ok - glib/portal-support-flatpak-none.test 1413s # Running test: glib/option-context.test 1413s TAP version 13 1413s # random seed: R02S48c5d3c41307a5334a911828d3da66c8 1413s 1..57 1413s # Start of option tests 1413s ok 1 /option/basic 1413s ok 2 /option/translate 1413s ok 3 /option/strict-posix 1413s # Start of help tests 1413s ok 4 /option/help/options 1413s ok 5 /option/help/no-options 1413s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1413s ok 6 /option/help/no-help-options 1413s # End of help tests 1413s # Start of group tests 1413s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1413s ok 7 /option/group/captions 1413s ok 8 /option/group/main 1413s ok 9 /option/group/error-hook 1413s ok 10 /option/group/parse 1413s # Start of captions tests 1413s # Start of subprocess tests 1413s # End of subprocess tests 1413s # End of captions tests 1413s # End of group tests 1413s # Start of restoration tests 1413s ok 11 /option/restoration/int 1413s ok 12 /option/restoration/string 1413s ok 13 /option/restoration/boolean 1413s # End of restoration tests 1413s # Start of arg tests 1413s ok 14 /option/arg/reverse-string 1413s ok 15 /option/arg/optional-int 1413s # Start of repetition tests 1413s ok 16 /option/arg/repetition/int 1413s ok 17 /option/arg/repetition/string 1413s ok 18 /option/arg/repetition/filename 1413s ok 19 /option/arg/repetition/double 1413s ok 20 /option/arg/repetition/locale 1413s ok 21 /option/arg/repetition/int64 1413s # End of repetition tests 1413s # Start of array tests 1413s ok 22 /option/arg/array/string 1413s # End of array tests 1413s # Start of callback tests 1413s ok 23 /option/arg/callback/string 1413s ok 24 /option/arg/callback/count 1413s ok 25 /option/arg/callback/optional1 1413s ok 26 /option/arg/callback/optional2 1413s ok 27 /option/arg/callback/optional3 1413s ok 28 /option/arg/callback/optional4 1413s ok 29 /option/arg/callback/optional5 1413s ok 30 /option/arg/callback/optional6 1413s ok 31 /option/arg/callback/optional7 1413s ok 32 /option/arg/callback/optional8 1413s # End of callback tests 1413s # Start of remaining tests 1413s ok 33 /option/arg/remaining/callback 1413s ok 34 /option/arg/remaining/callback-false 1413s ok 35 /option/arg/remaining/non-option 1413s ok 36 /option/arg/remaining/separator 1413s ok 37 /option/arg/remaining/array 1413s # End of remaining tests 1413s # Start of ignore tests 1413s ok 38 /option/arg/ignore/long 1413s ok 39 /option/arg/ignore/short 1413s ok 40 /option/arg/ignore/arg 1413s # End of ignore tests 1413s # Start of rest tests 1413s ok 41 /option/arg/rest/non-option 1413s ok 42 /option/arg/rest/separator1 1413s ok 43 /option/arg/rest/separator2 1413s ok 44 /option/arg/rest/separator3 1413s ok 45 /option/arg/rest/separator4 1413s ok 46 /option/arg/rest/separator5 1413s # End of rest tests 1413s # End of arg tests 1413s # Start of context tests 1413s ok 47 /option/context/add 1413s ok 48 /option/context/empty2 1413s ok 49 /option/context/empty3 1413s # End of context tests 1413s # Start of bug tests 1413s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1413s ok 50 /option/bug/unknown-short 1413s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1413s ok 51 /option/bug/lonely-dash 1413s ok 52 /option/bug/triple-dash 1413s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1413s ok 53 /option/bug/missing-arg 1413s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1413s ok 54 /option/bug/dash-arg 1413s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1413s ok 55 /option/bug/short-remaining 1413s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1413s ok 56 /option/bug/double-free 1413s ok 57 /option/bug/double-zero 1413s # End of bug tests 1413s # End of option tests 1413s ok - glib/option-context.test 1413s # Running test: glib/mem-overflow.test 1413s TAP version 13 1413s # random seed: R02Sade2b3fdf20861a45235b7a0a683fc3b 1413s 1..2 1413s # Start of mem tests 1413s ok 1 /mem/overflow 1413s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1413s ok 2 /mem/empty-alloc 1413s # Start of overflow tests 1413s # Start of subprocess tests 1413s # End of subprocess tests 1413s # End of overflow tests 1413s # Start of empty-alloc tests 1413s # End of empty-alloc tests 1413s # End of mem tests 1413s ok - glib/mem-overflow.test 1413s # Running test: glib/list.test 1413s TAP version 13 1413s # random seed: R02S82eb83b3d0393bf246d38bb8cf4d8a75 1413s 1..20 1413s # Start of list tests 1413s ok 1 /list/sort 1413s ok 2 /list/sort-with-data 1413s ok 3 /list/insert-before-link 1413s ok 4 /list/insert-sorted 1413s ok 5 /list/insert-sorted-with-data 1413s ok 6 /list/reverse 1413s ok 7 /list/nth 1413s ok 8 /list/concat 1413s ok 9 /list/remove 1413s ok 10 /list/remove-all 1413s ok 11 /list/first-last 1413s ok 12 /list/insert 1413s ok 13 /list/free-full 1413s ok 14 /list/copy 1413s ok 15 /list/copy-deep 1413s ok 16 /list/delete-link 1413s ok 17 /list/prepend 1413s ok 18 /list/position 1413s ok 19 /list/double-free 1413s # Start of sort tests 1413s ok 20 /list/sort/stable 1413s # End of sort tests 1413s # End of list tests 1413s ok - glib/list.test 1413s # Running test: glib/completion.test 1413s TAP version 13 1413s # random seed: R02S5b59a85a9f7d1c32a45e7055c66ebb09 1413s 1..1 1413s # Start of completion tests 1413s ok 1 /completion/test-completion 1413s # End of completion tests 1413s ok - glib/completion.test 1413s # Running test: glib/task.test 1413s TAP version 13 1413s # random seed: R02S2b138ffdce6b400f50d28ed60886bb0f 1413s 1..36 1413s # Start of gtask tests 1413s ok 1 /gtask/basic 1413s ok 2 /gtask/error 1413s ok 3 /gtask/error-literal 1413s ok 4 /gtask/error-literal-from-variable 1413s ok 5 /gtask/return-from-same-iteration 1413s ok 6 /gtask/return-from-toplevel 1413s ok 7 /gtask/return-from-anon-thread 1413s ok 8 /gtask/return-from-wrong-thread 1413s ok 9 /gtask/no-callback 1413s ok 10 /gtask/report-error 1413s ok 11 /gtask/priority 1413s ok 12 /gtask/name 1413s ok 13 /gtask/static-name 1413s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1414s ok 14 /gtask/asynchronous-cancellation 1414s ok 15 /gtask/check-cancellable 1414s ok 16 /gtask/return-if-cancelled 1414s ok 17 /gtask/run-in-thread 1414s ok 18 /gtask/run-in-thread-sync 1414s ok 19 /gtask/run-in-thread-priority 1414s ok 20 /gtask/run-in-thread-nested 1414s ok 21 /gtask/run-in-thread-overflow 1414s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 1414s # GLib-GIO-DEBUG: GTask 0x130cad2436a0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1414s # GLib-GIO-DEBUG: GTask 0x130cad242f30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1414s ok 22 /gtask/return-on-cancel 1414s # GLib-GIO-DEBUG: GTask 0x130cad2435c0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1414s # GLib-GIO-DEBUG: GTask 0x130cad243a60 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1414s ok 23 /gtask/return-on-cancel-sync 1414s ok 24 /gtask/return-on-cancel-atomic 1414s ok 25 /gtask/return-pointer 1414s ok 26 /gtask/return-value 1414s ok 27 /gtask/return-prefixed-error 1414s ok 28 /gtask/object-keepalive 1414s ok 29 /gtask/legacy-error 1414s ok 30 /gtask/finalize-without-return 1414s # Start of name tests 1414s ok 31 /gtask/name/macro-wrapper 1414s # End of name tests 1414s # Start of return tests 1414s ok 32 /gtask/return/error-first 1414s ok 33 /gtask/return/value-first 1414s # Start of in-idle tests 1414s ok 34 /gtask/return/in-idle/error-first 1414s ok 35 /gtask/return/in-idle/value-first 1414s # End of in-idle tests 1415s # End of return tests 1415s # Start of attach-source tests 1415s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1415s ok 36 /gtask/attach-source/set-name 1415s # End of attach-source tests 1415s # End of gtask tests 1415s ok - glib/task.test 1415s # Running test: glib/type.test 1415s TAP version 13 1415s # random seed: R02Sfad8cf44b1aaabe930a1579f94865c39 1415s 1..6 1415s # Start of type tests 1415s ok 1 /type/registration-serial 1415s ok 2 /type/interface-prerequisite 1415s ok 3 /type/interface-check 1415s ok 4 /type/next-base 1415s ok 5 /type/is-a 1415s # Invalid types can?t be queried. 1415s # Unclassed types can?t be queried. 1415s ok 6 /type/query 1415s # End of type tests 1415s ok - glib/type.test 1415s # Running test: glib/gdbus-connection-loss.test 1415s TAP version 13 1415s # random seed: R02S9843a7f2737ca3a7275e85ec1331e134 1415s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1415s 1..1 1415s # Start of gdbus tests 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_INJPK2/gdbus/connection-loss/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_INJPK2/gdbus/connection-loss/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_INJPK2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_INJPK2/gdbus/connection-loss/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_INJPK2/gdbus/connection-loss/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_INJPK2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_INJPK2/gdbus/connection-loss/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_INJPK2/gdbus/connection-loss/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_INJPK2/gdbus/connection-loss/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_INJPK2/gdbus/connection-loss/.dirs/runtime 1415s ok 1 /gdbus/connection-loss 1415s # End of gdbus tests 1415s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1415s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1415s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1415s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1415s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1415s ok - glib/gdbus-connection-loss.test 1415s # Running test: glib/strfuncs.test 1415s TAP version 13 1415s # random seed: R02S7d331c442c834139734272339c214f50 1415s 1..50 1415s # Start of strfuncs tests 1415s ok 1 /strfuncs/ascii-strcasecmp 1415s ok 2 /strfuncs/ascii_strdown 1415s ok 3 /strfuncs/ascii_strdup 1415s ok 4 /strfuncs/ascii_strtod 1415s ok 5 /strfuncs/bounds-check 1415s ok 6 /strfuncs/has-prefix 1415s ok 7 /strfuncs/has-prefix-macro 1415s ok 8 /strfuncs/has-suffix 1415s ok 9 /strfuncs/has-suffix-macro 1415s ok 10 /strfuncs/memdup 1415s ok 11 /strfuncs/memdup2 1415s ok 12 /strfuncs/set_str 1415s ok 13 /strfuncs/stpcpy 1415s ok 14 /strfuncs/str_match_string 1415s ok 15 /strfuncs/str_tokenize_and_fold 1415s ok 16 /strfuncs/strcanon 1415s ok 17 /strfuncs/strchomp 1415s ok 18 /strfuncs/strchug 1415s ok 19 /strfuncs/strcompress-strescape 1415s ok 20 /strfuncs/strconcat 1415s ok 21 /strfuncs/strdelimit 1415s ok 22 /strfuncs/strdup 1415s ok 23 /strfuncs/strdup-printf 1415s ok 24 /strfuncs/strdupv 1415s ok 25 /strfuncs/strerror 1415s ok 26 /strfuncs/strip-context 1415s ok 27 /strfuncs/strjoin 1415s ok 28 /strfuncs/strjoinv 1415s ok 29 /strfuncs/strlcat 1415s ok 30 /strfuncs/strlcpy 1415s ok 31 /strfuncs/strncasecmp 1415s ok 32 /strfuncs/strndup 1415s ok 33 /strfuncs/strnfill 1415s ok 34 /strfuncs/strreverse 1415s ok 35 /strfuncs/strsignal 1415s ok 36 /strfuncs/strsplit 1415s ok 37 /strfuncs/strsplit-set 1415s ok 38 /strfuncs/strstr 1415s ok 39 /strfuncs/strtod 1415s ok 40 /strfuncs/strtoull-strtoll 1415s ok 41 /strfuncs/strup 1415s ok 42 /strfuncs/strv-contains 1415s ok 43 /strfuncs/strv-equal 1415s ok 44 /strfuncs/strv-length 1415s ok 45 /strfuncs/test-is-to-digit 1415s ok 46 /strfuncs/transliteration 1415s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1415s ok 47 /strfuncs/str-equal 1415s # Start of ascii-string-to-num tests 1415s ok 48 /strfuncs/ascii-string-to-num/pathological 1415s ok 49 /strfuncs/ascii-string-to-num/usual 1415s # End of ascii-string-to-num tests 1415s # Start of strdup tests 1415s ok 50 /strfuncs/strdup/inline 1415s # End of strdup tests 1415s # End of strfuncs tests 1415s ok - glib/strfuncs.test 1415s # Running test: glib/file.test 1415s TAP version 13 1415s # random seed: R02S82869d88667b9fcf78ea7d6feeafb46a 1415s 1..50 1415s # Start of file tests 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/basic/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/basic/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/basic/.dirs/system-config1:/tmp/test_file_T65TK2/file/basic/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/basic/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/basic/.dirs/system-data1:/tmp/test_file_T65TK2/file/basic/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/basic/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/basic/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/basic/.dirs/runtime 1415s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1415s ok 1 /file/basic 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/build-filename/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/build-filename/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/build-filename/.dirs/system-config1:/tmp/test_file_T65TK2/file/build-filename/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/build-filename/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/build-filename/.dirs/system-data1:/tmp/test_file_T65TK2/file/build-filename/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/build-filename/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/build-filename/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/build-filename/.dirs/runtime 1415s ok 2 /file/build-filename 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/build-filenamev/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/build-filenamev/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_T65TK2/file/build-filenamev/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/build-filenamev/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_T65TK2/file/build-filenamev/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/build-filenamev/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/build-filenamev/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/build-filenamev/.dirs/runtime 1415s ok 3 /file/build-filenamev 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/parent/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/parent/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/parent/.dirs/system-config1:/tmp/test_file_T65TK2/file/parent/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/parent/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/parent/.dirs/system-data1:/tmp/test_file_T65TK2/file/parent/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/parent/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/parent/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/parent/.dirs/runtime 1415s ok 4 /file/parent 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/child/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/child/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/child/.dirs/system-config1:/tmp/test_file_T65TK2/file/child/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/child/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/child/.dirs/system-data1:/tmp/test_file_T65TK2/file/child/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/child/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/child/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/child/.dirs/runtime 1415s ok 5 /file/child 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/empty-path/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/empty-path/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/empty-path/.dirs/system-config1:/tmp/test_file_T65TK2/file/empty-path/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/empty-path/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/empty-path/.dirs/system-data1:/tmp/test_file_T65TK2/file/empty-path/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/empty-path/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/empty-path/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/empty-path/.dirs/runtime 1415s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1415s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1415s ok 6 /file/empty-path 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/type/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/type/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/type/.dirs/system-config1:/tmp/test_file_T65TK2/file/type/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/type/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/type/.dirs/system-data1:/tmp/test_file_T65TK2/file/type/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/type/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/type/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/type/.dirs/runtime 1415s ok 7 /file/type 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/parse-name/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/parse-name/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/parse-name/.dirs/system-config1:/tmp/test_file_T65TK2/file/parse-name/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/parse-name/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/parse-name/.dirs/system-data1:/tmp/test_file_T65TK2/file/parse-name/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/parse-name/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/parse-name/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/parse-name/.dirs/runtime 1415s ok 8 /file/parse-name 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/replace-load/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/replace-load/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/replace-load/.dirs/system-config1:/tmp/test_file_T65TK2/file/replace-load/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/replace-load/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/replace-load/.dirs/system-data1:/tmp/test_file_T65TK2/file/replace-load/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/replace-load/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/replace-load/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/replace-load/.dirs/runtime 1415s ok 9 /file/replace-load 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/replace-cancel/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/replace-cancel/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_T65TK2/file/replace-cancel/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/replace-cancel/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_T65TK2/file/replace-cancel/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/replace-cancel/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/replace-cancel/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/replace-cancel/.dirs/runtime 1415s # Bug Reference: https://bugzilla.gnome.org/629301 1415s ok 10 /file/replace-cancel 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/replace-symlink/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/replace-symlink/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_T65TK2/file/replace-symlink/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/replace-symlink/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_T65TK2/file/replace-symlink/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/replace-symlink/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/replace-symlink/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/replace-symlink/.dirs/runtime 1415s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1415s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1415s # Using temporary directory /tmp/test_file_T65TK2/g_file_replace_symlink_HVYTK2 1415s ok 11 /file/replace-symlink 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/async-new-tmp/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/async-new-tmp/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_T65TK2/file/async-new-tmp/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/async-new-tmp/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_T65TK2/file/async-new-tmp/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/async-new-tmp/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/async-new-tmp/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/async-new-tmp/.dirs/runtime 1415s ok 12 /file/async-new-tmp 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/async-new-tmp-dir/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/async-new-tmp-dir/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_T65TK2/file/async-new-tmp-dir/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/async-new-tmp-dir/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_T65TK2/file/async-new-tmp-dir/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/async-new-tmp-dir/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/async-new-tmp-dir/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/async-new-tmp-dir/.dirs/runtime 1415s ok 13 /file/async-new-tmp-dir 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/async-delete/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/async-delete/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/async-delete/.dirs/system-config1:/tmp/test_file_T65TK2/file/async-delete/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/async-delete/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/async-delete/.dirs/system-data1:/tmp/test_file_T65TK2/file/async-delete/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/async-delete/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/async-delete/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/async-delete/.dirs/runtime 1415s ok 14 /file/async-delete 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/async-make-symlink/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/async-make-symlink/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_T65TK2/file/async-make-symlink/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/async-make-symlink/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_T65TK2/file/async-make-symlink/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/async-make-symlink/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/async-make-symlink/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/async-make-symlink/.dirs/runtime 1415s ok 15 /file/async-make-symlink 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/copy-preserve-mode/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/copy-preserve-mode/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_T65TK2/file/copy-preserve-mode/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/copy-preserve-mode/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_T65TK2/file/copy-preserve-mode/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/copy-preserve-mode/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/copy-preserve-mode/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/copy-preserve-mode/.dirs/runtime 1415s # Current umask: 2 1415s # Vector 0 1415s # Vector 1 1415s # Vector 2 1415s # Vector 3 1415s # Vector 4 1415s # Vector 5 1415s # Vector 6 1415s # Vector 7 1415s # Vector 8 1415s # Vector 9 1415s # Vector 10 1415s ok 16 /file/copy-preserve-mode 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/measure/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/measure/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/measure/.dirs/system-config1:/tmp/test_file_T65TK2/file/measure/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/measure/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/measure/.dirs/system-data1:/tmp/test_file_T65TK2/file/measure/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/measure/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/measure/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/measure/.dirs/runtime 1415s ok 17 /file/measure 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/measure-async/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/measure-async/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/measure-async/.dirs/system-config1:/tmp/test_file_T65TK2/file/measure-async/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/measure-async/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/measure-async/.dirs/system-data1:/tmp/test_file_T65TK2/file/measure-async/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/measure-async/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/measure-async/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/measure-async/.dirs/runtime 1415s ok 18 /file/measure-async 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/load-bytes/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/load-bytes/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_T65TK2/file/load-bytes/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/load-bytes/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_T65TK2/file/load-bytes/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/load-bytes/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/load-bytes/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/load-bytes/.dirs/runtime 1415s ok 19 /file/load-bytes 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/load-bytes-async/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/load-bytes-async/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_T65TK2/file/load-bytes-async/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/load-bytes-async/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_T65TK2/file/load-bytes-async/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/load-bytes-async/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/load-bytes-async/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/load-bytes-async/.dirs/runtime 1415s ok 20 /file/load-bytes-async 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/writev/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/writev/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/writev/.dirs/system-config1:/tmp/test_file_T65TK2/file/writev/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/writev/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/writev/.dirs/system-data1:/tmp/test_file_T65TK2/file/writev/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/writev/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/writev/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/writev/.dirs/runtime 1415s ok 21 /file/writev 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/build-attribute-list-for-copy/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/build-attribute-list-for-copy/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_T65TK2/file/build-attribute-list-for-copy/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/build-attribute-list-for-copy/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_T65TK2/file/build-attribute-list-for-copy/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/build-attribute-list-for-copy/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/build-attribute-list-for-copy/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/build-attribute-list-for-copy/.dirs/runtime 1415s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1415s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1415s # 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::* 1415s # 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::* 1415s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1415s # Attributes for copy: standard::size,xattr::* 1415s # Attributes for copy: standard::size,unix::mode,xattr::* 1415s ok 22 /file/build-attribute-list-for-copy 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/move_async/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/move_async/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/move_async/.dirs/system-config1:/tmp/test_file_T65TK2/file/move_async/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/move_async/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/move_async/.dirs/system-data1:/tmp/test_file_T65TK2/file/move_async/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/move_async/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/move_async/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/move_async/.dirs/runtime 1415s ok 23 /file/move_async 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/query-zero-length-content-type/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/query-zero-length-content-type/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_T65TK2/file/query-zero-length-content-type/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/query-zero-length-content-type/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_T65TK2/file/query-zero-length-content-type/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/query-zero-length-content-type/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/query-zero-length-content-type/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/query-zero-length-content-type/.dirs/runtime 1415s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1415s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1415s ok 24 /file/query-zero-length-content-type 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/runtime 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/data/applications 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/config 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/config 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/config 1415s ok 25 /file/query-default-handler-file 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/runtime 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/data/applications 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/config 1415s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_T65TK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/config 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/config 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/config 1415s ok 26 /file/query-default-handler-file-async 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/runtime 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/data/applications 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/config 1415s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_T65TK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/config 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/config 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/config 1415s ok 27 /file/query-default-handler-uri 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/runtime 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/data/applications 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/config 1415s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_T65TK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/config 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/config 1415s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_T65TK2/file/query-default-handler-uri-async/.dirs/config 1415s ok 28 /file/query-default-handler-uri-async 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/enumerator-cancellation/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/enumerator-cancellation/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_T65TK2/file/enumerator-cancellation/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/enumerator-cancellation/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_T65TK2/file/enumerator-cancellation/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/enumerator-cancellation/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/enumerator-cancellation/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/enumerator-cancellation/.dirs/runtime 1415s ok 29 /file/enumerator-cancellation 1415s # Start of async-create-delete tests 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/async-create-delete/0/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/async-create-delete/0/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_T65TK2/file/async-create-delete/0/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/async-create-delete/0/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_T65TK2/file/async-create-delete/0/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/async-create-delete/0/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/async-create-delete/0/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/async-create-delete/0/.dirs/runtime 1415s ok 30 /file/async-create-delete/0 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/async-create-delete/1/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/async-create-delete/1/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_T65TK2/file/async-create-delete/1/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/async-create-delete/1/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_T65TK2/file/async-create-delete/1/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/async-create-delete/1/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/async-create-delete/1/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/async-create-delete/1/.dirs/runtime 1415s ok 31 /file/async-create-delete/1 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/async-create-delete/10/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/async-create-delete/10/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_T65TK2/file/async-create-delete/10/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/async-create-delete/10/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_T65TK2/file/async-create-delete/10/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/async-create-delete/10/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/async-create-delete/10/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/async-create-delete/10/.dirs/runtime 1415s ok 32 /file/async-create-delete/10 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/async-create-delete/25/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/async-create-delete/25/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_T65TK2/file/async-create-delete/25/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/async-create-delete/25/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_T65TK2/file/async-create-delete/25/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/async-create-delete/25/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/async-create-delete/25/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/async-create-delete/25/.dirs/runtime 1415s ok 33 /file/async-create-delete/25 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/async-create-delete/4096/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/async-create-delete/4096/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_T65TK2/file/async-create-delete/4096/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/async-create-delete/4096/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_T65TK2/file/async-create-delete/4096/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/async-create-delete/4096/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/async-create-delete/4096/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/async-create-delete/4096/.dirs/runtime 1415s ok 34 /file/async-create-delete/4096 1415s # End of async-create-delete tests 1415s # Start of replace-symlink tests 1415s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/replace-symlink/using-etag/.dirs/home 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/replace-symlink/using-etag/.dirs/cache 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_T65TK2/file/replace-symlink/using-etag/.dirs/system-config2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/replace-symlink/using-etag/.dirs/config 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_T65TK2/file/replace-symlink/using-etag/.dirs/system-data2 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/replace-symlink/using-etag/.dirs/data 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/replace-symlink/using-etag/.dirs/state 1415s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/replace-symlink/using-etag/.dirs/runtime 1415s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1415s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1415s # Using temporary directory /tmp/test_file_T65TK2/g_file_replace_symlink_using_etag_PPJ1K2 1415s # Executing: glib/file.test 1417s ok 35 /file/replace-symlink/using-etag 1417s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1417s # End of replace-symlink tests 1417s # Start of replace tests 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/replace/write-only/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/replace/write-only/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_T65TK2/file/replace/write-only/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/replace/write-only/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_T65TK2/file/replace/write-only/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/replace/write-only/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/replace/write-only/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/replace/write-only/.dirs/runtime 1417s # /file/replace/write-only summary: Test various situations for g_file_replace() 1417s # Current umask: 2 1417s # Test 0, using temporary directory /tmp/test_file_T65TK2/g_file_replace_X2E1K2 1417s # Test 1, using temporary directory /tmp/test_file_T65TK2/g_file_replace_84E1K2 1417s # Test 2, using temporary directory /tmp/test_file_T65TK2/g_file_replace_EYQ2K2 1417s # Test 3, using temporary directory /tmp/test_file_T65TK2/g_file_replace_KHO2K2 1417s # Test 4, using temporary directory /tmp/test_file_T65TK2/g_file_replace_6UO2K2 1417s # Test 5, using temporary directory /tmp/test_file_T65TK2/g_file_replace_DRN2K2 1417s # Test 6, using temporary directory /tmp/test_file_T65TK2/g_file_replace_NJN2K2 1417s # Test 7, using temporary directory /tmp/test_file_T65TK2/g_file_replace_HXL2K2 1417s # Test 8, using temporary directory /tmp/test_file_T65TK2/g_file_replace_ARJ2K2 1417s # Test 9, using temporary directory /tmp/test_file_T65TK2/g_file_replace_7VJ2K2 1417s # Test 10, using temporary directory /tmp/test_file_T65TK2/g_file_replace_X5H2K2 1417s # Test 11, using temporary directory /tmp/test_file_T65TK2/g_file_replace_8HH2K2 1417s # Test 12, using temporary directory /tmp/test_file_T65TK2/g_file_replace_XZH2K2 1417s # Test 13, using temporary directory /tmp/test_file_T65TK2/g_file_replace_1TG2K2 1417s # Test 14, using temporary directory /tmp/test_file_T65TK2/g_file_replace_BFG2K2 1417s # Test 15, using temporary directory /tmp/test_file_T65TK2/g_file_replace_AID2K2 1417s # Test 16, using temporary directory /tmp/test_file_T65TK2/g_file_replace_KAD2K2 1417s # Test 17, using temporary directory /tmp/test_file_T65TK2/g_file_replace_H0A2K2 1417s # Test 18, using temporary directory /tmp/test_file_T65TK2/g_file_replace_OWA2K2 1417s # Test 19, using temporary directory /tmp/test_file_T65TK2/g_file_replace_OS81K2 1417s # Test 20, using temporary directory /tmp/test_file_T65TK2/g_file_replace_M371K2 1417s # Test 21, using temporary directory /tmp/test_file_T65TK2/g_file_replace_6951K2 1417s # Test 22, using temporary directory /tmp/test_file_T65TK2/g_file_replace_P051K2 1417s # Test 23, using temporary directory /tmp/test_file_T65TK2/g_file_replace_A351K2 1417s # Test 24, using temporary directory /tmp/test_file_T65TK2/g_file_replace_OV31K2 1417s # Test 25, using temporary directory /tmp/test_file_T65TK2/g_file_replace_PS31K2 1417s # Test 26, using temporary directory /tmp/test_file_T65TK2/g_file_replace_DM21K2 1417s # Test 27, using temporary directory /tmp/test_file_T65TK2/g_file_replace_2P21K2 1417s # Test 28, using temporary directory /tmp/test_file_T65TK2/g_file_replace_IDF3K2 1417s # Test 29, using temporary directory /tmp/test_file_T65TK2/g_file_replace_E9E3K2 1417s # Test 30, using temporary directory /tmp/test_file_T65TK2/g_file_replace_56D3K2 1417s # Test 31, using temporary directory /tmp/test_file_T65TK2/g_file_replace_03C3K2 1417s # Test 32, using temporary directory /tmp/test_file_T65TK2/g_file_replace_FKB3K2 1417s # Test 33, using temporary directory /tmp/test_file_T65TK2/g_file_replace_FW92K2 1417s # Test 34, using temporary directory /tmp/test_file_T65TK2/g_file_replace_UAA3K2 1417s # Test 35, using temporary directory /tmp/test_file_T65TK2/g_file_replace_I582K2 1417s # Test 36, using temporary directory /tmp/test_file_T65TK2/g_file_replace_WM82K2 1417s # Test 37, using temporary directory /tmp/test_file_T65TK2/g_file_replace_2962K2 1417s # Test 38, using temporary directory /tmp/test_file_T65TK2/g_file_replace_4T42K2 1417s # Test 39, using temporary directory /tmp/test_file_T65TK2/g_file_replace_M022K2 1417s # Test 40, using temporary directory /tmp/test_file_T65TK2/g_file_replace_5T12K2 1417s # Test 41, using temporary directory /tmp/test_file_T65TK2/g_file_replace_BRZ2K2 1417s # Test 42, using temporary directory /tmp/test_file_T65TK2/g_file_replace_00Y2K2 1417s # Test 43, using temporary directory /tmp/test_file_T65TK2/g_file_replace_0NY2K2 1417s # Test 44, using temporary directory /tmp/test_file_T65TK2/g_file_replace_GOW2K2 1417s # Test 45, using temporary directory /tmp/test_file_T65TK2/g_file_replace_9WW2K2 1417s # Test 46, using temporary directory /tmp/test_file_T65TK2/g_file_replace_SDV2K2 1417s # Test 47, using temporary directory /tmp/test_file_T65TK2/g_file_replace_HKV2K2 1417s # Test 48, using temporary directory /tmp/test_file_T65TK2/g_file_replace_SCT2K2 1417s # We do not have CAP_DAC_OVERRIDE or equivalent 1417s ok 36 /file/replace/write-only 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/replace/read-write/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/replace/read-write/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_T65TK2/file/replace/read-write/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/replace/read-write/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_T65TK2/file/replace/read-write/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/replace/read-write/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/replace/read-write/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/replace/read-write/.dirs/runtime 1417s # /file/replace/read-write summary: Test various situations for g_file_replace() 1417s # Current umask: 2 1417s # Test 0, using temporary directory /tmp/test_file_T65TK2/g_file_replace_KXT2K2 1417s # Test 1, using temporary directory /tmp/test_file_T65TK2/g_file_replace_WJS2K2 1417s # Test 2, using temporary directory /tmp/test_file_T65TK2/g_file_replace_A6R2K2 1417s # Test 3, using temporary directory /tmp/test_file_T65TK2/g_file_replace_1353K2 1417s # Test 4, using temporary directory /tmp/test_file_T65TK2/g_file_replace_9U43K2 1417s # Test 5, using temporary directory /tmp/test_file_T65TK2/g_file_replace_K943K2 1417s # Test 6, using temporary directory /tmp/test_file_T65TK2/g_file_replace_TE33K2 1417s # Test 7, using temporary directory /tmp/test_file_T65TK2/g_file_replace_OK13K2 1417s # Test 8, using temporary directory /tmp/test_file_T65TK2/g_file_replace_T213K2 1417s # Test 9, using temporary directory /tmp/test_file_T65TK2/g_file_replace_9R03K2 1417s # Test 10, using temporary directory /tmp/test_file_T65TK2/g_file_replace_AC03K2 1417s # Test 11, using temporary directory /tmp/test_file_T65TK2/g_file_replace_XTY3K2 1417s # Test 12, using temporary directory /tmp/test_file_T65TK2/g_file_replace_WZY3K2 1417s # Test 13, using temporary directory /tmp/test_file_T65TK2/g_file_replace_8RX3K2 1417s # Test 14, using temporary directory /tmp/test_file_T65TK2/g_file_replace_BZV3K2 1417s # Test 15, using temporary directory /tmp/test_file_T65TK2/g_file_replace_AYV3K2 1417s # Test 16, using temporary directory /tmp/test_file_T65TK2/g_file_replace_CCT3K2 1417s # Test 17, using temporary directory /tmp/test_file_T65TK2/g_file_replace_FGR3K2 1417s # Test 18, using temporary directory /tmp/test_file_T65TK2/g_file_replace_96Q3K2 1417s # Test 19, using temporary directory /tmp/test_file_T65TK2/g_file_replace_7XO3K2 1417s # Test 20, using temporary directory /tmp/test_file_T65TK2/g_file_replace_LCO3K2 1417s # Test 21, using temporary directory /tmp/test_file_T65TK2/g_file_replace_E1N3K2 1417s # Test 22, using temporary directory /tmp/test_file_T65TK2/g_file_replace_OZL3K2 1417s # Test 23, using temporary directory /tmp/test_file_T65TK2/g_file_replace_75L3K2 1417s # Test 24, using temporary directory /tmp/test_file_T65TK2/g_file_replace_JAK3K2 1417s # Test 25, using temporary directory /tmp/test_file_T65TK2/g_file_replace_EPJ3K2 1417s # Test 26, using temporary directory /tmp/test_file_T65TK2/g_file_replace_BRJ3K2 1417s # Test 27, using temporary directory /tmp/test_file_T65TK2/g_file_replace_SZJ3K2 1417s # Test 28, using temporary directory /tmp/test_file_T65TK2/g_file_replace_N0H3K2 1417s # Test 29, using temporary directory /tmp/test_file_T65TK2/g_file_replace_SKH3K2 1417s # Test 30, using temporary directory /tmp/test_file_T65TK2/g_file_replace_Y4U4K2 1417s # Test 31, using temporary directory /tmp/test_file_T65TK2/g_file_replace_NHV4K2 1417s # Test 32, using temporary directory /tmp/test_file_T65TK2/g_file_replace_NHT4K2 1417s # Test 33, using temporary directory /tmp/test_file_T65TK2/g_file_replace_MUS4K2 1417s # Test 34, using temporary directory /tmp/test_file_T65TK2/g_file_replace_RRR4K2 1417s # Test 35, using temporary directory /tmp/test_file_T65TK2/g_file_replace_MZR4K2 1417s # Test 36, using temporary directory /tmp/test_file_T65TK2/g_file_replace_J1P4K2 1417s # Test 37, using temporary directory /tmp/test_file_T65TK2/g_file_replace_RZP4K2 1417s # Test 38, using temporary directory /tmp/test_file_T65TK2/g_file_replace_2UN4K2 1417s # Test 39, using temporary directory /tmp/test_file_T65TK2/g_file_replace_14M4K2 1417s # Test 40, using temporary directory /tmp/test_file_T65TK2/g_file_replace_6GL4K2 1417s # Test 41, using temporary directory /tmp/test_file_T65TK2/g_file_replace_P1K4K2 1417s # Test 42, using temporary directory /tmp/test_file_T65TK2/g_file_replace_M1I4K2 1417s # Test 43, using temporary directory /tmp/test_file_T65TK2/g_file_replace_2EI4K2 1417s # Test 44, using temporary directory /tmp/test_file_T65TK2/g_file_replace_9VG4K2 1417s # Test 45, using temporary directory /tmp/test_file_T65TK2/g_file_replace_QZG4K2 1417s # Test 46, using temporary directory /tmp/test_file_T65TK2/g_file_replace_AGF4K2 1417s # Test 47, using temporary directory /tmp/test_file_T65TK2/g_file_replace_E9D4K2 1417s # Test 48, using temporary directory /tmp/test_file_T65TK2/g_file_replace_WYD4K2 1417s # We do not have CAP_DAC_OVERRIDE or equivalent 1417s ok 37 /file/replace/read-write 1417s # End of replace tests 1417s # Start of copy tests 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/copy/progress/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/copy/progress/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_T65TK2/file/copy/progress/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/copy/progress/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_T65TK2/file/copy/progress/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/copy/progress/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/copy/progress/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/copy/progress/.dirs/runtime 1417s ok 38 /file/copy/progress 1417s # End of copy tests 1417s # Start of writev tests 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/writev/no-bytes-written/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/writev/no-bytes-written/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_T65TK2/file/writev/no-bytes-written/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/writev/no-bytes-written/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_T65TK2/file/writev/no-bytes-written/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/writev/no-bytes-written/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/writev/no-bytes-written/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/writev/no-bytes-written/.dirs/runtime 1417s ok 39 /file/writev/no-bytes-written 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/writev/no-vectors/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/writev/no-vectors/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_T65TK2/file/writev/no-vectors/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/writev/no-vectors/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_T65TK2/file/writev/no-vectors/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/writev/no-vectors/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/writev/no-vectors/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/writev/no-vectors/.dirs/runtime 1417s ok 40 /file/writev/no-vectors 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/writev/empty-vectors/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/writev/empty-vectors/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_T65TK2/file/writev/empty-vectors/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/writev/empty-vectors/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_T65TK2/file/writev/empty-vectors/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/writev/empty-vectors/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/writev/empty-vectors/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/writev/empty-vectors/.dirs/runtime 1417s ok 41 /file/writev/empty-vectors 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/writev/too-big-vectors/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/writev/too-big-vectors/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_T65TK2/file/writev/too-big-vectors/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/writev/too-big-vectors/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_T65TK2/file/writev/too-big-vectors/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/writev/too-big-vectors/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/writev/too-big-vectors/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/writev/too-big-vectors/.dirs/runtime 1417s ok 42 /file/writev/too-big-vectors 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/writev/async/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/writev/async/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/writev/async/.dirs/system-config1:/tmp/test_file_T65TK2/file/writev/async/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/writev/async/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/writev/async/.dirs/system-data1:/tmp/test_file_T65TK2/file/writev/async/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/writev/async/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/writev/async/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/writev/async/.dirs/runtime 1417s ok 43 /file/writev/async 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/writev/async_all/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/writev/async_all/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_T65TK2/file/writev/async_all/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/writev/async_all/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_T65TK2/file/writev/async_all/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/writev/async_all/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/writev/async_all/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/writev/async_all/.dirs/runtime 1417s ok 44 /file/writev/async_all 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/writev/async_all-empty-vectors/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/writev/async_all-empty-vectors/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_T65TK2/file/writev/async_all-empty-vectors/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/writev/async_all-empty-vectors/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_T65TK2/file/writev/async_all-empty-vectors/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/writev/async_all-empty-vectors/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/writev/async_all-empty-vectors/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/writev/async_all-empty-vectors/.dirs/runtime 1417s ok 45 /file/writev/async_all-empty-vectors 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/writev/async_all-no-vectors/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/writev/async_all-no-vectors/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_T65TK2/file/writev/async_all-no-vectors/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/writev/async_all-no-vectors/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_T65TK2/file/writev/async_all-no-vectors/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/writev/async_all-no-vectors/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/writev/async_all-no-vectors/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/writev/async_all-no-vectors/.dirs/runtime 1417s ok 46 /file/writev/async_all-no-vectors 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/writev/async_all-to-big-vectors/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/writev/async_all-to-big-vectors/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_T65TK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/writev/async_all-to-big-vectors/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_T65TK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/writev/async_all-to-big-vectors/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/writev/async_all-to-big-vectors/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/writev/async_all-to-big-vectors/.dirs/runtime 1417s ok 47 /file/writev/async_all-to-big-vectors 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/writev/async_all-cancellation/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/writev/async_all-cancellation/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_T65TK2/file/writev/async_all-cancellation/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/writev/async_all-cancellation/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_T65TK2/file/writev/async_all-cancellation/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/writev/async_all-cancellation/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/writev/async_all-cancellation/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/writev/async_all-cancellation/.dirs/runtime 1417s ok 48 /file/writev/async_all-cancellation 1417s # End of writev tests 1417s # Start of from-uri tests 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/from-uri/ignores-query-string/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/from-uri/ignores-query-string/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_T65TK2/file/from-uri/ignores-query-string/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/from-uri/ignores-query-string/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_T65TK2/file/from-uri/ignores-query-string/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/from-uri/ignores-query-string/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/from-uri/ignores-query-string/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/from-uri/ignores-query-string/.dirs/runtime 1417s ok 49 /file/from-uri/ignores-query-string 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_T65TK2/file/from-uri/ignores-fragment/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_T65TK2/file/from-uri/ignores-fragment/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_T65TK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_T65TK2/file/from-uri/ignores-fragment/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_T65TK2/file/from-uri/ignores-fragment/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_T65TK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_T65TK2/file/from-uri/ignores-fragment/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_T65TK2/file/from-uri/ignores-fragment/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_T65TK2/file/from-uri/ignores-fragment/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_T65TK2/file/from-uri/ignores-fragment/.dirs/runtime 1417s ok 50 /file/from-uri/ignores-fragment 1417s # End of from-uri tests 1417s # End of file tests 1417s ok - glib/file.test 1417s # Running test: glib/ifaceproperties.test 1417s TAP version 13 1417s # random seed: R02S54c0f9fd2c877cd3c00da1076ca71c5f 1417s 1..7 1417s # Start of interface tests 1417s # Start of properties tests 1417s ok 1 /interface/properties/set 1417s ok 2 /interface/properties/notify 1417s ok 3 /interface/properties/find-overridden 1417s ok 4 /interface/properties/list-overridden 1417s ok 5 /interface/properties/find-interface 1417s ok 6 /interface/properties/list-interface 1417s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1417s ok 7 /interface/properties/not-overridden 1417s # End of properties tests 1417s # End of interface tests 1417s ok - glib/ifaceproperties.test 1417s # Running test: glib/struct-info.test 1417s TAP version 13 1417s # random seed: R02S3616a6baab01505ae3d6bcbb96421704 1417s 1..4 1417s # Start of struct-info tests 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_PXWIK2/struct-info/field-iterators/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_PXWIK2/struct-info/field-iterators/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_PXWIK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_PXWIK2/struct-info/field-iterators/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_PXWIK2/struct-info/field-iterators/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_PXWIK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_PXWIK2/struct-info/field-iterators/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_PXWIK2/struct-info/field-iterators/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_PXWIK2/struct-info/field-iterators/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_PXWIK2/struct-info/field-iterators/.dirs/runtime 1417s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1417s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1417s ok 1 /struct-info/field-iterators 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_PXWIK2/struct-info/sizeof-gvalue/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_PXWIK2/struct-info/sizeof-gvalue/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_PXWIK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_PXWIK2/struct-info/sizeof-gvalue/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_PXWIK2/struct-info/sizeof-gvalue/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_PXWIK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_PXWIK2/struct-info/sizeof-gvalue/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_PXWIK2/struct-info/sizeof-gvalue/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_PXWIK2/struct-info/sizeof-gvalue/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_PXWIK2/struct-info/sizeof-gvalue/.dirs/runtime 1417s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1417s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1417s ok 2 /struct-info/sizeof-gvalue 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_PXWIK2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_PXWIK2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_PXWIK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_PXWIK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_PXWIK2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_PXWIK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_PXWIK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_PXWIK2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_PXWIK2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_PXWIK2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1417s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1417s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1417s ok 3 /struct-info/is-pointer-for-struct-method-arg 1417s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_PXWIK2/struct-info/boxed/.dirs/home 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_PXWIK2/struct-info/boxed/.dirs/cache 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_PXWIK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_PXWIK2/struct-info/boxed/.dirs/system-config2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_PXWIK2/struct-info/boxed/.dirs/config 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_PXWIK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_PXWIK2/struct-info/boxed/.dirs/system-data2 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_PXWIK2/struct-info/boxed/.dirs/data 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_PXWIK2/struct-info/boxed/.dirs/state 1417s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_PXWIK2/struct-info/boxed/.dirs/runtime 1417s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1417s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1417s ok 4 /struct-info/boxed 1417s # End of struct-info tests 1417s ok - glib/struct-info.test 1417s # Running test: glib/markup-collect.test 1417s TAP version 13 1417s # random seed: R02S04336914d9b2c41b96cc98e6417f0126 1417s 1..21 1417s # Start of markup tests 1417s # Start of collect tests 1417s ok 1 /markup/collect/0 1417s ok 2 /markup/collect/1 1417s ok 3 /markup/collect/2 1417s ok 4 /markup/collect/3 1417s ok 5 /markup/collect/4 1417s ok 6 /markup/collect/5 1417s ok 7 /markup/collect/6 1417s ok 8 /markup/collect/7 1417s ok 9 /markup/collect/8 1417s ok 10 /markup/collect/9 1417s ok 11 /markup/collect/10 1417s ok 12 /markup/collect/11 1417s ok 13 /markup/collect/12 1417s ok 14 /markup/collect/13 1417s ok 15 /markup/collect/14 1417s ok 16 /markup/collect/15 1417s ok 17 /markup/collect/16 1417s ok 18 /markup/collect/17 1417s ok 19 /markup/collect/18 1417s ok 20 /markup/collect/19 1417s ok 21 /markup/collect/cleanup 1417s # End of collect tests 1417s # End of markup tests 1417s ok - glib/markup-collect.test 1417s # Running test: glib/gutils-user-database.test 1417s TAP version 13 1417s # random seed: R02S433843ad0f14f6d164e2e282be7adc8a 1417s 1..1 1417s # Start of gutils tests 1417s ok 1 /gutils/get_user_database_entry 1417s # End of gutils tests 1417s ok - glib/gutils-user-database.test 1417s # Running test: glib/markup-escape.test 1417s TAP version 13 1417s # random seed: R02Sb5b50745c41a279de11638eb39d8ff6d 1417s 1..41 1417s # Start of markup tests 1417s ok 1 /markup/format 1417s # Start of escape-text tests 1417s ok 2 /markup/escape-text/0 1417s ok 3 /markup/escape-text/1 1417s ok 4 /markup/escape-text/2 1417s ok 5 /markup/escape-text/3 1417s ok 6 /markup/escape-text/4 1417s ok 7 /markup/escape-text/5 1417s ok 8 /markup/escape-text/6 1417s ok 9 /markup/escape-text/7 1417s ok 10 /markup/escape-text/8 1417s ok 11 /markup/escape-text/9 1417s ok 12 /markup/escape-text/10 1417s ok 13 /markup/escape-text/11 1417s ok 14 /markup/escape-text/12 1417s ok 15 /markup/escape-text/13 1417s ok 16 /markup/escape-text/14 1417s ok 17 /markup/escape-text/15 1417s ok 18 /markup/escape-text/16 1417s ok 19 /markup/escape-text/17 1417s ok 20 /markup/escape-text/18 1417s ok 21 /markup/escape-text/19 1417s ok 22 /markup/escape-text/20 1417s ok 23 /markup/escape-text/21 1417s ok 24 /markup/escape-text/22 1417s # End of escape-text tests 1417s # Start of escape-unichar tests 1417s ok 25 /markup/escape-unichar/0 1417s ok 26 /markup/escape-unichar/1 1417s ok 27 /markup/escape-unichar/2 1417s ok 28 /markup/escape-unichar/3 1417s ok 29 /markup/escape-unichar/4 1417s ok 30 /markup/escape-unichar/5 1417s ok 31 /markup/escape-unichar/6 1417s ok 32 /markup/escape-unichar/7 1417s ok 33 /markup/escape-unichar/8 1417s ok 34 /markup/escape-unichar/9 1417s ok 35 /markup/escape-unichar/10 1417s ok 36 /markup/escape-unichar/11 1417s ok 37 /markup/escape-unichar/12 1417s ok 38 /markup/escape-unichar/13 1417s ok 39 /markup/escape-unichar/14 1417s ok 40 /markup/escape-unichar/15 1417s ok 41 /markup/escape-unichar/16 1417s # End of escape-unichar tests 1417s # End of markup tests 1417s ok - glib/markup-escape.test 1417s # Running test: glib/flags.test 1417s TAP version 13 1417s # random seed: R02Sc031c737189948ba68c1ce7edc2cd2d0 1417s 1..1 1417s # Start of gobject tests 1417s # Start of flags tests 1417s ok 1 /gobject/flags/validate 1417s # End of flags tests 1417s # End of gobject tests 1417s ok - glib/flags.test 1417s # Running test: glib/value.test 1417s TAP version 13 1417s # random seed: R02Sf3d95d64ee3c20c3ded0b33ebe74cf50 1417s 1..8 1417s # Start of value tests 1417s ok 1 /value/basic 1417s ok 2 /value/collection 1417s ok 3 /value/copying 1417s ok 4 /value/enum-transformation 1417s ok 5 /value/gtype 1417s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1417s ok 6 /value/string 1417s # Next: GObject object in GValue of GObject to GValue of GObject 1417s # Next: GObject object in GValue of GObject to GValue of TestInterface 1417s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1417s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1417s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1417s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1417s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1417s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1417s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1417s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1417s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1417s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1417s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1417s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1417s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1417s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1417s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1417s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1417s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1417s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1417s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1417s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1417s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1417s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1417s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1417s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1417s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1417s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1417s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1417s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1417s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1417s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1417s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1417s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1417s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1417s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1417s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1417s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1417s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1417s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1417s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1417s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1417s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1417s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1417s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1417s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1417s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1417s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1417s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1417s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1417s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1417s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1417s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1417s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1417s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1417s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1417s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1417s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1417s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1417s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1417s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1417s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1417s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1417s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1417s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1417s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1417s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1417s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1417s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1417s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1417s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1417s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1417s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1417s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1417s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1417s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1417s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1417s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1417s ok 7 /value/transform-object 1417s # Start of array tests 1417s ok 8 /value/array/basic 1417s # End of array tests 1417s # End of value tests 1417s ok - glib/value.test 1417s # Running test: glib/refcount.test 1417s TAP version 13 1417s # random seed: R02S6826189165e75b9bddc9abe459471a38 1417s 1..4 1417s # Start of refcount tests 1417s ok 1 /refcount/grefcount 1417s ok 2 /refcount/gatomicrefcount 1417s # Start of grefcount tests 1417s ok 3 /refcount/grefcount/saturation 1417s # End of grefcount tests 1417s # Start of gatomicrefcount tests 1417s ok 4 /refcount/gatomicrefcount/saturation 1417s # End of gatomicrefcount tests 1417s # End of refcount tests 1417s ok - glib/refcount.test 1417s # Running test: glib/power-profile-monitor-portal.test 1417s TAP version 13 1417s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1418s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1418s 1..2 1418s ok - glib/power-profile-monitor-portal.test 1418s # Running test: glib/socket-service.test 1418s TAP version 13 1418s # random seed: R02S41ba2c14e1c072bfce4509e5747e1f66 1418s 1..4 1418s # Start of socket-service tests 1418s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1418s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1f6fa7a6c330 and GSocketClientAsyncConnectData 0x1f6fa7a64620 1418s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1418s ok 1 /socket-service/start-stop 1418s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1f6fa7a6de90 and GSocketClientAsyncConnectData 0x1f6fa7a6dc30 1418s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1418s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1418s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1f6fa7a6e3a0 for GSocketClientAsyncConnectData 0x1f6fa7a64620 1418s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1418s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1418s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1418s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1418s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1418s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1f6fa7a6f220 for GSocketClientAsyncConnectData 0x1f6fa7a6dc30 1418s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1418s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1418s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1418s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1418s ok 2 /socket-service/read_write_async 1418s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1f6fa7a6df70 and GSocketClientAsyncConnectData 0x1f6fa7a6c900 1418s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1418s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1418s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1f6fa7a70160 for GSocketClientAsyncConnectData 0x1f6fa7a6c900 1418s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1418s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1418s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1418s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1418s ok 3 /socket-service/read_writev_async 1418s # Start of threaded tests 1418s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1418s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1f6fa7a736f0 and GSocketClientAsyncConnectData 0x1f6fa7a64620 1418s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1418s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1418s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1f6fa7a73870 for GSocketClientAsyncConnectData 0x1f6fa7a64620 1418s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1418s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1418s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1418s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1418s ok 4 /socket-service/threaded/712570 1418s # End of threaded tests 1418s # End of socket-service tests 1418s ok - glib/socket-service.test 1418s # Running test: glib/tree.test 1418s TAP version 13 1418s # random seed: R02S1424da4f23f3d098d2df88d26a4cb19f 1418s 1..7 1418s # Start of tree tests 1418s ok 1 /tree/search 1418s ok 2 /tree/remove 1418s ok 3 /tree/destroy 1418s ok 4 /tree/traverse 1418s ok 5 /tree/insert 1418s ok 6 /tree/bounds 1418s ok 7 /tree/remove-all 1418s # End of tree tests 1418s ok - glib/tree.test 1418s # Running test: glib/io-stream.test 1418s TAP version 13 1418s # random seed: R02S3b65d4a3207393aec7cbf227e398347e 1418s 1..3 1418s # Start of io-stream tests 1418s ok 1 /io-stream/copy-chunks 1418s # Start of close tests 1418s # Start of async tests 1418s ok 2 /io-stream/close/async/memory 1418s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1418s ok 3 /io-stream/close/async/file 1418s # End of async tests 1418s # End of close tests 1418s # End of io-stream tests 1418s ok - glib/io-stream.test 1418s # Running test: glib/g-file.test 1418s TAP version 13 1418s # random seed: R02Saf349ae8ff413f8f5d3f82166a7b9d05 1418s 1..8 1418s # Start of g-file tests 1418s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1418s ok 1 /g-file/test_g_file_new_null 1418s ok 2 /g-file/test_g_file_new_for_path 1418s ok 3 /g-file/test_g_file_new_for_uri 1418s ok 4 /g-file/test_g_file_dup 1418s ok 5 /g-file/test_g_file_get_parse_name_utf8 1418s file:///tmp/test-tmp-glib_g-file.test-PUOUK2 1418s file:///tmp 1418s file:///tmp 1418s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1418s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1418s ok 6 /g-file/test_g_file_new_for_commandline_arg 1418s /dir1 /dir1/dir2/dir3/ 1418s /dir1/ /dir1/dir2/dir3/ 1418s /dir1 /dir1/dir2/dir3 1418s /dir1/ /dir1/dir2/dir3 1418s /tmp/ /something/ 1418s /dir1/dir2 /dir1/ 1418s //dir1/new //dir1/new/dir2/dir3 1418s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1418s file:///dir1 file:///dir1/dir2/dir3/ 1418s file:///dir1/ file:///dir1/dir2/dir3/ 1418s file:///dir1 file:///dir1/dir2/dir3 1418s file:///dir1/ file:///dir1/dir2/dir3 1418s file:///tmp/ file:///something/ 1418s file:///dir1/dir2 file:///dir1/ 1418s file:////dir1/new file:////dir1/new/dir2/dir3 1418s 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 1418s ok 7 /g-file/test_g_file_has_prefix 1418s ok 8 /g-file/test_g_file_get_parent_child 1418s # End of g-file tests 1418s ok - glib/g-file.test 1418s # Running test: glib/contexts.test 1418s TAP version 13 1418s # random seed: R02Sbc3fd006af9243773442180cad8f06b4 1418s 1..5 1418s # Start of gio tests 1418s # Start of contexts tests 1418s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1418s ok 1 /gio/contexts/thread-independence 1418s ok 2 /gio/contexts/context-independence 1418s # Start of context-specific tests 1418s ok 3 /gio/contexts/context-specific/identity 1418s ok 4 /gio/contexts/context-specific/emit 1418s ok 5 /gio/contexts/context-specific/emit-and-unref 1418s # End of context-specific tests 1418s # End of contexts tests 1418s # End of gio tests 1418s ok - glib/contexts.test 1418s # Running test: glib/gdbus-server-auth.test 1418s TAP version 13 1418s # random seed: R02Sd654be4d01f8e35541a89751b2b69a8b 1418s 1..9 1418s # Start of gdbus tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/.dirs/runtime 1418s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MYCYK2/gdbus-server-auth-89BYK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1418s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MYCYK2/gdbus-server-auth-89BYK2/dbus-wxJW8Qec 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15071 1418s ok 1 /gdbus/server-auth 1418s # Start of server-auth tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/abstract/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/abstract/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/abstract/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/abstract/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/abstract/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/abstract/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/abstract/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/abstract/.dirs/runtime 1418s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_MYCYK2/gdbus-server-auth-QYVXK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1418s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MYCYK2/gdbus-server-auth-QYVXK2/dbus-L5dUjFI4 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1418s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1418s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15071 1418s ok 2 /gdbus/server-auth/abstract 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/tcp/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/tcp/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/tcp/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/tcp/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/tcp/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/tcp/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/tcp/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/tcp/.dirs/runtime 1418s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1418s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/.dirs/runtime 1418s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MYCYK2/gdbus-server-auth-SKWYK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1418s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MYCYK2/gdbus-server-auth-SKWYK2/dbus-pBrBGIcb 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15071 1418s ok 4 /gdbus/server-auth/anonymous 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/.dirs/runtime 1418s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MYCYK2/gdbus-server-auth-POGZK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1418s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MYCYK2/gdbus-server-auth-POGZK2/dbus-lDgcGo5t 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15071 1418s ok 5 /gdbus/server-auth/external 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/.dirs/runtime 1418s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MYCYK2/gdbus-server-auth-AZC0K2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1418s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1418s # Start of anonymous tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/tcp/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/tcp/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/tcp/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/tcp/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1418s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1418s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1418s # End of anonymous tests 1418s # Start of external tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/require-same-user/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/require-same-user/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/require-same-user/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/require-same-user/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/require-same-user/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1418s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MYCYK2/gdbus-server-auth-92B0K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1418s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MYCYK2/gdbus-server-auth-92B0K2/dbus-4LonxmWT 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15071 1418s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1418s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1418s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1418s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15071,uid=1000,gid=1000 1418s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15071 1418s ok 8 /gdbus/server-auth/external/require-same-user 1418s # End of external tests 1418s # Start of sha1 tests 1418s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/tcp/.dirs/home 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/tcp/.dirs/cache 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/tcp/.dirs/config 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/tcp/.dirs/data 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/tcp/.dirs/state 1418s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MYCYK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1418s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1418s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1418s # End of sha1 tests 1418s # End of server-auth tests 1418s # End of gdbus tests 1418s ok - glib/gdbus-server-auth.test 1418s # Running test: glib/data-output-stream.test 1418s TAP version 13 1418s # random seed: R02S3496b65c610bef1a3e88f72fc3867043 1418s 1..7 1418s # Start of data-output-stream tests 1418s ok 1 /data-output-stream/basic 1418s ok 2 /data-output-stream/write-lines-LF 1418s ok 3 /data-output-stream/write-lines-CR 1418s ok 4 /data-output-stream/write-lines-CR-LF 1418s ok 5 /data-output-stream/write-int 1418s ok 6 /data-output-stream/seek 1418s ok 7 /data-output-stream/truncate 1418s # End of data-output-stream tests 1418s ok - glib/data-output-stream.test 1418s # Running test: glib/thread-pool.test 1418s TAP version 13 1418s # random seed: R02S546bf6b197a6e266cd35373131dbbfb4 1418s 1..5 1418s # Start of thread_pool tests 1418s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1418s ok 1 /thread_pool/shared 1418s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1418s ok 2 /thread_pool/exclusive 1418s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1418s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1418s ok 3 /thread_pool/create_shared_after_exclusive 1418s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1418s ok 4 /thread_pool/create_full 1418s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1418s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1418s ok 5 /thread_pool/create_exclusive_after_shared 1418s # End of thread_pool tests 1418s ok - glib/thread-pool.test 1418s # Running test: glib/unix-mounts.test 1418s TAP version 13 1418s # random seed: R02Sc464bfbb601589aebb231ac5fe1d18d3 1418s 1..2 1418s # Start of unix-mounts tests 1418s ok 1 /unix-mounts/is-system-fs-type 1418s ok 2 /unix-mounts/is-system-device-path 1418s # End of unix-mounts tests 1418s ok - glib/unix-mounts.test 1418s # Running test: glib/buffered-input-stream.test 1418s TAP version 13 1418s # random seed: R02Sbd1bf4dac416a47a9ee845d364f6c19b 1418s 1..10 1418s # Start of buffered-input-stream tests 1418s ok 1 /buffered-input-stream/peek 1418s ok 2 /buffered-input-stream/peek-buffer 1418s ok 3 /buffered-input-stream/set-buffer-size 1418s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1418s ok 4 /buffered-input-stream/read-byte 1418s ok 5 /buffered-input-stream/read 1418s ok 6 /buffered-input-stream/read-async 1418s ok 7 /buffered-input-stream/skip 1418s ok 8 /buffered-input-stream/skip-async 1418s ok 9 /buffered-input-stream/seek 1418s # End of buffered-input-stream tests 1418s # Start of filter-input-stream tests 1418s ok 10 /filter-input-stream/close 1418s # End of filter-input-stream tests 1418s ok - glib/buffered-input-stream.test 1418s # Running test: glib/signal-handler.test 1418s TAP version 13 1418s # random seed: R02S596d2cb5594ae05aca4203f3af26895d 1418s 1..7 1418s # Start of signal tests 1418s # Start of handler tests 1418s # min perf: connected 1 handlers in 0.000 seconds 1418s ok 1 /signal/handler/connect-many 1418s # min perf: disconnected 1 handlers in 0.000 seconds 1418s ok 2 /signal/handler/disconnect-many-ordered 1418s # min perf: disconnected 1 handlers in 0.000 seconds 1418s ok 3 /signal/handler/disconnect-many-inverse 1418s # min perf: disconnected 1 handlers in 0.000 seconds 1418s ok 4 /signal/handler/disconnect-many-random 1418s # min perf: disconnected 1 handlers in 0.000 seconds 1418s ok 5 /signal/handler/disconnect-2-signals 1418s # min perf: disconnected 1 handlers in 0.000 seconds 1418s ok 6 /signal/handler/disconnect-2-objects 1418s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1418s ok 7 /signal/handler/block-many 1418s # End of handler tests 1418s # End of signal tests 1418s ok - glib/signal-handler.test 1418s # Running test: glib/objects-refcount2.test 1418s TAP version 13 1418s # random seed: R02S123cc90986f0e5ee18d2925daeb7d26e 1418s 1..1 1418s # Start of gobject tests 1418s # Start of refcount tests 1418s # init 0x10597598e740 1418s # 1418s # . 1418s # . 1418s # . 1418s # . 1418s # . 1418s # . 1418s # . 1418s # . 1418s # . 1418s # . 1418s # . 1418s # . 1418s # . 1418s # . 1418s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1419s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # Executing: glib/objects-refcount2.test 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1420s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1421s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1422s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1423s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1424s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # Executing: glib/objects-refcount2.test 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1425s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1426s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1427s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1428s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1429s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # Executing: glib/objects-refcount2.test 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1430s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1431s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1432s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1433s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1434s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # Executing: glib/objects-refcount2.test 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1435s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1436s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1437s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1438s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1439s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # Executing: glib/objects-refcount2.test 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1440s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1441s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1442s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1443s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1444s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # Executing: glib/objects-refcount2.test 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1445s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1446s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1447s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1448s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1449s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # Executing: glib/objects-refcount2.test 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1450s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1451s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1452s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1453s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1454s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # Executing: glib/objects-refcount2.test 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1455s # . 1456s # . 1456s # . 1456s # dispose 0x10597598e740! 1456s # 1456s ok 1 /gobject/refcount/object-advanced 1456s # slow test /gobject/refcount/object-advanced executed in 37.67 secs 1456s # End of refcount tests 1456s # End of gobject tests 1456s ok - glib/objects-refcount2.test 1456s # Running test: glib/checksum.test 1456s TAP version 13 1456s # random seed: R02S0789640877f7529032b90f403d069978 1456s 1..1851 1456s # Start of checksum tests 1456s ok 1 /checksum/unsupported 1456s # Start of MD5 tests 1456s ok 2 /checksum/MD5/0 1456s ok 3 /checksum/MD5/1 1456s ok 4 /checksum/MD5/2 1456s ok 5 /checksum/MD5/3 1456s ok 6 /checksum/MD5/4 1456s ok 7 /checksum/MD5/5 1456s ok 8 /checksum/MD5/6 1456s ok 9 /checksum/MD5/7 1456s ok 10 /checksum/MD5/8 1456s ok 11 /checksum/MD5/9 1456s ok 12 /checksum/MD5/10 1456s ok 13 /checksum/MD5/11 1456s ok 14 /checksum/MD5/12 1456s ok 15 /checksum/MD5/13 1456s ok 16 /checksum/MD5/14 1456s ok 17 /checksum/MD5/15 1456s ok 18 /checksum/MD5/16 1456s ok 19 /checksum/MD5/17 1456s ok 20 /checksum/MD5/18 1456s ok 21 /checksum/MD5/19 1456s ok 22 /checksum/MD5/20 1456s ok 23 /checksum/MD5/21 1456s ok 24 /checksum/MD5/22 1456s ok 25 /checksum/MD5/23 1456s ok 26 /checksum/MD5/24 1456s ok 27 /checksum/MD5/25 1456s ok 28 /checksum/MD5/26 1456s ok 29 /checksum/MD5/27 1456s ok 30 /checksum/MD5/28 1456s ok 31 /checksum/MD5/29 1456s ok 32 /checksum/MD5/30 1456s ok 33 /checksum/MD5/31 1456s ok 34 /checksum/MD5/32 1456s ok 35 /checksum/MD5/33 1456s ok 36 /checksum/MD5/34 1456s ok 37 /checksum/MD5/35 1456s ok 38 /checksum/MD5/36 1456s ok 39 /checksum/MD5/37 1456s ok 40 /checksum/MD5/38 1456s ok 41 /checksum/MD5/39 1456s ok 42 /checksum/MD5/40 1456s ok 43 /checksum/MD5/41 1456s ok 44 /checksum/MD5/42 1456s ok 45 /checksum/MD5/43 1456s ok 46 /checksum/MD5/44 1456s ok 47 /checksum/MD5/45 1456s ok 48 /checksum/MD5/46 1456s ok 49 /checksum/MD5/47 1456s ok 50 /checksum/MD5/48 1456s ok 51 /checksum/MD5/49 1456s ok 52 /checksum/MD5/50 1456s ok 53 /checksum/MD5/51 1456s ok 54 /checksum/MD5/52 1456s ok 55 /checksum/MD5/53 1456s ok 56 /checksum/MD5/54 1456s ok 57 /checksum/MD5/55 1456s ok 58 /checksum/MD5/56 1456s ok 59 /checksum/MD5/57 1456s ok 60 /checksum/MD5/58 1456s ok 61 /checksum/MD5/59 1456s ok 62 /checksum/MD5/60 1456s ok 63 /checksum/MD5/61 1456s ok 64 /checksum/MD5/62 1456s ok 65 /checksum/MD5/63 1456s ok 66 /checksum/MD5/64 1456s ok 67 /checksum/MD5/65 1456s ok 68 /checksum/MD5/66 1456s ok 69 /checksum/MD5/67 1456s ok 70 /checksum/MD5/68 1456s ok 71 /checksum/MD5/69 1456s ok 72 /checksum/MD5/70 1456s ok 73 /checksum/MD5/71 1456s ok 74 /checksum/MD5/72 1456s ok 75 /checksum/MD5/73 1456s ok 76 /checksum/MD5/74 1456s ok 77 /checksum/MD5/75 1456s ok 78 /checksum/MD5/76 1456s ok 79 /checksum/MD5/77 1456s ok 80 /checksum/MD5/78 1456s ok 81 /checksum/MD5/79 1456s ok 82 /checksum/MD5/80 1456s ok 83 /checksum/MD5/81 1456s ok 84 /checksum/MD5/82 1456s ok 85 /checksum/MD5/83 1456s ok 86 /checksum/MD5/84 1456s ok 87 /checksum/MD5/85 1456s ok 88 /checksum/MD5/86 1456s ok 89 /checksum/MD5/87 1456s ok 90 /checksum/MD5/88 1456s ok 91 /checksum/MD5/89 1456s ok 92 /checksum/MD5/90 1456s ok 93 /checksum/MD5/91 1456s ok 94 /checksum/MD5/92 1456s ok 95 /checksum/MD5/93 1456s ok 96 /checksum/MD5/94 1456s ok 97 /checksum/MD5/95 1456s ok 98 /checksum/MD5/96 1456s ok 99 /checksum/MD5/97 1456s ok 100 /checksum/MD5/98 1456s ok 101 /checksum/MD5/99 1456s ok 102 /checksum/MD5/100 1456s ok 103 /checksum/MD5/101 1456s ok 104 /checksum/MD5/102 1456s ok 105 /checksum/MD5/103 1456s ok 106 /checksum/MD5/104 1456s ok 107 /checksum/MD5/105 1456s ok 108 /checksum/MD5/106 1456s ok 109 /checksum/MD5/107 1456s ok 110 /checksum/MD5/108 1456s ok 111 /checksum/MD5/109 1456s ok 112 /checksum/MD5/110 1456s ok 113 /checksum/MD5/111 1456s ok 114 /checksum/MD5/112 1456s ok 115 /checksum/MD5/113 1456s ok 116 /checksum/MD5/114 1456s ok 117 /checksum/MD5/115 1456s ok 118 /checksum/MD5/116 1456s ok 119 /checksum/MD5/117 1456s ok 120 /checksum/MD5/118 1456s ok 121 /checksum/MD5/119 1456s ok 122 /checksum/MD5/120 1456s ok 123 /checksum/MD5/121 1456s ok 124 /checksum/MD5/122 1456s ok 125 /checksum/MD5/123 1456s ok 126 /checksum/MD5/124 1456s ok 127 /checksum/MD5/125 1456s ok 128 /checksum/MD5/126 1456s ok 129 /checksum/MD5/127 1456s ok 130 /checksum/MD5/128 1456s ok 131 /checksum/MD5/129 1456s ok 132 /checksum/MD5/130 1456s ok 133 /checksum/MD5/131 1456s ok 134 /checksum/MD5/132 1456s ok 135 /checksum/MD5/133 1456s ok 136 /checksum/MD5/134 1456s ok 137 /checksum/MD5/135 1456s ok 138 /checksum/MD5/136 1456s ok 139 /checksum/MD5/137 1456s ok 140 /checksum/MD5/138 1456s ok 141 /checksum/MD5/139 1456s ok 142 /checksum/MD5/140 1456s ok 143 /checksum/MD5/141 1456s ok 144 /checksum/MD5/142 1456s ok 145 /checksum/MD5/143 1456s ok 146 /checksum/MD5/144 1456s ok 147 /checksum/MD5/145 1456s ok 148 /checksum/MD5/146 1456s ok 149 /checksum/MD5/147 1456s ok 150 /checksum/MD5/148 1456s ok 151 /checksum/MD5/149 1456s ok 152 /checksum/MD5/150 1456s ok 153 /checksum/MD5/151 1456s ok 154 /checksum/MD5/152 1456s ok 155 /checksum/MD5/153 1456s ok 156 /checksum/MD5/154 1456s ok 157 /checksum/MD5/155 1456s ok 158 /checksum/MD5/156 1456s ok 159 /checksum/MD5/157 1456s ok 160 /checksum/MD5/158 1456s ok 161 /checksum/MD5/159 1456s ok 162 /checksum/MD5/160 1456s ok 163 /checksum/MD5/161 1456s ok 164 /checksum/MD5/162 1456s ok 165 /checksum/MD5/163 1456s ok 166 /checksum/MD5/164 1456s ok 167 /checksum/MD5/165 1456s ok 168 /checksum/MD5/166 1456s ok 169 /checksum/MD5/167 1456s ok 170 /checksum/MD5/168 1456s ok 171 /checksum/MD5/169 1456s ok 172 /checksum/MD5/170 1456s ok 173 /checksum/MD5/171 1456s ok 174 /checksum/MD5/172 1456s ok 175 /checksum/MD5/173 1456s ok 176 /checksum/MD5/174 1456s ok 177 /checksum/MD5/175 1456s ok 178 /checksum/MD5/176 1456s ok 179 /checksum/MD5/177 1456s ok 180 /checksum/MD5/178 1456s ok 181 /checksum/MD5/179 1456s ok 182 /checksum/MD5/180 1456s ok 183 /checksum/MD5/181 1456s ok 184 /checksum/MD5/182 1456s ok 185 /checksum/MD5/183 1456s ok 186 /checksum/MD5/string 1456s ok 187 /checksum/MD5/bytes 1456s # Start of reset tests 1456s ok 188 /checksum/MD5/reset/0 1456s ok 189 /checksum/MD5/reset/1 1456s ok 190 /checksum/MD5/reset/2 1456s ok 191 /checksum/MD5/reset/3 1456s ok 192 /checksum/MD5/reset/4 1456s ok 193 /checksum/MD5/reset/5 1456s ok 194 /checksum/MD5/reset/6 1456s ok 195 /checksum/MD5/reset/7 1456s ok 196 /checksum/MD5/reset/8 1456s ok 197 /checksum/MD5/reset/9 1456s ok 198 /checksum/MD5/reset/10 1456s ok 199 /checksum/MD5/reset/11 1456s ok 200 /checksum/MD5/reset/12 1456s ok 201 /checksum/MD5/reset/13 1456s ok 202 /checksum/MD5/reset/14 1456s ok 203 /checksum/MD5/reset/15 1456s ok 204 /checksum/MD5/reset/16 1456s ok 205 /checksum/MD5/reset/17 1456s ok 206 /checksum/MD5/reset/18 1456s ok 207 /checksum/MD5/reset/19 1456s ok 208 /checksum/MD5/reset/20 1456s ok 209 /checksum/MD5/reset/21 1456s ok 210 /checksum/MD5/reset/22 1456s ok 211 /checksum/MD5/reset/23 1456s ok 212 /checksum/MD5/reset/24 1456s ok 213 /checksum/MD5/reset/25 1456s ok 214 /checksum/MD5/reset/26 1456s ok 215 /checksum/MD5/reset/27 1456s ok 216 /checksum/MD5/reset/28 1456s ok 217 /checksum/MD5/reset/29 1456s ok 218 /checksum/MD5/reset/30 1456s ok 219 /checksum/MD5/reset/31 1456s ok 220 /checksum/MD5/reset/32 1456s ok 221 /checksum/MD5/reset/33 1456s ok 222 /checksum/MD5/reset/34 1456s ok 223 /checksum/MD5/reset/35 1456s ok 224 /checksum/MD5/reset/36 1456s ok 225 /checksum/MD5/reset/37 1456s ok 226 /checksum/MD5/reset/38 1456s ok 227 /checksum/MD5/reset/39 1456s ok 228 /checksum/MD5/reset/40 1456s ok 229 /checksum/MD5/reset/41 1456s ok 230 /checksum/MD5/reset/42 1456s ok 231 /checksum/MD5/reset/43 1456s ok 232 /checksum/MD5/reset/44 1456s ok 233 /checksum/MD5/reset/45 1456s ok 234 /checksum/MD5/reset/46 1456s ok 235 /checksum/MD5/reset/47 1456s ok 236 /checksum/MD5/reset/48 1456s ok 237 /checksum/MD5/reset/49 1456s ok 238 /checksum/MD5/reset/50 1456s ok 239 /checksum/MD5/reset/51 1456s ok 240 /checksum/MD5/reset/52 1456s ok 241 /checksum/MD5/reset/53 1456s ok 242 /checksum/MD5/reset/54 1456s ok 243 /checksum/MD5/reset/55 1456s ok 244 /checksum/MD5/reset/56 1456s ok 245 /checksum/MD5/reset/57 1456s ok 246 /checksum/MD5/reset/58 1456s ok 247 /checksum/MD5/reset/59 1456s ok 248 /checksum/MD5/reset/60 1456s ok 249 /checksum/MD5/reset/61 1456s ok 250 /checksum/MD5/reset/62 1456s ok 251 /checksum/MD5/reset/63 1456s ok 252 /checksum/MD5/reset/64 1456s ok 253 /checksum/MD5/reset/65 1456s ok 254 /checksum/MD5/reset/66 1456s ok 255 /checksum/MD5/reset/67 1456s ok 256 /checksum/MD5/reset/68 1456s ok 257 /checksum/MD5/reset/69 1456s ok 258 /checksum/MD5/reset/70 1456s ok 259 /checksum/MD5/reset/71 1456s ok 260 /checksum/MD5/reset/72 1456s ok 261 /checksum/MD5/reset/73 1456s ok 262 /checksum/MD5/reset/74 1456s ok 263 /checksum/MD5/reset/75 1456s ok 264 /checksum/MD5/reset/76 1456s ok 265 /checksum/MD5/reset/77 1456s ok 266 /checksum/MD5/reset/78 1456s ok 267 /checksum/MD5/reset/79 1456s ok 268 /checksum/MD5/reset/80 1456s ok 269 /checksum/MD5/reset/81 1456s ok 270 /checksum/MD5/reset/82 1456s ok 271 /checksum/MD5/reset/83 1456s ok 272 /checksum/MD5/reset/84 1456s ok 273 /checksum/MD5/reset/85 1456s ok 274 /checksum/MD5/reset/86 1456s ok 275 /checksum/MD5/reset/87 1456s ok 276 /checksum/MD5/reset/88 1456s ok 277 /checksum/MD5/reset/89 1456s ok 278 /checksum/MD5/reset/90 1456s ok 279 /checksum/MD5/reset/91 1456s ok 280 /checksum/MD5/reset/92 1456s ok 281 /checksum/MD5/reset/93 1456s ok 282 /checksum/MD5/reset/94 1456s ok 283 /checksum/MD5/reset/95 1456s ok 284 /checksum/MD5/reset/96 1456s ok 285 /checksum/MD5/reset/97 1456s ok 286 /checksum/MD5/reset/98 1456s ok 287 /checksum/MD5/reset/99 1456s ok 288 /checksum/MD5/reset/100 1456s ok 289 /checksum/MD5/reset/101 1456s ok 290 /checksum/MD5/reset/102 1456s ok 291 /checksum/MD5/reset/103 1456s ok 292 /checksum/MD5/reset/104 1456s ok 293 /checksum/MD5/reset/105 1456s ok 294 /checksum/MD5/reset/106 1456s ok 295 /checksum/MD5/reset/107 1456s ok 296 /checksum/MD5/reset/108 1456s ok 297 /checksum/MD5/reset/109 1456s ok 298 /checksum/MD5/reset/110 1456s ok 299 /checksum/MD5/reset/111 1456s ok 300 /checksum/MD5/reset/112 1456s ok 301 /checksum/MD5/reset/113 1456s ok 302 /checksum/MD5/reset/114 1456s ok 303 /checksum/MD5/reset/115 1456s ok 304 /checksum/MD5/reset/116 1456s ok 305 /checksum/MD5/reset/117 1456s ok 306 /checksum/MD5/reset/118 1456s ok 307 /checksum/MD5/reset/119 1456s ok 308 /checksum/MD5/reset/120 1456s ok 309 /checksum/MD5/reset/121 1456s ok 310 /checksum/MD5/reset/122 1456s ok 311 /checksum/MD5/reset/123 1456s ok 312 /checksum/MD5/reset/124 1456s ok 313 /checksum/MD5/reset/125 1456s ok 314 /checksum/MD5/reset/126 1456s ok 315 /checksum/MD5/reset/127 1456s ok 316 /checksum/MD5/reset/128 1456s ok 317 /checksum/MD5/reset/129 1456s ok 318 /checksum/MD5/reset/130 1456s ok 319 /checksum/MD5/reset/131 1456s ok 320 /checksum/MD5/reset/132 1456s ok 321 /checksum/MD5/reset/133 1456s ok 322 /checksum/MD5/reset/134 1456s ok 323 /checksum/MD5/reset/135 1456s ok 324 /checksum/MD5/reset/136 1456s ok 325 /checksum/MD5/reset/137 1456s ok 326 /checksum/MD5/reset/138 1456s ok 327 /checksum/MD5/reset/139 1456s ok 328 /checksum/MD5/reset/140 1456s ok 329 /checksum/MD5/reset/141 1456s ok 330 /checksum/MD5/reset/142 1456s ok 331 /checksum/MD5/reset/143 1456s ok 332 /checksum/MD5/reset/144 1456s ok 333 /checksum/MD5/reset/145 1456s ok 334 /checksum/MD5/reset/146 1456s ok 335 /checksum/MD5/reset/147 1456s ok 336 /checksum/MD5/reset/148 1456s ok 337 /checksum/MD5/reset/149 1456s ok 338 /checksum/MD5/reset/150 1456s ok 339 /checksum/MD5/reset/151 1456s ok 340 /checksum/MD5/reset/152 1456s ok 341 /checksum/MD5/reset/153 1456s ok 342 /checksum/MD5/reset/154 1456s ok 343 /checksum/MD5/reset/155 1456s ok 344 /checksum/MD5/reset/156 1456s ok 345 /checksum/MD5/reset/157 1456s ok 346 /checksum/MD5/reset/158 1456s ok 347 /checksum/MD5/reset/159 1456s ok 348 /checksum/MD5/reset/160 1456s ok 349 /checksum/MD5/reset/161 1456s ok 350 /checksum/MD5/reset/162 1456s ok 351 /checksum/MD5/reset/163 1456s ok 352 /checksum/MD5/reset/164 1456s ok 353 /checksum/MD5/reset/165 1456s ok 354 /checksum/MD5/reset/166 1456s ok 355 /checksum/MD5/reset/167 1456s ok 356 /checksum/MD5/reset/168 1456s ok 357 /checksum/MD5/reset/169 1456s ok 358 /checksum/MD5/reset/170 1456s ok 359 /checksum/MD5/reset/171 1456s ok 360 /checksum/MD5/reset/172 1456s ok 361 /checksum/MD5/reset/173 1456s ok 362 /checksum/MD5/reset/174 1456s ok 363 /checksum/MD5/reset/175 1456s ok 364 /checksum/MD5/reset/176 1456s ok 365 /checksum/MD5/reset/177 1456s ok 366 /checksum/MD5/reset/178 1456s ok 367 /checksum/MD5/reset/179 1456s ok 368 /checksum/MD5/reset/180 1456s ok 369 /checksum/MD5/reset/181 1456s ok 370 /checksum/MD5/reset/182 1456s ok 371 /checksum/MD5/reset/183 1456s # End of reset tests 1456s # End of MD5 tests 1456s # Start of SHA1 tests 1456s ok 372 /checksum/SHA1/0 1456s ok 373 /checksum/SHA1/1 1456s ok 374 /checksum/SHA1/2 1456s ok 375 /checksum/SHA1/3 1456s ok 376 /checksum/SHA1/4 1456s ok 377 /checksum/SHA1/5 1456s ok 378 /checksum/SHA1/6 1456s ok 379 /checksum/SHA1/7 1456s ok 380 /checksum/SHA1/8 1456s ok 381 /checksum/SHA1/9 1456s ok 382 /checksum/SHA1/10 1456s ok 383 /checksum/SHA1/11 1456s ok 384 /checksum/SHA1/12 1456s ok 385 /checksum/SHA1/13 1456s ok 386 /checksum/SHA1/14 1456s ok 387 /checksum/SHA1/15 1456s ok 388 /checksum/SHA1/16 1456s ok 389 /checksum/SHA1/17 1456s ok 390 /checksum/SHA1/18 1456s ok 391 /checksum/SHA1/19 1456s ok 392 /checksum/SHA1/20 1456s ok 393 /checksum/SHA1/21 1456s ok 394 /checksum/SHA1/22 1456s ok 395 /checksum/SHA1/23 1456s ok 396 /checksum/SHA1/24 1456s ok 397 /checksum/SHA1/25 1456s ok 398 /checksum/SHA1/26 1456s ok 399 /checksum/SHA1/27 1456s ok 400 /checksum/SHA1/28 1456s ok 401 /checksum/SHA1/29 1456s ok 402 /checksum/SHA1/30 1456s ok 403 /checksum/SHA1/31 1456s ok 404 /checksum/SHA1/32 1456s ok 405 /checksum/SHA1/33 1456s ok 406 /checksum/SHA1/34 1456s ok 407 /checksum/SHA1/35 1456s ok 408 /checksum/SHA1/36 1456s ok 409 /checksum/SHA1/37 1456s ok 410 /checksum/SHA1/38 1456s ok 411 /checksum/SHA1/39 1456s ok 412 /checksum/SHA1/40 1456s ok 413 /checksum/SHA1/41 1456s ok 414 /checksum/SHA1/42 1456s ok 415 /checksum/SHA1/43 1456s ok 416 /checksum/SHA1/44 1456s ok 417 /checksum/SHA1/45 1456s ok 418 /checksum/SHA1/46 1456s ok 419 /checksum/SHA1/47 1456s ok 420 /checksum/SHA1/48 1456s ok 421 /checksum/SHA1/49 1456s ok 422 /checksum/SHA1/50 1456s ok 423 /checksum/SHA1/51 1456s ok 424 /checksum/SHA1/52 1456s ok 425 /checksum/SHA1/53 1456s ok 426 /checksum/SHA1/54 1456s ok 427 /checksum/SHA1/55 1456s ok 428 /checksum/SHA1/56 1456s ok 429 /checksum/SHA1/57 1456s ok 430 /checksum/SHA1/58 1456s ok 431 /checksum/SHA1/59 1456s ok 432 /checksum/SHA1/60 1456s ok 433 /checksum/SHA1/61 1456s ok 434 /checksum/SHA1/62 1456s ok 435 /checksum/SHA1/63 1456s ok 436 /checksum/SHA1/64 1456s ok 437 /checksum/SHA1/65 1456s ok 438 /checksum/SHA1/66 1456s ok 439 /checksum/SHA1/67 1456s ok 440 /checksum/SHA1/68 1456s ok 441 /checksum/SHA1/69 1456s ok 442 /checksum/SHA1/70 1456s ok 443 /checksum/SHA1/71 1456s ok 444 /checksum/SHA1/72 1456s ok 445 /checksum/SHA1/73 1456s ok 446 /checksum/SHA1/74 1456s ok 447 /checksum/SHA1/75 1456s ok 448 /checksum/SHA1/76 1456s ok 449 /checksum/SHA1/77 1456s ok 450 /checksum/SHA1/78 1456s ok 451 /checksum/SHA1/79 1456s ok 452 /checksum/SHA1/80 1456s ok 453 /checksum/SHA1/81 1456s ok 454 /checksum/SHA1/82 1456s ok 455 /checksum/SHA1/83 1456s ok 456 /checksum/SHA1/84 1456s ok 457 /checksum/SHA1/85 1456s ok 458 /checksum/SHA1/86 1456s ok 459 /checksum/SHA1/87 1456s ok 460 /checksum/SHA1/88 1456s ok 461 /checksum/SHA1/89 1456s ok 462 /checksum/SHA1/90 1456s ok 463 /checksum/SHA1/91 1456s ok 464 /checksum/SHA1/92 1456s ok 465 /checksum/SHA1/93 1456s ok 466 /checksum/SHA1/94 1456s ok 467 /checksum/SHA1/95 1456s ok 468 /checksum/SHA1/96 1456s ok 469 /checksum/SHA1/97 1456s ok 470 /checksum/SHA1/98 1456s ok 471 /checksum/SHA1/99 1456s ok 472 /checksum/SHA1/100 1456s ok 473 /checksum/SHA1/101 1456s ok 474 /checksum/SHA1/102 1456s ok 475 /checksum/SHA1/103 1456s ok 476 /checksum/SHA1/104 1456s ok 477 /checksum/SHA1/105 1456s ok 478 /checksum/SHA1/106 1456s ok 479 /checksum/SHA1/107 1456s ok 480 /checksum/SHA1/108 1456s ok 481 /checksum/SHA1/109 1456s ok 482 /checksum/SHA1/110 1456s ok 483 /checksum/SHA1/111 1456s ok 484 /checksum/SHA1/112 1456s ok 485 /checksum/SHA1/113 1456s ok 486 /checksum/SHA1/114 1456s ok 487 /checksum/SHA1/115 1456s ok 488 /checksum/SHA1/116 1456s ok 489 /checksum/SHA1/117 1456s ok 490 /checksum/SHA1/118 1456s ok 491 /checksum/SHA1/119 1456s ok 492 /checksum/SHA1/120 1456s ok 493 /checksum/SHA1/121 1456s ok 494 /checksum/SHA1/122 1456s ok 495 /checksum/SHA1/123 1456s ok 496 /checksum/SHA1/124 1456s ok 497 /checksum/SHA1/125 1456s ok 498 /checksum/SHA1/126 1456s ok 499 /checksum/SHA1/127 1456s ok 500 /checksum/SHA1/128 1456s ok 501 /checksum/SHA1/129 1456s ok 502 /checksum/SHA1/130 1456s ok 503 /checksum/SHA1/131 1456s ok 504 /checksum/SHA1/132 1456s ok 505 /checksum/SHA1/133 1456s ok 506 /checksum/SHA1/134 1456s ok 507 /checksum/SHA1/135 1456s ok 508 /checksum/SHA1/136 1456s ok 509 /checksum/SHA1/137 1456s ok 510 /checksum/SHA1/138 1456s ok 511 /checksum/SHA1/139 1456s ok 512 /checksum/SHA1/140 1456s ok 513 /checksum/SHA1/141 1456s ok 514 /checksum/SHA1/142 1456s ok 515 /checksum/SHA1/143 1456s ok 516 /checksum/SHA1/144 1456s ok 517 /checksum/SHA1/145 1456s ok 518 /checksum/SHA1/146 1456s ok 519 /checksum/SHA1/147 1456s ok 520 /checksum/SHA1/148 1456s ok 521 /checksum/SHA1/149 1456s ok 522 /checksum/SHA1/150 1456s ok 523 /checksum/SHA1/151 1456s ok 524 /checksum/SHA1/152 1456s ok 525 /checksum/SHA1/153 1456s ok 526 /checksum/SHA1/154 1456s ok 527 /checksum/SHA1/155 1456s ok 528 /checksum/SHA1/156 1456s ok 529 /checksum/SHA1/157 1456s ok 530 /checksum/SHA1/158 1456s ok 531 /checksum/SHA1/159 1456s ok 532 /checksum/SHA1/160 1456s ok 533 /checksum/SHA1/161 1456s ok 534 /checksum/SHA1/162 1456s ok 535 /checksum/SHA1/163 1456s ok 536 /checksum/SHA1/164 1456s ok 537 /checksum/SHA1/165 1456s ok 538 /checksum/SHA1/166 1456s ok 539 /checksum/SHA1/167 1456s ok 540 /checksum/SHA1/168 1456s ok 541 /checksum/SHA1/169 1456s ok 542 /checksum/SHA1/170 1456s ok 543 /checksum/SHA1/171 1456s ok 544 /checksum/SHA1/172 1456s ok 545 /checksum/SHA1/173 1456s ok 546 /checksum/SHA1/174 1456s ok 547 /checksum/SHA1/175 1456s ok 548 /checksum/SHA1/176 1456s ok 549 /checksum/SHA1/177 1456s ok 550 /checksum/SHA1/178 1456s ok 551 /checksum/SHA1/179 1456s ok 552 /checksum/SHA1/180 1456s ok 553 /checksum/SHA1/181 1456s ok 554 /checksum/SHA1/182 1456s ok 555 /checksum/SHA1/183 1456s ok 556 /checksum/SHA1/string 1456s ok 557 /checksum/SHA1/bytes 1456s # Start of reset tests 1456s ok 558 /checksum/SHA1/reset/0 1456s ok 559 /checksum/SHA1/reset/1 1456s ok 560 /checksum/SHA1/reset/2 1456s ok 561 /checksum/SHA1/reset/3 1456s ok 562 /checksum/SHA1/reset/4 1456s ok 563 /checksum/SHA1/reset/5 1456s ok 564 /checksum/SHA1/reset/6 1456s ok 565 /checksum/SHA1/reset/7 1456s ok 566 /checksum/SHA1/reset/8 1456s ok 567 /checksum/SHA1/reset/9 1456s ok 568 /checksum/SHA1/reset/10 1456s ok 569 /checksum/SHA1/reset/11 1456s ok 570 /checksum/SHA1/reset/12 1456s ok 571 /checksum/SHA1/reset/13 1456s ok 572 /checksum/SHA1/reset/14 1456s ok 573 /checksum/SHA1/reset/15 1456s ok 574 /checksum/SHA1/reset/16 1456s ok 575 /checksum/SHA1/reset/17 1456s ok 576 /checksum/SHA1/reset/18 1456s ok 577 /checksum/SHA1/reset/19 1456s ok 578 /checksum/SHA1/reset/20 1456s ok 579 /checksum/SHA1/reset/21 1456s ok 580 /checksum/SHA1/reset/22 1456s ok 581 /checksum/SHA1/reset/23 1456s ok 582 /checksum/SHA1/reset/24 1456s ok 583 /checksum/SHA1/reset/25 1456s ok 584 /checksum/SHA1/reset/26 1456s ok 585 /checksum/SHA1/reset/27 1456s ok 586 /checksum/SHA1/reset/28 1456s ok 587 /checksum/SHA1/reset/29 1456s ok 588 /checksum/SHA1/reset/30 1456s ok 589 /checksum/SHA1/reset/31 1456s ok 590 /checksum/SHA1/reset/32 1456s ok 591 /checksum/SHA1/reset/33 1456s ok 592 /checksum/SHA1/reset/34 1456s ok 593 /checksum/SHA1/reset/35 1456s ok 594 /checksum/SHA1/reset/36 1456s ok 595 /checksum/SHA1/reset/37 1456s ok 596 /checksum/SHA1/reset/38 1456s ok 597 /checksum/SHA1/reset/39 1456s ok 598 /checksum/SHA1/reset/40 1456s ok 599 /checksum/SHA1/reset/41 1456s ok 600 /checksum/SHA1/reset/42 1456s ok 601 /checksum/SHA1/reset/43 1456s ok 602 /checksum/SHA1/reset/44 1456s ok 603 /checksum/SHA1/reset/45 1456s ok 604 /checksum/SHA1/reset/46 1456s ok 605 /checksum/SHA1/reset/47 1456s ok 606 /checksum/SHA1/reset/48 1456s ok 607 /checksum/SHA1/reset/49 1456s ok 608 /checksum/SHA1/reset/50 1456s ok 609 /checksum/SHA1/reset/51 1456s ok 610 /checksum/SHA1/reset/52 1456s ok 611 /checksum/SHA1/reset/53 1456s ok 612 /checksum/SHA1/reset/54 1456s ok 613 /checksum/SHA1/reset/55 1456s ok 614 /checksum/SHA1/reset/56 1456s ok 615 /checksum/SHA1/reset/57 1456s ok 616 /checksum/SHA1/reset/58 1456s ok 617 /checksum/SHA1/reset/59 1456s ok 618 /checksum/SHA1/reset/60 1456s ok 619 /checksum/SHA1/reset/61 1456s ok 620 /checksum/SHA1/reset/62 1456s ok 621 /checksum/SHA1/reset/63 1456s ok 622 /checksum/SHA1/reset/64 1456s ok 623 /checksum/SHA1/reset/65 1456s ok 624 /checksum/SHA1/reset/66 1456s ok 625 /checksum/SHA1/reset/67 1456s ok 626 /checksum/SHA1/reset/68 1456s ok 627 /checksum/SHA1/reset/69 1456s ok 628 /checksum/SHA1/reset/70 1456s ok 629 /checksum/SHA1/reset/71 1456s ok 630 /checksum/SHA1/reset/72 1456s ok 631 /checksum/SHA1/reset/73 1456s ok 632 /checksum/SHA1/reset/74 1456s ok 633 /checksum/SHA1/reset/75 1456s ok 634 /checksum/SHA1/reset/76 1456s ok 635 /checksum/SHA1/reset/77 1456s ok 636 /checksum/SHA1/reset/78 1456s ok 637 /checksum/SHA1/reset/79 1456s ok 638 /checksum/SHA1/reset/80 1456s ok 639 /checksum/SHA1/reset/81 1456s ok 640 /checksum/SHA1/reset/82 1456s ok 641 /checksum/SHA1/reset/83 1456s ok 642 /checksum/SHA1/reset/84 1456s ok 643 /checksum/SHA1/reset/85 1456s ok 644 /checksum/SHA1/reset/86 1456s ok 645 /checksum/SHA1/reset/87 1456s ok 646 /checksum/SHA1/reset/88 1456s ok 647 /checksum/SHA1/reset/89 1456s ok 648 /checksum/SHA1/reset/90 1456s ok 649 /checksum/SHA1/reset/91 1456s ok 650 /checksum/SHA1/reset/92 1456s ok 651 /checksum/SHA1/reset/93 1456s ok 652 /checksum/SHA1/reset/94 1456s ok 653 /checksum/SHA1/reset/95 1456s ok 654 /checksum/SHA1/reset/96 1456s ok 655 /checksum/SHA1/reset/97 1456s ok 656 /checksum/SHA1/reset/98 1456s ok 657 /checksum/SHA1/reset/99 1456s ok 658 /checksum/SHA1/reset/100 1456s ok 659 /checksum/SHA1/reset/101 1456s ok 660 /checksum/SHA1/reset/102 1456s ok 661 /checksum/SHA1/reset/103 1456s ok 662 /checksum/SHA1/reset/104 1456s ok 663 /checksum/SHA1/reset/105 1456s ok 664 /checksum/SHA1/reset/106 1456s ok 665 /checksum/SHA1/reset/107 1456s ok 666 /checksum/SHA1/reset/108 1456s ok 667 /checksum/SHA1/reset/109 1456s ok 668 /checksum/SHA1/reset/110 1456s ok 669 /checksum/SHA1/reset/111 1456s ok 670 /checksum/SHA1/reset/112 1456s ok 671 /checksum/SHA1/reset/113 1456s ok 672 /checksum/SHA1/reset/114 1456s ok 673 /checksum/SHA1/reset/115 1456s ok 674 /checksum/SHA1/reset/116 1456s ok 675 /checksum/SHA1/reset/117 1456s ok 676 /checksum/SHA1/reset/118 1456s ok 677 /checksum/SHA1/reset/119 1456s ok 678 /checksum/SHA1/reset/120 1456s ok 679 /checksum/SHA1/reset/121 1456s ok 680 /checksum/SHA1/reset/122 1456s ok 681 /checksum/SHA1/reset/123 1456s ok 682 /checksum/SHA1/reset/124 1456s ok 683 /checksum/SHA1/reset/125 1456s ok 684 /checksum/SHA1/reset/126 1456s ok 685 /checksum/SHA1/reset/127 1456s ok 686 /checksum/SHA1/reset/128 1456s ok 687 /checksum/SHA1/reset/129 1456s ok 688 /checksum/SHA1/reset/130 1456s ok 689 /checksum/SHA1/reset/131 1456s ok 690 /checksum/SHA1/reset/132 1456s ok 691 /checksum/SHA1/reset/133 1456s ok 692 /checksum/SHA1/reset/134 1456s ok 693 /checksum/SHA1/reset/135 1456s ok 694 /checksum/SHA1/reset/136 1456s ok 695 /checksum/SHA1/reset/137 1456s ok 696 /checksum/SHA1/reset/138 1456s ok 697 /checksum/SHA1/reset/139 1456s ok 698 /checksum/SHA1/reset/140 1456s ok 699 /checksum/SHA1/reset/141 1456s ok 700 /checksum/SHA1/reset/142 1456s ok 701 /checksum/SHA1/reset/143 1456s ok 702 /checksum/SHA1/reset/144 1456s ok 703 /checksum/SHA1/reset/145 1456s ok 704 /checksum/SHA1/reset/146 1456s ok 705 /checksum/SHA1/reset/147 1456s ok 706 /checksum/SHA1/reset/148 1456s ok 707 /checksum/SHA1/reset/149 1456s ok 708 /checksum/SHA1/reset/150 1456s ok 709 /checksum/SHA1/reset/151 1456s ok 710 /checksum/SHA1/reset/152 1456s ok 711 /checksum/SHA1/reset/153 1456s ok 712 /checksum/SHA1/reset/154 1456s ok 713 /checksum/SHA1/reset/155 1456s ok 714 /checksum/SHA1/reset/156 1456s ok 715 /checksum/SHA1/reset/157 1456s ok 716 /checksum/SHA1/reset/158 1456s ok 717 /checksum/SHA1/reset/159 1456s ok 718 /checksum/SHA1/reset/160 1456s ok 719 /checksum/SHA1/reset/161 1456s ok 720 /checksum/SHA1/reset/162 1456s ok 721 /checksum/SHA1/reset/163 1456s ok 722 /checksum/SHA1/reset/164 1456s ok 723 /checksum/SHA1/reset/165 1456s ok 724 /checksum/SHA1/reset/166 1456s ok 725 /checksum/SHA1/reset/167 1456s ok 726 /checksum/SHA1/reset/168 1456s ok 727 /checksum/SHA1/reset/169 1456s ok 728 /checksum/SHA1/reset/170 1456s ok 729 /checksum/SHA1/reset/171 1456s ok 730 /checksum/SHA1/reset/172 1456s ok 731 /checksum/SHA1/reset/173 1456s ok 732 /checksum/SHA1/reset/174 1456s ok 733 /checksum/SHA1/reset/175 1456s ok 734 /checksum/SHA1/reset/176 1456s ok 735 /checksum/SHA1/reset/177 1456s ok 736 /checksum/SHA1/reset/178 1456s ok 737 /checksum/SHA1/reset/179 1456s ok 738 /checksum/SHA1/reset/180 1456s ok 739 /checksum/SHA1/reset/181 1456s ok 740 /checksum/SHA1/reset/182 1456s ok 741 /checksum/SHA1/reset/183 1456s # End of reset tests 1456s # End of SHA1 tests 1456s # Start of SHA256 tests 1456s ok 742 /checksum/SHA256/0 1456s ok 743 /checksum/SHA256/1 1456s ok 744 /checksum/SHA256/2 1456s ok 745 /checksum/SHA256/3 1456s ok 746 /checksum/SHA256/4 1456s ok 747 /checksum/SHA256/5 1456s ok 748 /checksum/SHA256/6 1456s ok 749 /checksum/SHA256/7 1456s ok 750 /checksum/SHA256/8 1456s ok 751 /checksum/SHA256/9 1456s ok 752 /checksum/SHA256/10 1456s ok 753 /checksum/SHA256/11 1456s ok 754 /checksum/SHA256/12 1456s ok 755 /checksum/SHA256/13 1456s ok 756 /checksum/SHA256/14 1456s ok 757 /checksum/SHA256/15 1456s ok 758 /checksum/SHA256/16 1456s ok 759 /checksum/SHA256/17 1456s ok 760 /checksum/SHA256/18 1456s ok 761 /checksum/SHA256/19 1456s ok 762 /checksum/SHA256/20 1456s ok 763 /checksum/SHA256/21 1456s ok 764 /checksum/SHA256/22 1456s ok 765 /checksum/SHA256/23 1456s ok 766 /checksum/SHA256/24 1456s ok 767 /checksum/SHA256/25 1456s ok 768 /checksum/SHA256/26 1456s ok 769 /checksum/SHA256/27 1456s ok 770 /checksum/SHA256/28 1456s ok 771 /checksum/SHA256/29 1456s ok 772 /checksum/SHA256/30 1456s ok 773 /checksum/SHA256/31 1456s ok 774 /checksum/SHA256/32 1456s ok 775 /checksum/SHA256/33 1456s ok 776 /checksum/SHA256/34 1456s ok 777 /checksum/SHA256/35 1456s ok 778 /checksum/SHA256/36 1456s ok 779 /checksum/SHA256/37 1456s ok 780 /checksum/SHA256/38 1456s ok 781 /checksum/SHA256/39 1456s ok 782 /checksum/SHA256/40 1456s ok 783 /checksum/SHA256/41 1456s ok 784 /checksum/SHA256/42 1456s ok 785 /checksum/SHA256/43 1456s ok 786 /checksum/SHA256/44 1456s ok 787 /checksum/SHA256/45 1456s ok 788 /checksum/SHA256/46 1456s ok 789 /checksum/SHA256/47 1456s ok 790 /checksum/SHA256/48 1456s ok 791 /checksum/SHA256/49 1456s ok 792 /checksum/SHA256/50 1456s ok 793 /checksum/SHA256/51 1456s ok 794 /checksum/SHA256/52 1456s ok 795 /checksum/SHA256/53 1456s ok 796 /checksum/SHA256/54 1456s ok 797 /checksum/SHA256/55 1456s ok 798 /checksum/SHA256/56 1456s ok 799 /checksum/SHA256/57 1456s ok 800 /checksum/SHA256/58 1456s ok 801 /checksum/SHA256/59 1456s ok 802 /checksum/SHA256/60 1456s ok 803 /checksum/SHA256/61 1456s ok 804 /checksum/SHA256/62 1456s ok 805 /checksum/SHA256/63 1456s ok 806 /checksum/SHA256/64 1456s ok 807 /checksum/SHA256/65 1456s ok 808 /checksum/SHA256/66 1456s ok 809 /checksum/SHA256/67 1456s ok 810 /checksum/SHA256/68 1456s ok 811 /checksum/SHA256/69 1456s ok 812 /checksum/SHA256/70 1456s ok 813 /checksum/SHA256/71 1456s ok 814 /checksum/SHA256/72 1456s ok 815 /checksum/SHA256/73 1456s ok 816 /checksum/SHA256/74 1456s ok 817 /checksum/SHA256/75 1456s ok 818 /checksum/SHA256/76 1456s ok 819 /checksum/SHA256/77 1456s ok 820 /checksum/SHA256/78 1456s ok 821 /checksum/SHA256/79 1456s ok 822 /checksum/SHA256/80 1456s ok 823 /checksum/SHA256/81 1456s ok 824 /checksum/SHA256/82 1456s ok 825 /checksum/SHA256/83 1456s ok 826 /checksum/SHA256/84 1456s ok 827 /checksum/SHA256/85 1456s ok 828 /checksum/SHA256/86 1456s ok 829 /checksum/SHA256/87 1456s ok 830 /checksum/SHA256/88 1456s ok 831 /checksum/SHA256/89 1456s ok 832 /checksum/SHA256/90 1456s ok 833 /checksum/SHA256/91 1456s ok 834 /checksum/SHA256/92 1456s ok 835 /checksum/SHA256/93 1456s ok 836 /checksum/SHA256/94 1456s ok 837 /checksum/SHA256/95 1456s ok 838 /checksum/SHA256/96 1456s ok 839 /checksum/SHA256/97 1456s ok 840 /checksum/SHA256/98 1456s ok 841 /checksum/SHA256/99 1456s ok 842 /checksum/SHA256/100 1456s ok 843 /checksum/SHA256/101 1456s ok 844 /checksum/SHA256/102 1456s ok 845 /checksum/SHA256/103 1456s ok 846 /checksum/SHA256/104 1456s ok 847 /checksum/SHA256/105 1456s ok 848 /checksum/SHA256/106 1456s ok 849 /checksum/SHA256/107 1456s ok 850 /checksum/SHA256/108 1456s ok 851 /checksum/SHA256/109 1456s ok 852 /checksum/SHA256/110 1456s ok 853 /checksum/SHA256/111 1456s ok 854 /checksum/SHA256/112 1456s ok 855 /checksum/SHA256/113 1456s ok 856 /checksum/SHA256/114 1456s ok 857 /checksum/SHA256/115 1456s ok 858 /checksum/SHA256/116 1456s ok 859 /checksum/SHA256/117 1456s ok 860 /checksum/SHA256/118 1456s ok 861 /checksum/SHA256/119 1456s ok 862 /checksum/SHA256/120 1456s ok 863 /checksum/SHA256/121 1456s ok 864 /checksum/SHA256/122 1456s ok 865 /checksum/SHA256/123 1456s ok 866 /checksum/SHA256/124 1456s ok 867 /checksum/SHA256/125 1456s ok 868 /checksum/SHA256/126 1456s ok 869 /checksum/SHA256/127 1456s ok 870 /checksum/SHA256/128 1456s ok 871 /checksum/SHA256/129 1456s ok 872 /checksum/SHA256/130 1456s ok 873 /checksum/SHA256/131 1456s ok 874 /checksum/SHA256/132 1456s ok 875 /checksum/SHA256/133 1456s ok 876 /checksum/SHA256/134 1456s ok 877 /checksum/SHA256/135 1456s ok 878 /checksum/SHA256/136 1456s ok 879 /checksum/SHA256/137 1456s ok 880 /checksum/SHA256/138 1456s ok 881 /checksum/SHA256/139 1456s ok 882 /checksum/SHA256/140 1456s ok 883 /checksum/SHA256/141 1456s ok 884 /checksum/SHA256/142 1456s ok 885 /checksum/SHA256/143 1456s ok 886 /checksum/SHA256/144 1456s ok 887 /checksum/SHA256/145 1456s ok 888 /checksum/SHA256/146 1456s ok 889 /checksum/SHA256/147 1456s ok 890 /checksum/SHA256/148 1456s ok 891 /checksum/SHA256/149 1456s ok 892 /checksum/SHA256/150 1456s ok 893 /checksum/SHA256/151 1456s ok 894 /checksum/SHA256/152 1456s ok 895 /checksum/SHA256/153 1456s ok 896 /checksum/SHA256/154 1456s ok 897 /checksum/SHA256/155 1456s ok 898 /checksum/SHA256/156 1456s ok 899 /checksum/SHA256/157 1456s ok 900 /checksum/SHA256/158 1456s ok 901 /checksum/SHA256/159 1456s ok 902 /checksum/SHA256/160 1456s ok 903 /checksum/SHA256/161 1456s ok 904 /checksum/SHA256/162 1456s ok 905 /checksum/SHA256/163 1456s ok 906 /checksum/SHA256/164 1456s ok 907 /checksum/SHA256/165 1456s ok 908 /checksum/SHA256/166 1456s ok 909 /checksum/SHA256/167 1456s ok 910 /checksum/SHA256/168 1456s ok 911 /checksum/SHA256/169 1456s ok 912 /checksum/SHA256/170 1456s ok 913 /checksum/SHA256/171 1456s ok 914 /checksum/SHA256/172 1456s ok 915 /checksum/SHA256/173 1456s ok 916 /checksum/SHA256/174 1456s ok 917 /checksum/SHA256/175 1456s ok 918 /checksum/SHA256/176 1456s ok 919 /checksum/SHA256/177 1456s ok 920 /checksum/SHA256/178 1456s ok 921 /checksum/SHA256/179 1456s ok 922 /checksum/SHA256/180 1456s ok 923 /checksum/SHA256/181 1456s ok 924 /checksum/SHA256/182 1456s ok 925 /checksum/SHA256/183 1456s ok 926 /checksum/SHA256/string 1456s ok 927 /checksum/SHA256/bytes 1456s # Start of reset tests 1456s ok 928 /checksum/SHA256/reset/0 1456s ok 929 /checksum/SHA256/reset/1 1456s ok 930 /checksum/SHA256/reset/2 1456s ok 931 /checksum/SHA256/reset/3 1456s ok 932 /checksum/SHA256/reset/4 1456s ok 933 /checksum/SHA256/reset/5 1456s ok 934 /checksum/SHA256/reset/6 1456s ok 935 /checksum/SHA256/reset/7 1456s ok 936 /checksum/SHA256/reset/8 1456s ok 937 /checksum/SHA256/reset/9 1456s ok 938 /checksum/SHA256/reset/10 1456s ok 939 /checksum/SHA256/reset/11 1456s ok 940 /checksum/SHA256/reset/12 1456s ok 941 /checksum/SHA256/reset/13 1456s ok 942 /checksum/SHA256/reset/14 1456s ok 943 /checksum/SHA256/reset/15 1456s ok 944 /checksum/SHA256/reset/16 1456s ok 945 /checksum/SHA256/reset/17 1456s ok 946 /checksum/SHA256/reset/18 1456s ok 947 /checksum/SHA256/reset/19 1456s ok 948 /checksum/SHA256/reset/20 1456s ok 949 /checksum/SHA256/reset/21 1456s ok 950 /checksum/SHA256/reset/22 1456s ok 951 /checksum/SHA256/reset/23 1456s ok 952 /checksum/SHA256/reset/24 1456s ok 953 /checksum/SHA256/reset/25 1456s ok 954 /checksum/SHA256/reset/26 1456s ok 955 /checksum/SHA256/reset/27 1456s ok 956 /checksum/SHA256/reset/28 1456s ok 957 /checksum/SHA256/reset/29 1456s ok 958 /checksum/SHA256/reset/30 1456s ok 959 /checksum/SHA256/reset/31 1456s ok 960 /checksum/SHA256/reset/32 1456s ok 961 /checksum/SHA256/reset/33 1456s ok 962 /checksum/SHA256/reset/34 1456s ok 963 /checksum/SHA256/reset/35 1456s ok 964 /checksum/SHA256/reset/36 1456s ok 965 /checksum/SHA256/reset/37 1456s ok 966 /checksum/SHA256/reset/38 1456s ok 967 /checksum/SHA256/reset/39 1456s ok 968 /checksum/SHA256/reset/40 1456s ok 969 /checksum/SHA256/reset/41 1456s ok 970 /checksum/SHA256/reset/42 1456s ok 971 /checksum/SHA256/reset/43 1456s ok 972 /checksum/SHA256/reset/44 1456s ok 973 /checksum/SHA256/reset/45 1456s ok 974 /checksum/SHA256/reset/46 1456s ok 975 /checksum/SHA256/reset/47 1456s ok 976 /checksum/SHA256/reset/48 1456s ok 977 /checksum/SHA256/reset/49 1456s ok 978 /checksum/SHA256/reset/50 1456s ok 979 /checksum/SHA256/reset/51 1456s ok 980 /checksum/SHA256/reset/52 1456s ok 981 /checksum/SHA256/reset/53 1456s ok 982 /checksum/SHA256/reset/54 1456s ok 983 /checksum/SHA256/reset/55 1456s ok 984 /checksum/SHA256/reset/56 1456s ok 985 /checksum/SHA256/reset/57 1456s ok 986 /checksum/SHA256/reset/58 1456s ok 987 /checksum/SHA256/reset/59 1456s ok 988 /checksum/SHA256/reset/60 1456s ok 989 /checksum/SHA256/reset/61 1456s ok 990 /checksum/SHA256/reset/62 1456s ok 991 /checksum/SHA256/reset/63 1456s ok 992 /checksum/SHA256/reset/64 1456s ok 993 /checksum/SHA256/reset/65 1456s ok 994 /checksum/SHA256/reset/66 1456s ok 995 /checksum/SHA256/reset/67 1456s ok 996 /checksum/SHA256/reset/68 1456s ok 997 /checksum/SHA256/reset/69 1456s ok 998 /checksum/SHA256/reset/70 1456s ok 999 /checksum/SHA256/reset/71 1456s ok 1000 /checksum/SHA256/reset/72 1456s ok 1001 /checksum/SHA256/reset/73 1456s ok 1002 /checksum/SHA256/reset/74 1456s ok 1003 /checksum/SHA256/reset/75 1456s ok 1004 /checksum/SHA256/reset/76 1456s ok 1005 /checksum/SHA256/reset/77 1456s ok 1006 /checksum/SHA256/reset/78 1456s ok 1007 /checksum/SHA256/reset/79 1456s ok 1008 /checksum/SHA256/reset/80 1456s ok 1009 /checksum/SHA256/reset/81 1456s ok 1010 /checksum/SHA256/reset/82 1456s ok 1011 /checksum/SHA256/reset/83 1456s ok 1012 /checksum/SHA256/reset/84 1456s ok 1013 /checksum/SHA256/reset/85 1456s ok 1014 /checksum/SHA256/reset/86 1456s ok 1015 /checksum/SHA256/reset/87 1456s ok 1016 /checksum/SHA256/reset/88 1456s ok 1017 /checksum/SHA256/reset/89 1456s ok 1018 /checksum/SHA256/reset/90 1456s ok 1019 /checksum/SHA256/reset/91 1456s ok 1020 /checksum/SHA256/reset/92 1456s ok 1021 /checksum/SHA256/reset/93 1456s ok 1022 /checksum/SHA256/reset/94 1456s ok 1023 /checksum/SHA256/reset/95 1456s ok 1024 /checksum/SHA256/reset/96 1456s ok 1025 /checksum/SHA256/reset/97 1456s ok 1026 /checksum/SHA256/reset/98 1456s ok 1027 /checksum/SHA256/reset/99 1456s ok 1028 /checksum/SHA256/reset/100 1456s ok 1029 /checksum/SHA256/reset/101 1456s ok 1030 /checksum/SHA256/reset/102 1456s ok 1031 /checksum/SHA256/reset/103 1456s ok 1032 /checksum/SHA256/reset/104 1456s ok 1033 /checksum/SHA256/reset/105 1456s ok 1034 /checksum/SHA256/reset/106 1456s ok 1035 /checksum/SHA256/reset/107 1456s ok 1036 /checksum/SHA256/reset/108 1456s ok 1037 /checksum/SHA256/reset/109 1456s ok 1038 /checksum/SHA256/reset/110 1456s ok 1039 /checksum/SHA256/reset/111 1456s ok 1040 /checksum/SHA256/reset/112 1456s ok 1041 /checksum/SHA256/reset/113 1456s ok 1042 /checksum/SHA256/reset/114 1456s ok 1043 /checksum/SHA256/reset/115 1456s ok 1044 /checksum/SHA256/reset/116 1456s ok 1045 /checksum/SHA256/reset/117 1456s ok 1046 /checksum/SHA256/reset/118 1456s ok 1047 /checksum/SHA256/reset/119 1456s ok 1048 /checksum/SHA256/reset/120 1456s ok 1049 /checksum/SHA256/reset/121 1456s ok 1050 /checksum/SHA256/reset/122 1456s ok 1051 /checksum/SHA256/reset/123 1456s ok 1052 /checksum/SHA256/reset/124 1456s ok 1053 /checksum/SHA256/reset/125 1456s ok 1054 /checksum/SHA256/reset/126 1456s ok 1055 /checksum/SHA256/reset/127 1456s ok 1056 /checksum/SHA256/reset/128 1456s ok 1057 /checksum/SHA256/reset/129 1456s ok 1058 /checksum/SHA256/reset/130 1456s ok 1059 /checksum/SHA256/reset/131 1456s ok 1060 /checksum/SHA256/reset/132 1456s ok 1061 /checksum/SHA256/reset/133 1456s ok 1062 /checksum/SHA256/reset/134 1456s ok 1063 /checksum/SHA256/reset/135 1456s ok 1064 /checksum/SHA256/reset/136 1456s ok 1065 /checksum/SHA256/reset/137 1456s ok 1066 /checksum/SHA256/reset/138 1456s ok 1067 /checksum/SHA256/reset/139 1456s ok 1068 /checksum/SHA256/reset/140 1456s ok 1069 /checksum/SHA256/reset/141 1456s ok 1070 /checksum/SHA256/reset/142 1456s ok 1071 /checksum/SHA256/reset/143 1456s ok 1072 /checksum/SHA256/reset/144 1456s ok 1073 /checksum/SHA256/reset/145 1456s ok 1074 /checksum/SHA256/reset/146 1456s ok 1075 /checksum/SHA256/reset/147 1456s ok 1076 /checksum/SHA256/reset/148 1456s ok 1077 /checksum/SHA256/reset/149 1456s ok 1078 /checksum/SHA256/reset/150 1456s ok 1079 /checksum/SHA256/reset/151 1456s ok 1080 /checksum/SHA256/reset/152 1456s ok 1081 /checksum/SHA256/reset/153 1456s ok 1082 /checksum/SHA256/reset/154 1456s ok 1083 /checksum/SHA256/reset/155 1456s ok 1084 /checksum/SHA256/reset/156 1456s ok 1085 /checksum/SHA256/reset/157 1456s ok 1086 /checksum/SHA256/reset/158 1456s ok 1087 /checksum/SHA256/reset/159 1456s ok 1088 /checksum/SHA256/reset/160 1456s ok 1089 /checksum/SHA256/reset/161 1456s ok 1090 /checksum/SHA256/reset/162 1456s ok 1091 /checksum/SHA256/reset/163 1456s ok 1092 /checksum/SHA256/reset/164 1456s ok 1093 /checksum/SHA256/reset/165 1456s ok 1094 /checksum/SHA256/reset/166 1456s ok 1095 /checksum/SHA256/reset/167 1456s ok 1096 /checksum/SHA256/reset/168 1456s ok 1097 /checksum/SHA256/reset/169 1456s ok 1098 /checksum/SHA256/reset/170 1456s ok 1099 /checksum/SHA256/reset/171 1456s ok 1100 /checksum/SHA256/reset/172 1456s ok 1101 /checksum/SHA256/reset/173 1456s ok 1102 /checksum/SHA256/reset/174 1456s ok 1103 /checksum/SHA256/reset/175 1456s ok 1104 /checksum/SHA256/reset/176 1456s ok 1105 /checksum/SHA256/reset/177 1456s ok 1106 /checksum/SHA256/reset/178 1456s ok 1107 /checksum/SHA256/reset/179 1456s ok 1108 /checksum/SHA256/reset/180 1456s ok 1109 /checksum/SHA256/reset/181 1456s ok 1110 /checksum/SHA256/reset/182 1456s ok 1111 /checksum/SHA256/reset/183 1456s # End of reset tests 1456s # End of SHA256 tests 1456s # Start of SHA384 tests 1456s ok 1112 /checksum/SHA384/0 1456s ok 1113 /checksum/SHA384/1 1456s ok 1114 /checksum/SHA384/2 1456s ok 1115 /checksum/SHA384/3 1456s ok 1116 /checksum/SHA384/4 1456s ok 1117 /checksum/SHA384/5 1456s ok 1118 /checksum/SHA384/6 1456s ok 1119 /checksum/SHA384/7 1456s ok 1120 /checksum/SHA384/8 1456s ok 1121 /checksum/SHA384/9 1456s ok 1122 /checksum/SHA384/10 1456s ok 1123 /checksum/SHA384/11 1456s ok 1124 /checksum/SHA384/12 1456s ok 1125 /checksum/SHA384/13 1456s ok 1126 /checksum/SHA384/14 1456s ok 1127 /checksum/SHA384/15 1456s ok 1128 /checksum/SHA384/16 1456s ok 1129 /checksum/SHA384/17 1456s ok 1130 /checksum/SHA384/18 1456s ok 1131 /checksum/SHA384/19 1456s ok 1132 /checksum/SHA384/20 1456s ok 1133 /checksum/SHA384/21 1456s ok 1134 /checksum/SHA384/22 1456s ok 1135 /checksum/SHA384/23 1456s ok 1136 /checksum/SHA384/24 1456s ok 1137 /checksum/SHA384/25 1456s ok 1138 /checksum/SHA384/26 1456s ok 1139 /checksum/SHA384/27 1456s ok 1140 /checksum/SHA384/28 1456s ok 1141 /checksum/SHA384/29 1456s ok 1142 /checksum/SHA384/30 1456s ok 1143 /checksum/SHA384/31 1456s ok 1144 /checksum/SHA384/32 1456s ok 1145 /checksum/SHA384/33 1456s ok 1146 /checksum/SHA384/34 1456s ok 1147 /checksum/SHA384/35 1456s ok 1148 /checksum/SHA384/36 1456s ok 1149 /checksum/SHA384/37 1456s ok 1150 /checksum/SHA384/38 1456s ok 1151 /checksum/SHA384/39 1456s ok 1152 /checksum/SHA384/40 1456s ok 1153 /checksum/SHA384/41 1456s ok 1154 /checksum/SHA384/42 1456s ok 1155 /checksum/SHA384/43 1456s ok 1156 /checksum/SHA384/44 1456s ok 1157 /checksum/SHA384/45 1456s ok 1158 /checksum/SHA384/46 1456s ok 1159 /checksum/SHA384/47 1456s ok 1160 /checksum/SHA384/48 1456s ok 1161 /checksum/SHA384/49 1456s ok 1162 /checksum/SHA384/50 1456s ok 1163 /checksum/SHA384/51 1456s ok 1164 /checksum/SHA384/52 1456s ok 1165 /checksum/SHA384/53 1456s ok 1166 /checksum/SHA384/54 1456s ok 1167 /checksum/SHA384/55 1456s ok 1168 /checksum/SHA384/56 1456s ok 1169 /checksum/SHA384/57 1456s ok 1170 /checksum/SHA384/58 1456s ok 1171 /checksum/SHA384/59 1456s ok 1172 /checksum/SHA384/60 1456s ok 1173 /checksum/SHA384/61 1456s ok 1174 /checksum/SHA384/62 1456s ok 1175 /checksum/SHA384/63 1456s ok 1176 /checksum/SHA384/64 1456s ok 1177 /checksum/SHA384/65 1456s ok 1178 /checksum/SHA384/66 1456s ok 1179 /checksum/SHA384/67 1456s ok 1180 /checksum/SHA384/68 1456s ok 1181 /checksum/SHA384/69 1456s ok 1182 /checksum/SHA384/70 1456s ok 1183 /checksum/SHA384/71 1456s ok 1184 /checksum/SHA384/72 1456s ok 1185 /checksum/SHA384/73 1456s ok 1186 /checksum/SHA384/74 1456s ok 1187 /checksum/SHA384/75 1456s ok 1188 /checksum/SHA384/76 1456s ok 1189 /checksum/SHA384/77 1456s ok 1190 /checksum/SHA384/78 1456s ok 1191 /checksum/SHA384/79 1456s ok 1192 /checksum/SHA384/80 1456s ok 1193 /checksum/SHA384/81 1456s ok 1194 /checksum/SHA384/82 1456s ok 1195 /checksum/SHA384/83 1456s ok 1196 /checksum/SHA384/84 1456s ok 1197 /checksum/SHA384/85 1456s ok 1198 /checksum/SHA384/86 1456s ok 1199 /checksum/SHA384/87 1456s ok 1200 /checksum/SHA384/88 1456s ok 1201 /checksum/SHA384/89 1456s ok 1202 /checksum/SHA384/90 1456s ok 1203 /checksum/SHA384/91 1456s ok 1204 /checksum/SHA384/92 1456s ok 1205 /checksum/SHA384/93 1456s ok 1206 /checksum/SHA384/94 1456s ok 1207 /checksum/SHA384/95 1456s ok 1208 /checksum/SHA384/96 1456s ok 1209 /checksum/SHA384/97 1456s ok 1210 /checksum/SHA384/98 1456s ok 1211 /checksum/SHA384/99 1456s ok 1212 /checksum/SHA384/100 1456s ok 1213 /checksum/SHA384/101 1456s ok 1214 /checksum/SHA384/102 1456s ok 1215 /checksum/SHA384/103 1456s ok 1216 /checksum/SHA384/104 1456s ok 1217 /checksum/SHA384/105 1456s ok 1218 /checksum/SHA384/106 1456s ok 1219 /checksum/SHA384/107 1456s ok 1220 /checksum/SHA384/108 1456s ok 1221 /checksum/SHA384/109 1456s ok 1222 /checksum/SHA384/110 1456s ok 1223 /checksum/SHA384/111 1456s ok 1224 /checksum/SHA384/112 1456s ok 1225 /checksum/SHA384/113 1456s ok 1226 /checksum/SHA384/114 1456s ok 1227 /checksum/SHA384/115 1456s ok 1228 /checksum/SHA384/116 1456s ok 1229 /checksum/SHA384/117 1456s ok 1230 /checksum/SHA384/118 1456s ok 1231 /checksum/SHA384/119 1456s ok 1232 /checksum/SHA384/120 1456s ok 1233 /checksum/SHA384/121 1456s ok 1234 /checksum/SHA384/122 1456s ok 1235 /checksum/SHA384/123 1456s ok 1236 /checksum/SHA384/124 1456s ok 1237 /checksum/SHA384/125 1456s ok 1238 /checksum/SHA384/126 1456s ok 1239 /checksum/SHA384/127 1456s ok 1240 /checksum/SHA384/128 1456s ok 1241 /checksum/SHA384/129 1456s ok 1242 /checksum/SHA384/130 1456s ok 1243 /checksum/SHA384/131 1456s ok 1244 /checksum/SHA384/132 1456s ok 1245 /checksum/SHA384/133 1456s ok 1246 /checksum/SHA384/134 1456s ok 1247 /checksum/SHA384/135 1456s ok 1248 /checksum/SHA384/136 1456s ok 1249 /checksum/SHA384/137 1456s ok 1250 /checksum/SHA384/138 1456s ok 1251 /checksum/SHA384/139 1456s ok 1252 /checksum/SHA384/140 1456s ok 1253 /checksum/SHA384/141 1456s ok 1254 /checksum/SHA384/142 1456s ok 1255 /checksum/SHA384/143 1456s ok 1256 /checksum/SHA384/144 1456s ok 1257 /checksum/SHA384/145 1456s ok 1258 /checksum/SHA384/146 1456s ok 1259 /checksum/SHA384/147 1456s ok 1260 /checksum/SHA384/148 1456s ok 1261 /checksum/SHA384/149 1456s ok 1262 /checksum/SHA384/150 1456s ok 1263 /checksum/SHA384/151 1456s ok 1264 /checksum/SHA384/152 1456s ok 1265 /checksum/SHA384/153 1456s ok 1266 /checksum/SHA384/154 1456s ok 1267 /checksum/SHA384/155 1456s ok 1268 /checksum/SHA384/156 1456s ok 1269 /checksum/SHA384/157 1456s ok 1270 /checksum/SHA384/158 1456s ok 1271 /checksum/SHA384/159 1456s ok 1272 /checksum/SHA384/160 1456s ok 1273 /checksum/SHA384/161 1456s ok 1274 /checksum/SHA384/162 1456s ok 1275 /checksum/SHA384/163 1456s ok 1276 /checksum/SHA384/164 1456s ok 1277 /checksum/SHA384/165 1456s ok 1278 /checksum/SHA384/166 1456s ok 1279 /checksum/SHA384/167 1456s ok 1280 /checksum/SHA384/168 1456s ok 1281 /checksum/SHA384/169 1456s ok 1282 /checksum/SHA384/170 1456s ok 1283 /checksum/SHA384/171 1456s ok 1284 /checksum/SHA384/172 1456s ok 1285 /checksum/SHA384/173 1456s ok 1286 /checksum/SHA384/174 1456s ok 1287 /checksum/SHA384/175 1456s ok 1288 /checksum/SHA384/176 1456s ok 1289 /checksum/SHA384/177 1456s ok 1290 /checksum/SHA384/178 1456s ok 1291 /checksum/SHA384/179 1456s ok 1292 /checksum/SHA384/180 1456s ok 1293 /checksum/SHA384/181 1456s ok 1294 /checksum/SHA384/182 1456s ok 1295 /checksum/SHA384/183 1456s ok 1296 /checksum/SHA384/string 1456s ok 1297 /checksum/SHA384/bytes 1456s # Start of reset tests 1456s ok 1298 /checksum/SHA384/reset/0 1456s ok 1299 /checksum/SHA384/reset/1 1456s ok 1300 /checksum/SHA384/reset/2 1456s ok 1301 /checksum/SHA384/reset/3 1456s ok 1302 /checksum/SHA384/reset/4 1456s ok 1303 /checksum/SHA384/reset/5 1456s ok 1304 /checksum/SHA384/reset/6 1456s ok 1305 /checksum/SHA384/reset/7 1456s ok 1306 /checksum/SHA384/reset/8 1456s ok 1307 /checksum/SHA384/reset/9 1456s ok 1308 /checksum/SHA384/reset/10 1456s ok 1309 /checksum/SHA384/reset/11 1456s ok 1310 /checksum/SHA384/reset/12 1456s ok 1311 /checksum/SHA384/reset/13 1456s ok 1312 /checksum/SHA384/reset/14 1456s ok 1313 /checksum/SHA384/reset/15 1456s ok 1314 /checksum/SHA384/reset/16 1456s ok 1315 /checksum/SHA384/reset/17 1456s ok 1316 /checksum/SHA384/reset/18 1456s ok 1317 /checksum/SHA384/reset/19 1456s ok 1318 /checksum/SHA384/reset/20 1456s ok 1319 /checksum/SHA384/reset/21 1456s ok 1320 /checksum/SHA384/reset/22 1456s ok 1321 /checksum/SHA384/reset/23 1456s ok 1322 /checksum/SHA384/reset/24 1456s ok 1323 /checksum/SHA384/reset/25 1456s ok 1324 /checksum/SHA384/reset/26 1456s ok 1325 /checksum/SHA384/reset/27 1456s ok 1326 /checksum/SHA384/reset/28 1456s ok 1327 /checksum/SHA384/reset/29 1456s ok 1328 /checksum/SHA384/reset/30 1456s ok 1329 /checksum/SHA384/reset/31 1456s ok 1330 /checksum/SHA384/reset/32 1456s ok 1331 /checksum/SHA384/reset/33 1456s ok 1332 /checksum/SHA384/reset/34 1456s ok 1333 /checksum/SHA384/reset/35 1456s ok 1334 /checksum/SHA384/reset/36 1456s ok 1335 /checksum/SHA384/reset/37 1456s ok 1336 /checksum/SHA384/reset/38 1456s ok 1337 /checksum/SHA384/reset/39 1456s ok 1338 /checksum/SHA384/reset/40 1456s ok 1339 /checksum/SHA384/reset/41 1456s ok 1340 /checksum/SHA384/reset/42 1456s ok 1341 /checksum/SHA384/reset/43 1456s ok 1342 /checksum/SHA384/reset/44 1456s ok 1343 /checksum/SHA384/reset/45 1456s ok 1344 /checksum/SHA384/reset/46 1456s ok 1345 /checksum/SHA384/reset/47 1456s ok 1346 /checksum/SHA384/reset/48 1456s ok 1347 /checksum/SHA384/reset/49 1456s ok 1348 /checksum/SHA384/reset/50 1456s ok 1349 /checksum/SHA384/reset/51 1456s ok 1350 /checksum/SHA384/reset/52 1456s ok 1351 /checksum/SHA384/reset/53 1456s ok 1352 /checksum/SHA384/reset/54 1456s ok 1353 /checksum/SHA384/reset/55 1456s ok 1354 /checksum/SHA384/reset/56 1456s ok 1355 /checksum/SHA384/reset/57 1456s ok 1356 /checksum/SHA384/reset/58 1456s ok 1357 /checksum/SHA384/reset/59 1456s ok 1358 /checksum/SHA384/reset/60 1456s ok 1359 /checksum/SHA384/reset/61 1456s ok 1360 /checksum/SHA384/reset/62 1456s ok 1361 /checksum/SHA384/reset/63 1456s ok 1362 /checksum/SHA384/reset/64 1456s ok 1363 /checksum/SHA384/reset/65 1456s ok 1364 /checksum/SHA384/reset/66 1456s ok 1365 /checksum/SHA384/reset/67 1456s ok 1366 /checksum/SHA384/reset/68 1456s ok 1367 /checksum/SHA384/reset/69 1456s ok 1368 /checksum/SHA384/reset/70 1456s ok 1369 /checksum/SHA384/reset/71 1456s ok 1370 /checksum/SHA384/reset/72 1456s ok 1371 /checksum/SHA384/reset/73 1456s ok 1372 /checksum/SHA384/reset/74 1456s ok 1373 /checksum/SHA384/reset/75 1456s ok 1374 /checksum/SHA384/reset/76 1456s ok 1375 /checksum/SHA384/reset/77 1456s ok 1376 /checksum/SHA384/reset/78 1456s ok 1377 /checksum/SHA384/reset/79 1456s ok 1378 /checksum/SHA384/reset/80 1456s ok 1379 /checksum/SHA384/reset/81 1456s ok 1380 /checksum/SHA384/reset/82 1456s ok 1381 /checksum/SHA384/reset/83 1456s ok 1382 /checksum/SHA384/reset/84 1456s ok 1383 /checksum/SHA384/reset/85 1456s ok 1384 /checksum/SHA384/reset/86 1456s ok 1385 /checksum/SHA384/reset/87 1456s ok 1386 /checksum/SHA384/reset/88 1456s ok 1387 /checksum/SHA384/reset/89 1456s ok 1388 /checksum/SHA384/reset/90 1456s ok 1389 /checksum/SHA384/reset/91 1456s ok 1390 /checksum/SHA384/reset/92 1456s ok 1391 /checksum/SHA384/reset/93 1456s ok 1392 /checksum/SHA384/reset/94 1456s ok 1393 /checksum/SHA384/reset/95 1456s ok 1394 /checksum/SHA384/reset/96 1456s ok 1395 /checksum/SHA384/reset/97 1456s ok 1396 /checksum/SHA384/reset/98 1456s ok 1397 /checksum/SHA384/reset/99 1456s ok 1398 /checksum/SHA384/reset/100 1456s ok 1399 /checksum/SHA384/reset/101 1456s ok 1400 /checksum/SHA384/reset/102 1456s ok 1401 /checksum/SHA384/reset/103 1456s ok 1402 /checksum/SHA384/reset/104 1456s ok 1403 /checksum/SHA384/reset/105 1456s ok 1404 /checksum/SHA384/reset/106 1456s ok 1405 /checksum/SHA384/reset/107 1456s ok 1406 /checksum/SHA384/reset/108 1456s ok 1407 /checksum/SHA384/reset/109 1456s ok 1408 /checksum/SHA384/reset/110 1456s ok 1409 /checksum/SHA384/reset/111 1456s ok 1410 /checksum/SHA384/reset/112 1456s ok 1411 /checksum/SHA384/reset/113 1456s ok 1412 /checksum/SHA384/reset/114 1456s ok 1413 /checksum/SHA384/reset/115 1456s ok 1414 /checksum/SHA384/reset/116 1456s ok 1415 /checksum/SHA384/reset/117 1456s ok 1416 /checksum/SHA384/reset/118 1456s ok 1417 /checksum/SHA384/reset/119 1456s ok 1418 /checksum/SHA384/reset/120 1456s ok 1419 /checksum/SHA384/reset/121 1456s ok 1420 /checksum/SHA384/reset/122 1456s ok 1421 /checksum/SHA384/reset/123 1456s ok 1422 /checksum/SHA384/reset/124 1456s ok 1423 /checksum/SHA384/reset/125 1456s ok 1424 /checksum/SHA384/reset/126 1456s ok 1425 /checksum/SHA384/reset/127 1456s ok 1426 /checksum/SHA384/reset/128 1456s ok 1427 /checksum/SHA384/reset/129 1456s ok 1428 /checksum/SHA384/reset/130 1456s ok 1429 /checksum/SHA384/reset/131 1456s ok 1430 /checksum/SHA384/reset/132 1456s ok 1431 /checksum/SHA384/reset/133 1456s ok 1432 /checksum/SHA384/reset/134 1456s ok 1433 /checksum/SHA384/reset/135 1456s ok 1434 /checksum/SHA384/reset/136 1456s ok 1435 /checksum/SHA384/reset/137 1456s ok 1436 /checksum/SHA384/reset/138 1456s ok 1437 /checksum/SHA384/reset/139 1456s ok 1438 /checksum/SHA384/reset/140 1456s ok 1439 /checksum/SHA384/reset/141 1456s ok 1440 /checksum/SHA384/reset/142 1456s ok 1441 /checksum/SHA384/reset/143 1456s ok 1442 /checksum/SHA384/reset/144 1456s ok 1443 /checksum/SHA384/reset/145 1456s ok 1444 /checksum/SHA384/reset/146 1456s ok 1445 /checksum/SHA384/reset/147 1456s ok 1446 /checksum/SHA384/reset/148 1456s ok 1447 /checksum/SHA384/reset/149 1456s ok 1448 /checksum/SHA384/reset/150 1456s ok 1449 /checksum/SHA384/reset/151 1456s ok 1450 /checksum/SHA384/reset/152 1456s ok 1451 /checksum/SHA384/reset/153 1456s ok 1452 /checksum/SHA384/reset/154 1456s ok 1453 /checksum/SHA384/reset/155 1456s ok 1454 /checksum/SHA384/reset/156 1456s ok 1455 /checksum/SHA384/reset/157 1456s ok 1456 /checksum/SHA384/reset/158 1456s ok 1457 /checksum/SHA384/reset/159 1456s ok 1458 /checksum/SHA384/reset/160 1456s ok 1459 /checksum/SHA384/reset/161 1456s ok 1460 /checksum/SHA384/reset/162 1456s ok 1461 /checksum/SHA384/reset/163 1456s ok 1462 /checksum/SHA384/reset/164 1456s ok 1463 /checksum/SHA384/reset/165 1456s ok 1464 /checksum/SHA384/reset/166 1456s ok 1465 /checksum/SHA384/reset/167 1456s ok 1466 /checksum/SHA384/reset/168 1456s ok 1467 /checksum/SHA384/reset/169 1456s ok 1468 /checksum/SHA384/reset/170 1456s ok 1469 /checksum/SHA384/reset/171 1456s ok 1470 /checksum/SHA384/reset/172 1456s ok 1471 /checksum/SHA384/reset/173 1456s ok 1472 /checksum/SHA384/reset/174 1456s ok 1473 /checksum/SHA384/reset/175 1456s ok 1474 /checksum/SHA384/reset/176 1456s ok 1475 /checksum/SHA384/reset/177 1456s ok 1476 /checksum/SHA384/reset/178 1456s ok 1477 /checksum/SHA384/reset/179 1456s ok 1478 /checksum/SHA384/reset/180 1456s ok 1479 /checksum/SHA384/reset/181 1456s ok 1480 /checksum/SHA384/reset/182 1456s ok 1481 /checksum/SHA384/reset/183 1456s # End of reset tests 1456s # End of SHA384 tests 1456s # Start of SHA512 tests 1456s ok 1482 /checksum/SHA512/0 1456s ok 1483 /checksum/SHA512/1 1456s ok 1484 /checksum/SHA512/2 1456s ok 1485 /checksum/SHA512/3 1456s ok 1486 /checksum/SHA512/4 1456s ok 1487 /checksum/SHA512/5 1456s ok 1488 /checksum/SHA512/6 1456s ok 1489 /checksum/SHA512/7 1456s ok 1490 /checksum/SHA512/8 1456s ok 1491 /checksum/SHA512/9 1456s ok 1492 /checksum/SHA512/10 1456s ok 1493 /checksum/SHA512/11 1456s ok 1494 /checksum/SHA512/12 1456s ok 1495 /checksum/SHA512/13 1456s ok 1496 /checksum/SHA512/14 1456s ok 1497 /checksum/SHA512/15 1456s ok 1498 /checksum/SHA512/16 1456s ok 1499 /checksum/SHA512/17 1456s ok 1500 /checksum/SHA512/18 1456s ok 1501 /checksum/SHA512/19 1456s ok 1502 /checksum/SHA512/20 1456s ok 1503 /checksum/SHA512/21 1456s ok 1504 /checksum/SHA512/22 1456s ok 1505 /checksum/SHA512/23 1456s ok 1506 /checksum/SHA512/24 1456s ok 1507 /checksum/SHA512/25 1456s ok 1508 /checksum/SHA512/26 1456s ok 1509 /checksum/SHA512/27 1456s ok 1510 /checksum/SHA512/28 1456s ok 1511 /checksum/SHA512/29 1456s ok 1512 /checksum/SHA512/30 1456s ok 1513 /checksum/SHA512/31 1456s ok 1514 /checksum/SHA512/32 1456s ok 1515 /checksum/SHA512/33 1456s ok 1516 /checksum/SHA512/34 1456s ok 1517 /checksum/SHA512/35 1456s ok 1518 /checksum/SHA512/36 1456s ok 1519 /checksum/SHA512/37 1456s ok 1520 /checksum/SHA512/38 1456s ok 1521 /checksum/SHA512/39 1456s ok 1522 /checksum/SHA512/40 1456s ok 1523 /checksum/SHA512/41 1456s ok 1524 /checksum/SHA512/42 1456s ok 1525 /checksum/SHA512/43 1456s ok 1526 /checksum/SHA512/44 1456s ok 1527 /checksum/SHA512/45 1456s ok 1528 /checksum/SHA512/46 1456s ok 1529 /checksum/SHA512/47 1456s ok 1530 /checksum/SHA512/48 1456s ok 1531 /checksum/SHA512/49 1456s ok 1532 /checksum/SHA512/50 1456s ok 1533 /checksum/SHA512/51 1456s ok 1534 /checksum/SHA512/52 1456s ok 1535 /checksum/SHA512/53 1456s ok 1536 /checksum/SHA512/54 1456s ok 1537 /checksum/SHA512/55 1456s ok 1538 /checksum/SHA512/56 1456s ok 1539 /checksum/SHA512/57 1456s ok 1540 /checksum/SHA512/58 1456s ok 1541 /checksum/SHA512/59 1456s ok 1542 /checksum/SHA512/60 1456s ok 1543 /checksum/SHA512/61 1456s ok 1544 /checksum/SHA512/62 1456s ok 1545 /checksum/SHA512/63 1456s ok 1546 /checksum/SHA512/64 1456s ok 1547 /checksum/SHA512/65 1456s ok 1548 /checksum/SHA512/66 1456s ok 1549 /checksum/SHA512/67 1456s ok 1550 /checksum/SHA512/68 1456s ok 1551 /checksum/SHA512/69 1456s ok 1552 /checksum/SHA512/70 1456s ok 1553 /checksum/SHA512/71 1456s ok 1554 /checksum/SHA512/72 1456s ok 1555 /checksum/SHA512/73 1456s ok 1556 /checksum/SHA512/74 1456s ok 1557 /checksum/SHA512/75 1456s ok 1558 /checksum/SHA512/76 1456s ok 1559 /checksum/SHA512/77 1456s ok 1560 /checksum/SHA512/78 1456s ok 1561 /checksum/SHA512/79 1456s ok 1562 /checksum/SHA512/80 1456s ok 1563 /checksum/SHA512/81 1456s ok 1564 /checksum/SHA512/82 1456s ok 1565 /checksum/SHA512/83 1456s ok 1566 /checksum/SHA512/84 1456s ok 1567 /checksum/SHA512/85 1456s ok 1568 /checksum/SHA512/86 1456s ok 1569 /checksum/SHA512/87 1456s ok 1570 /checksum/SHA512/88 1456s ok 1571 /checksum/SHA512/89 1456s ok 1572 /checksum/SHA512/90 1456s ok 1573 /checksum/SHA512/91 1456s ok 1574 /checksum/SHA512/92 1456s ok 1575 /checksum/SHA512/93 1456s ok 1576 /checksum/SHA512/94 1456s ok 1577 /checksum/SHA512/95 1456s ok 1578 /checksum/SHA512/96 1456s ok 1579 /checksum/SHA512/97 1456s ok 1580 /checksum/SHA512/98 1456s ok 1581 /checksum/SHA512/99 1456s ok 1582 /checksum/SHA512/100 1456s ok 1583 /checksum/SHA512/101 1456s ok 1584 /checksum/SHA512/102 1456s ok 1585 /checksum/SHA512/103 1456s ok 1586 /checksum/SHA512/104 1456s ok 1587 /checksum/SHA512/105 1456s ok 1588 /checksum/SHA512/106 1456s ok 1589 /checksum/SHA512/107 1456s ok 1590 /checksum/SHA512/108 1456s ok 1591 /checksum/SHA512/109 1456s ok 1592 /checksum/SHA512/110 1456s ok 1593 /checksum/SHA512/111 1456s ok 1594 /checksum/SHA512/112 1456s ok 1595 /checksum/SHA512/113 1456s ok 1596 /checksum/SHA512/114 1456s ok 1597 /checksum/SHA512/115 1456s ok 1598 /checksum/SHA512/116 1456s ok 1599 /checksum/SHA512/117 1456s ok 1600 /checksum/SHA512/118 1456s ok 1601 /checksum/SHA512/119 1456s ok 1602 /checksum/SHA512/120 1456s ok 1603 /checksum/SHA512/121 1456s ok 1604 /checksum/SHA512/122 1456s ok 1605 /checksum/SHA512/123 1456s ok 1606 /checksum/SHA512/124 1456s ok 1607 /checksum/SHA512/125 1456s ok 1608 /checksum/SHA512/126 1456s ok 1609 /checksum/SHA512/127 1456s ok 1610 /checksum/SHA512/128 1456s ok 1611 /checksum/SHA512/129 1456s ok 1612 /checksum/SHA512/130 1456s ok 1613 /checksum/SHA512/131 1456s ok 1614 /checksum/SHA512/132 1456s ok 1615 /checksum/SHA512/133 1456s ok 1616 /checksum/SHA512/134 1456s ok 1617 /checksum/SHA512/135 1456s ok 1618 /checksum/SHA512/136 1456s ok 1619 /checksum/SHA512/137 1456s ok 1620 /checksum/SHA512/138 1456s ok 1621 /checksum/SHA512/139 1456s ok 1622 /checksum/SHA512/140 1456s ok 1623 /checksum/SHA512/141 1456s ok 1624 /checksum/SHA512/142 1456s ok 1625 /checksum/SHA512/143 1456s ok 1626 /checksum/SHA512/144 1456s ok 1627 /checksum/SHA512/145 1456s ok 1628 /checksum/SHA512/146 1456s ok 1629 /checksum/SHA512/147 1456s ok 1630 /checksum/SHA512/148 1456s ok 1631 /checksum/SHA512/149 1456s ok 1632 /checksum/SHA512/150 1456s ok 1633 /checksum/SHA512/151 1456s ok 1634 /checksum/SHA512/152 1456s ok 1635 /checksum/SHA512/153 1456s ok 1636 /checksum/SHA512/154 1456s ok 1637 /checksum/SHA512/155 1456s ok 1638 /checksum/SHA512/156 1456s ok 1639 /checksum/SHA512/157 1456s ok 1640 /checksum/SHA512/158 1456s ok 1641 /checksum/SHA512/159 1456s ok 1642 /checksum/SHA512/160 1456s ok 1643 /checksum/SHA512/161 1456s ok 1644 /checksum/SHA512/162 1456s ok 1645 /checksum/SHA512/163 1456s ok 1646 /checksum/SHA512/164 1456s ok 1647 /checksum/SHA512/165 1456s ok 1648 /checksum/SHA512/166 1456s ok 1649 /checksum/SHA512/167 1456s ok 1650 /checksum/SHA512/168 1456s ok 1651 /checksum/SHA512/169 1456s ok 1652 /checksum/SHA512/170 1456s ok 1653 /checksum/SHA512/171 1456s ok 1654 /checksum/SHA512/172 1456s ok 1655 /checksum/SHA512/173 1456s ok 1656 /checksum/SHA512/174 1456s ok 1657 /checksum/SHA512/175 1456s ok 1658 /checksum/SHA512/176 1456s ok 1659 /checksum/SHA512/177 1456s ok 1660 /checksum/SHA512/178 1456s ok 1661 /checksum/SHA512/179 1456s ok 1662 /checksum/SHA512/180 1456s ok 1663 /checksum/SHA512/181 1456s ok 1664 /checksum/SHA512/182 1456s ok 1665 /checksum/SHA512/183 1456s ok 1666 /checksum/SHA512/string 1456s ok 1667 /checksum/SHA512/bytes 1456s # Start of reset tests 1456s ok 1668 /checksum/SHA512/reset/0 1456s ok 1669 /checksum/SHA512/reset/1 1456s ok 1670 /checksum/SHA512/reset/2 1456s ok 1671 /checksum/SHA512/reset/3 1456s ok 1672 /checksum/SHA512/reset/4 1456s ok 1673 /checksum/SHA512/reset/5 1456s ok 1674 /checksum/SHA512/reset/6 1456s ok 1675 /checksum/SHA512/reset/7 1456s ok 1676 /checksum/SHA512/reset/8 1456s ok 1677 /checksum/SHA512/reset/9 1456s ok 1678 /checksum/SHA512/reset/10 1456s ok 1679 /checksum/SHA512/reset/11 1456s ok 1680 /checksum/SHA512/reset/12 1456s ok 1681 /checksum/SHA512/reset/13 1456s ok 1682 /checksum/SHA512/reset/14 1456s ok 1683 /checksum/SHA512/reset/15 1456s ok 1684 /checksum/SHA512/reset/16 1456s ok 1685 /checksum/SHA512/reset/17 1456s ok 1686 /checksum/SHA512/reset/18 1456s ok 1687 /checksum/SHA512/reset/19 1456s ok 1688 /checksum/SHA512/reset/20 1456s ok 1689 /checksum/SHA512/reset/21 1456s ok 1690 /checksum/SHA512/reset/22 1456s ok 1691 /checksum/SHA512/reset/23 1456s ok 1692 /checksum/SHA512/reset/24 1456s ok 1693 /checksum/SHA512/reset/25 1456s ok 1694 /checksum/SHA512/reset/26 1456s ok 1695 /checksum/SHA512/reset/27 1456s ok 1696 /checksum/SHA512/reset/28 1456s ok 1697 /checksum/SHA512/reset/29 1456s ok 1698 /checksum/SHA512/reset/30 1456s ok 1699 /checksum/SHA512/reset/31 1456s ok 1700 /checksum/SHA512/reset/32 1456s ok 1701 /checksum/SHA512/reset/33 1456s ok 1702 /checksum/SHA512/reset/34 1456s ok 1703 /checksum/SHA512/reset/35 1456s ok 1704 /checksum/SHA512/reset/36 1456s ok 1705 /checksum/SHA512/reset/37 1456s ok 1706 /checksum/SHA512/reset/38 1456s ok 1707 /checksum/SHA512/reset/39 1456s ok 1708 /checksum/SHA512/reset/40 1456s ok 1709 /checksum/SHA512/reset/41 1456s ok 1710 /checksum/SHA512/reset/42 1456s ok 1711 /checksum/SHA512/reset/43 1456s ok 1712 /checksum/SHA512/reset/44 1456s ok 1713 /checksum/SHA512/reset/45 1456s ok 1714 /checksum/SHA512/reset/46 1456s ok 1715 /checksum/SHA512/reset/47 1456s ok 1716 /checksum/SHA512/reset/48 1456s ok 1717 /checksum/SHA512/reset/49 1456s ok 1718 /checksum/SHA512/reset/50 1456s ok 1719 /checksum/SHA512/reset/51 1456s ok 1720 /checksum/SHA512/reset/52 1456s ok 1721 /checksum/SHA512/reset/53 1456s ok 1722 /checksum/SHA512/reset/54 1456s ok 1723 /checksum/SHA512/reset/55 1456s ok 1724 /checksum/SHA512/reset/56 1456s ok 1725 /checksum/SHA512/reset/57 1456s ok 1726 /checksum/SHA512/reset/58 1456s ok 1727 /checksum/SHA512/reset/59 1456s ok 1728 /checksum/SHA512/reset/60 1456s ok 1729 /checksum/SHA512/reset/61 1456s ok 1730 /checksum/SHA512/reset/62 1456s ok 1731 /checksum/SHA512/reset/63 1456s ok 1732 /checksum/SHA512/reset/64 1456s ok 1733 /checksum/SHA512/reset/65 1456s ok 1734 /checksum/SHA512/reset/66 1456s ok 1735 /checksum/SHA512/reset/67 1456s ok 1736 /checksum/SHA512/reset/68 1456s ok 1737 /checksum/SHA512/reset/69 1456s ok 1738 /checksum/SHA512/reset/70 1456s ok 1739 /checksum/SHA512/reset/71 1456s ok 1740 /checksum/SHA512/reset/72 1456s ok 1741 /checksum/SHA512/reset/73 1456s ok 1742 /checksum/SHA512/reset/74 1456s ok 1743 /checksum/SHA512/reset/75 1456s ok 1744 /checksum/SHA512/reset/76 1456s ok 1745 /checksum/SHA512/reset/77 1456s ok 1746 /checksum/SHA512/reset/78 1456s ok 1747 /checksum/SHA512/reset/79 1456s ok 1748 /checksum/SHA512/reset/80 1456s ok 1749 /checksum/SHA512/reset/81 1456s ok 1750 /checksum/SHA512/reset/82 1456s ok 1751 /checksum/SHA512/reset/83 1456s ok 1752 /checksum/SHA512/reset/84 1456s ok 1753 /checksum/SHA512/reset/85 1456s ok 1754 /checksum/SHA512/reset/86 1456s ok 1755 /checksum/SHA512/reset/87 1456s ok 1756 /checksum/SHA512/reset/88 1456s ok 1757 /checksum/SHA512/reset/89 1456s ok 1758 /checksum/SHA512/reset/90 1456s ok 1759 /checksum/SHA512/reset/91 1456s ok 1760 /checksum/SHA512/reset/92 1456s ok 1761 /checksum/SHA512/reset/93 1456s ok 1762 /checksum/SHA512/reset/94 1456s ok 1763 /checksum/SHA512/reset/95 1456s ok 1764 /checksum/SHA512/reset/96 1456s ok 1765 /checksum/SHA512/reset/97 1456s ok 1766 /checksum/SHA512/reset/98 1456s ok 1767 /checksum/SHA512/reset/99 1456s ok 1768 /checksum/SHA512/reset/100 1456s ok 1769 /checksum/SHA512/reset/101 1456s ok 1770 /checksum/SHA512/reset/102 1456s ok 1771 /checksum/SHA512/reset/103 1456s ok 1772 /checksum/SHA512/reset/104 1456s ok 1773 /checksum/SHA512/reset/105 1456s ok 1774 /checksum/SHA512/reset/106 1456s ok 1775 /checksum/SHA512/reset/107 1456s ok 1776 /checksum/SHA512/reset/108 1456s ok 1777 /checksum/SHA512/reset/109 1456s ok 1778 /checksum/SHA512/reset/110 1456s ok 1779 /checksum/SHA512/reset/111 1456s ok 1780 /checksum/SHA512/reset/112 1456s ok 1781 /checksum/SHA512/reset/113 1456s ok 1782 /checksum/SHA512/reset/114 1456s ok 1783 /checksum/SHA512/reset/115 1456s ok 1784 /checksum/SHA512/reset/116 1456s ok 1785 /checksum/SHA512/reset/117 1456s ok 1786 /checksum/SHA512/reset/118 1456s ok 1787 /checksum/SHA512/reset/119 1456s ok 1788 /checksum/SHA512/reset/120 1456s ok 1789 /checksum/SHA512/reset/121 1456s ok 1790 /checksum/SHA512/reset/122 1456s ok 1791 /checksum/SHA512/reset/123 1456s ok 1792 /checksum/SHA512/reset/124 1456s ok 1793 /checksum/SHA512/reset/125 1456s ok 1794 /checksum/SHA512/reset/126 1456s ok 1795 /checksum/SHA512/reset/127 1456s ok 1796 /checksum/SHA512/reset/128 1456s ok 1797 /checksum/SHA512/reset/129 1456s ok 1798 /checksum/SHA512/reset/130 1456s ok 1799 /checksum/SHA512/reset/131 1456s ok 1800 /checksum/SHA512/reset/132 1456s ok 1801 /checksum/SHA512/reset/133 1456s ok 1802 /checksum/SHA512/reset/134 1456s ok 1803 /checksum/SHA512/reset/135 1456s ok 1804 /checksum/SHA512/reset/136 1456s ok 1805 /checksum/SHA512/reset/137 1456s ok 1806 /checksum/SHA512/reset/138 1456s ok 1807 /checksum/SHA512/reset/139 1456s ok 1808 /checksum/SHA512/reset/140 1456s ok 1809 /checksum/SHA512/reset/141 1456s ok 1810 /checksum/SHA512/reset/142 1456s ok 1811 /checksum/SHA512/reset/143 1456s ok 1812 /checksum/SHA512/reset/144 1456s ok 1813 /checksum/SHA512/reset/145 1456s ok 1814 /checksum/SHA512/reset/146 1456s ok 1815 /checksum/SHA512/reset/147 1456s ok 1816 /checksum/SHA512/reset/148 1456s ok 1817 /checksum/SHA512/reset/149 1456s ok 1818 /checksum/SHA512/reset/150 1456s ok 1819 /checksum/SHA512/reset/151 1456s ok 1820 /checksum/SHA512/reset/152 1456s ok 1821 /checksum/SHA512/reset/153 1456s ok 1822 /checksum/SHA512/reset/154 1456s ok 1823 /checksum/SHA512/reset/155 1456s ok 1824 /checksum/SHA512/reset/156 1456s ok 1825 /checksum/SHA512/reset/157 1456s ok 1826 /checksum/SHA512/reset/158 1456s ok 1827 /checksum/SHA512/reset/159 1456s ok 1828 /checksum/SHA512/reset/160 1456s ok 1829 /checksum/SHA512/reset/161 1456s ok 1830 /checksum/SHA512/reset/162 1456s ok 1831 /checksum/SHA512/reset/163 1456s ok 1832 /checksum/SHA512/reset/164 1456s ok 1833 /checksum/SHA512/reset/165 1456s ok 1834 /checksum/SHA512/reset/166 1456s ok 1835 /checksum/SHA512/reset/167 1456s ok 1836 /checksum/SHA512/reset/168 1456s ok 1837 /checksum/SHA512/reset/169 1456s ok 1838 /checksum/SHA512/reset/170 1456s ok 1839 /checksum/SHA512/reset/171 1456s ok 1840 /checksum/SHA512/reset/172 1456s ok 1841 /checksum/SHA512/reset/173 1456s ok 1842 /checksum/SHA512/reset/174 1456s ok 1843 /checksum/SHA512/reset/175 1456s ok 1844 /checksum/SHA512/reset/176 1456s ok 1845 /checksum/SHA512/reset/177 1456s ok 1846 /checksum/SHA512/reset/178 1456s ok 1847 /checksum/SHA512/reset/179 1456s ok 1848 /checksum/SHA512/reset/180 1456s ok 1849 /checksum/SHA512/reset/181 1456s ok 1850 /checksum/SHA512/reset/182 1456s ok 1851 /checksum/SHA512/reset/183 1456s # End of reset tests 1456s # End of SHA512 tests 1456s # End of checksum tests 1456s ok - glib/checksum.test 1456s # Running test: glib/filter-streams.test 1456s TAP version 13 1456s # random seed: R02S16f3db6791d3fc17e2c2051e8eb59f68 1456s 1..4 1456s # Start of filter-stream tests 1456s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1456s ok 1 /filter-stream/input 1456s ok 2 /filter-stream/output 1456s ok 3 /filter-stream/async-input 1456s ok 4 /filter-stream/async-output 1456s # End of filter-stream tests 1456s ok - glib/filter-streams.test 1456s # Running test: glib/socket-listener.test 1456s TAP version 13 1456s # random seed: R02S6b78f07bca843fea2ccc64e15a7020d4 1456s 1..1 1456s # Start of socket-listener tests 1456s ok 1 /socket-listener/event-signal 1456s # End of socket-listener tests 1456s ok - glib/socket-listener.test 1456s # Running test: glib/portal-support-none.test 1456s TAP version 13 1456s # random seed: R02Sa487a96adfda43e556df4842fcccc05e 1456s 1..1 1456s # Start of portal-support tests 1456s ok 1 /portal-support/none 1456s # End of portal-support tests 1456s ok - glib/portal-support-none.test 1456s # Running test: glib/keyfile.test 1456s TAP version 13 1456s # random seed: R02S518a72e0d0113ec79bc388c6bd17fd1a 1456s 1..36 1456s # Start of keyfile tests 1456s ok 1 /keyfile/line-ends 1456s ok 2 /keyfile/whitespace 1456s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1456s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1456s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1456s ok 3 /keyfile/comments 1456s ok 4 /keyfile/listing 1456s ok 5 /keyfile/string 1456s ok 6 /keyfile/boolean 1456s ok 7 /keyfile/number 1456s ok 8 /keyfile/locale-string 1456s ok 9 /keyfile/lists 1456s ok 10 /keyfile/lists-set-get 1456s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1456s ok 11 /keyfile/group-remove 1456s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1456s ok 12 /keyfile/key-remove 1456s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1456s ok 13 /keyfile/groups 1456s ok 14 /keyfile/duplicate-keys 1456s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1456s ok 15 /keyfile/duplicate-groups 1456s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1456s ok 16 /keyfile/duplicate-groups2 1456s ok 17 /keyfile/group-names 1456s ok 18 /keyfile/key-names 1456s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1456s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1456s ok 19 /keyfile/reload 1456s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1456s ok 20 /keyfile/int64 1456s ok 21 /keyfile/load 1456s ok 22 /keyfile/save 1456s ok 23 /keyfile/load-fail 1456s ok 24 /keyfile/non-utf8 1456s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1456s ok 25 /keyfile/page-boundary 1456s ok 26 /keyfile/ref 1456s ok 27 /keyfile/replace-value 1456s ok 28 /keyfile/list-separator 1456s ok 29 /keyfile/empty-string 1456s ok 30 /keyfile/limbo 1456s # Testing invalid encoding ?non-UTF-8? 1456s # Testing invalid encoding ?UTF? 1456s # Testing invalid encoding ?UTF-9? 1456s ok 31 /keyfile/utf8 1456s ok 32 /keyfile/roundtrip 1456s ok 33 /keyfile/bytes 1456s ok 34 /keyfile/get-locale 1456s ok 35 /keyfile/free-when-not-last-ref 1456s # Start of locale-string tests 1456s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1456s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1456s ok 36 /keyfile/locale-string/multiple-loads 1456s # End of locale-string tests 1456s # End of keyfile tests 1456s ok - glib/keyfile.test 1456s # Running test: glib/sort.test 1456s TAP version 13 1456s # random seed: R02S1e84fe9a79416f5d87939892bae45990 1456s 1..4 1456s # Start of sort tests 1456s ok 1 /sort/basic 1456s ok 2 /sort/zero-elements 1456s ok 3 /sort/stable 1456s ok 4 /sort/big 1456s # End of sort tests 1456s ok - glib/sort.test 1456s # Running test: glib/appmonitor.test 1456s TAP version 13 1456s # random seed: R02S0cb3507656cc63439d79cde9b6530c45 1456s 1..1 1456s # Start of monitor tests 1456s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_OWJ3K2/monitor/app/.dirs/home 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_OWJ3K2/monitor/app/.dirs/cache 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_OWJ3K2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_OWJ3K2/monitor/app/.dirs/system-config2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_OWJ3K2/monitor/app/.dirs/config 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_OWJ3K2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_OWJ3K2/monitor/app/.dirs/system-data2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_OWJ3K2/monitor/app/.dirs/data 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_OWJ3K2/monitor/app/.dirs/state 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_OWJ3K2/monitor/app/.dirs/runtime 1456s # Using data directory: /tmp/test_appmonitor_OWJ3K2/monitor/app/.dirs/data 1456s ok 1 /monitor/app 1456s # End of monitor tests 1456s ok - glib/appmonitor.test 1456s # Running test: glib/macros.test 1456s TAP version 13 1456s # random seed: R02S5956b4c4576f6ee444ab8062b5986f8c 1456s 1..3 1456s # Start of alignof tests 1456s ok 1 /alignof/fallback 1456s # End of alignof tests 1456s # Start of assert tests 1456s ok 2 /assert/static 1456s # End of assert tests 1456s # Start of struct tests 1456s ok 3 /struct/sizeof_member 1456s # End of struct tests 1456s ok - glib/macros.test 1456s # Running test: glib/file-thumbnail.test 1456s TAP version 13 1456s # random seed: R02Sd7ab3213d83e43eaf23f54bfa61f206e 1456s 1..7 1456s # Start of file-thumbnail tests 1456s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/fail/.dirs/home 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/fail/.dirs/cache 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_YIO4K2/file-thumbnail/fail/.dirs/system-config2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/fail/.dirs/config 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_YIO4K2/file-thumbnail/fail/.dirs/system-data2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/fail/.dirs/data 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/fail/.dirs/state 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/fail/.dirs/runtime 1456s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1456s # Created test thumbnail at /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1456s ok 1 /file-thumbnail/fail 1456s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/home 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/cache 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/system-config2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/config 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/system-data2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/data 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/state 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/runtime 1456s # Created test thumbnail at /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1456s # Created test thumbnail at /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1456s # Created test thumbnail at /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1456s # Created test thumbnail at /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1456s # Created test thumbnail at /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1456s ok 2 /file-thumbnail/size-priority 1456s # Start of valid tests 1456s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/normal/.dirs/home 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/normal/.dirs/cache 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/normal/.dirs/system-config2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/normal/.dirs/config 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/normal/.dirs/system-data2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/normal/.dirs/data 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/normal/.dirs/state 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/normal/.dirs/runtime 1456s # Created test thumbnail at /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1456s ok 3 /file-thumbnail/valid/normal 1456s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/large/.dirs/home 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/large/.dirs/cache 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/large/.dirs/system-config2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/large/.dirs/config 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/large/.dirs/system-data2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/large/.dirs/data 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/large/.dirs/state 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/large/.dirs/runtime 1456s # Created test thumbnail at /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1456s ok 4 /file-thumbnail/valid/large 1456s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/x-large/.dirs/home 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/x-large/.dirs/cache 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/x-large/.dirs/system-config2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/x-large/.dirs/config 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/x-large/.dirs/system-data2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/x-large/.dirs/data 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/x-large/.dirs/state 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/x-large/.dirs/runtime 1456s # Created test thumbnail at /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1456s ok 5 /file-thumbnail/valid/x-large 1456s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/xx-large/.dirs/home 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/xx-large/.dirs/cache 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/xx-large/.dirs/system-config2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/xx-large/.dirs/config 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/xx-large/.dirs/system-data2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/xx-large/.dirs/data 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/xx-large/.dirs/state 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/xx-large/.dirs/runtime 1456s # Created test thumbnail at /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1456s ok 6 /file-thumbnail/valid/xx-large 1456s # End of valid tests 1456s # Start of unknown tests 1456s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/unknown/super-large/.dirs/home 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/unknown/super-large/.dirs/cache 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_YIO4K2/file-thumbnail/unknown/super-large/.dirs/system-config2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/unknown/super-large/.dirs/config 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_YIO4K2/file-thumbnail/unknown/super-large/.dirs/system-data2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/unknown/super-large/.dirs/data 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/unknown/super-large/.dirs/state 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/unknown/super-large/.dirs/runtime 1456s # Created test thumbnail at /tmp/test_file-thumbnail_YIO4K2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1456s ok 7 /file-thumbnail/unknown/super-large 1456s # End of unknown tests 1456s # End of file-thumbnail tests 1456s ok - glib/file-thumbnail.test 1456s # Running test: glib/macros-c-99.test 1456s TAP version 13 1456s # random seed: R02S5c3127f785f411afcf58f6fdc5d11372 1456s 1..4 1456s # Start of C tests 1456s ok 1 /C/standard-99 1456s # End of C tests 1456s # Start of alignof tests 1456s ok 2 /alignof/fallback 1456s # End of alignof tests 1456s # Start of assert tests 1456s ok 3 /assert/static 1456s # End of assert tests 1456s # Start of struct tests 1456s ok 4 /struct/sizeof_member 1456s # End of struct tests 1456s ok - glib/macros-c-99.test 1456s # Running test: glib/gdbus-sasl.test 1456s TAP version 13 1456s # random seed: R02Sfec19870a03d3c1344b59adb28a9cb13 1456s 1..1 1456s # Start of gdbus tests 1456s # Start of sasl tests 1456s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_KY83K2/gdbus/sasl/server/.dirs/home 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_KY83K2/gdbus/sasl/server/.dirs/cache 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_KY83K2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_KY83K2/gdbus/sasl/server/.dirs/system-config2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_KY83K2/gdbus/sasl/server/.dirs/config 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_KY83K2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_KY83K2/gdbus/sasl/server/.dirs/system-data2 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_KY83K2/gdbus/sasl/server/.dirs/data 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_KY83K2/gdbus/sasl/server/.dirs/state 1456s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_KY83K2/gdbus/sasl/server/.dirs/runtime 1456s # New handshake: EXTERNAL with incorrect initial response 1456s # C:“AUTH EXTERNAL 30” 1456s # Expect: /^REJECTED.*$/ 1456s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1456s # New handshake: EXTERNAL without initial response, failing to authenticate 1456s # C:“AUTH EXTERNAL” 1456s # Expect: /^DATA$/ 1456s # S:“DATA” 1456s # C:“DATA 30” 1456s # Expect: /^REJECTED.*$/ 1456s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1456s # New handshake: EXTERNAL with initial response 1456s # C:“AUTH EXTERNAL 31303030” 1456s # Expect: /^OK [0-9a-f]+$/ 1456s # S:“OK 369e72775b4f7b8a914e2ba065f87cb0” 1456s # New handshake: EXTERNAL without initial response 1456s # C:“AUTH EXTERNAL” 1456s # Expect: /^DATA$/ 1456s # S:“DATA” 1456s # C:“DATA 31303030” 1456s # Expect: /^OK [0-9a-f]+$/ 1456s # S:“OK 369e72775b4f7b8a914e2ba065f87cb0” 1456s # New handshake: EXTERNAL with empty authorization identity 1456s # C:“AUTH EXTERNAL” 1456s # Expect: /^DATA$/ 1456s # S:“DATA” 1456s # C:“DATA” 1456s # Expect: /^OK [0-9a-f]+$/ 1456s # S:“OK 369e72775b4f7b8a914e2ba065f87cb0” 1456s # New handshake: EXTERNAL with empty authorization identity and whitespace 1456s # C:“AUTH EXTERNAL” 1456s # Expect: /^DATA$/ 1456s # S:“DATA” 1456s # C:“DATA ” 1456s # Expect: /^OK [0-9a-f]+$/ 1456s # S:“OK 369e72775b4f7b8a914e2ba065f87cb0” 1456s ok 1 /gdbus/sasl/server 1456s # End of sasl tests 1456s # End of gdbus tests 1456s ok - glib/gdbus-sasl.test 1456s # Running test: glib/cond.test 1456s TAP version 13 1456s # random seed: R02S8a6e22a88c905129ecb6d2a75d92d3b3 1456s 1..4 1456s # Start of thread tests 1456s ok 1 /thread/cond1 1456s ok 2 /thread/cond2 1456s # Start of cond tests 1457s ok 3 /thread/cond/wait-until 1457s # slow test /thread/cond/wait-until executed in 1.02 secs 1457s # Start of wait-until tests 1457s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1457s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1458s ok 4 /thread/cond/wait-until/contended-and-interrupted 1458s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1458s # End of wait-until tests 1458s # End of cond tests 1458s # End of thread tests 1458s ok - glib/cond.test 1458s # Running test: glib/actions.test 1458s TAP version 13 1458s # random seed: R02Sd11f76ef0e366bb6acc8215092691764 1458s 1..12 1458s # Start of actions tests 1458s ok 1 /actions/basic 1458s ok 2 /actions/name 1458s ok 3 /actions/simplegroup 1458s ok 4 /actions/stateful 1458s ok 5 /actions/default-activate 1458s ok 6 /actions/entries 1458s ok 7 /actions/parse-detailed 1458s ok 8 /actions/property 1458s ok 9 /actions/no-properties 1458s # Start of dbus tests 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s ok 10 /actions/dbus/export 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1458s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1458s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1460s # Executing: glib/actions.test 1460s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1460s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1460s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1460s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1460s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1460s ok 11 /actions/dbus/threaded 1460s # slow test /actions/dbus/threaded executed in 2.19 secs 1460s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1460s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1460s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1460s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1460s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1460s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1460s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1461s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1461s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1461s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1461s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1461s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1461s ok 12 /actions/dbus/bug679509 1461s # End of dbus tests 1461s # End of actions tests 1461s ok - glib/actions.test 1461s # Running test: glib/spawn-path-search.test 1461s TAP version 13 1461s # random seed: R02Sce5cc0fbeaef2c9f514273a40ad3f925 1461s 1..7 1461s # Start of spawn tests 1461s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1461s # 1461s # this is spawn-test-helper from glib/tests 1461s # 1461s ok 1 /spawn/do-not-search 1461s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1461s # 1461s # this is spawn-test-helper from path-test-subdir 1461s # 1461s ok 2 /spawn/search-path 1461s # /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. 1461s # 1461s # this is spawn-test-helper from path-test-subdir 1461s # 1461s ok 3 /spawn/search-path-from-envp 1461s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1461s # 1461s # this is spawn-test-helper from path-test-subdir 1461s # 1461s ok 4 /spawn/search-path-ambiguous 1461s # 1461s # this is spawn-test-helper from path-test-subdir 1461s # 1461s ok 5 /spawn/search-path-heap-allocation 1461s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1461s # 1461s # this is spawn-test-helper from glib/tests 1461s # 1461s ok 6 /spawn/search-path-fallback-in-environ 1461s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1461s # 1461s # this is spawn-test-helper from glib/tests 1461s # 1461s ok 7 /spawn/search-path-fallback-in-envp 1461s # End of spawn tests 1461s ok - glib/spawn-path-search.test 1461s # Running test: glib/gdbus-bz627724.test 1461s TAP version 13 1461s # random seed: R02Sa32e482b1dcee3faf8c63c0cc8639b8f 1461s 1..1 1461s # Start of gdbus tests 1461s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_Z20UK2/gdbus/bz627724/.dirs/home 1461s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_Z20UK2/gdbus/bz627724/.dirs/cache 1461s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_Z20UK2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_Z20UK2/gdbus/bz627724/.dirs/system-config2 1461s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_Z20UK2/gdbus/bz627724/.dirs/config 1461s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_Z20UK2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_Z20UK2/gdbus/bz627724/.dirs/system-data2 1461s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_Z20UK2/gdbus/bz627724/.dirs/data 1461s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_Z20UK2/gdbus/bz627724/.dirs/state 1461s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_Z20UK2/gdbus/bz627724/.dirs/runtime 1461s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1461s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1461s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1461s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1461s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1461s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1461s ok 1 /gdbus/bz627724 1461s # End of gdbus tests 1461s ok - glib/gdbus-bz627724.test 1461s # SUMMARY: total=315; passed=314; skipped=1; failed=0; user=229.3s; system=46.7s; maxrss=186368 1461s autopkgtest [17:41:09]: test installed-tests: -----------------------] 1462s installed-tests PASS 1462s autopkgtest [17:41:10]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1462s autopkgtest [17:41:10]: test closure-refcount: preparing testbed 1464s Reading package lists... 1464s Building dependency tree... 1464s Reading state information... 1464s Starting pkgProblemResolver with broken count: 0 1464s Starting 2 pkgProblemResolver with broken count: 0 1464s Done 1465s The following NEW packages will be installed: 1465s autopkgtest-satdep 1465s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1465s Need to get 0 B/776 B of archives. 1465s After this operation, 0 B of additional disk space will be used. 1465s Get:1 /tmp/autopkgtest.j6pWWo/4-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1465s Selecting previously unselected package autopkgtest-satdep. 1465s (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 ... 71090 files and directories currently installed.) 1465s Preparing to unpack .../4-autopkgtest-satdep.deb ... 1465s Unpacking autopkgtest-satdep (0) ... 1465s Setting up autopkgtest-satdep (0) ... 1467s (Reading database ... 71090 files and directories currently installed.) 1467s Removing autopkgtest-satdep (0) ... 1467s autopkgtest [17:41:15]: test closure-refcount: [----------------------- 1467s Running test: glib/closure-refcount.test 1467s TAP version 13 1467s # random seed: R02S435613fbff6ed2c03551d39d3b0b8747 1467s 1..1 1467s # Start of closure tests 1467s # Init 0x1301fbc1f0a0 1467s # Yielding from main thread 1468s # Yielding from main thread 1468s # Yielding from main thread 1468s # Yielding from thread2 1468s # Yielding from main thread 1468s # Yielding from thread1 1468s # Yielding from main thread 1468s # Yielding from main thread 1468s # Yielding from main thread 1468s # Yielding from thread2 1468s # Yielding from thread1 1468s # Yielding from main thread 1468s # Yielding from main thread 1468s # Yielding from main thread 1468s # Yielding from main thread 1468s # Yielding from thread2 1468s # Yielding from thread1 1468s # Yielding from main thread 1468s # Yielding from main thread 1468s # Yielding from main thread 1469s # Yielding from main thread 1469s # Yielding from thread2 1469s # Yielding from thread1 1469s # Yielding from main thread 1469s # Yielding from main thread 1469s # Yielding from main thread 1469s # Yielding from main thread 1469s # Yielding from thread2 1469s # Yielding from thread1 1469s # Yielding from main thread 1469s # Yielding from main thread 1469s # Yielding from main thread 1469s # Yielding from thread2 1469s # Yielding from thread1 1469s # Yielding from main thread 1469s # Yielding from main thread 1469s # Yielding from main thread 1469s # Yielding from main thread 1469s # Yielding from thread2 1469s # Yielding from thread1 1469s # Yielding from main thread 1470s # Yielding from main thread 1470s # Yielding from main thread 1470s # Yielding from main thread 1470s # Yielding from thread2 1470s # Yielding from thread1 1470s # Yielding from main thread 1470s # Yielding from main thread 1470s # Yielding from main thread 1470s # Yielding from main thread 1470s # Yielding from thread2 1470s # Yielding from thread1 1470s # Yielding from main thread 1470s # Yielding from main thread 1470s # Yielding from main thread 1470s # Yielding from main thread 1470s # Yielding from thread2 1470s # Yielding from thread1 1470s # Yielding from main thread 1470s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from thread2 1471s # Yielding from thread1 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from thread1 1471s # Yielding from thread2 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from thread1 1471s # Yielding from thread2 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from main thread 1471s # Yielding from thread1 1471s # Yielding from thread2 1472s # Yielding from main thread 1472s # Yielding from main thread 1472s # Yielding from main thread 1472s # Yielding from main thread 1472s # Yielding from thread1 1472s # Yielding from thread2 1472s # Yielding from main thread 1472s # Yielding from main thread 1472s # Yielding from main thread 1472s # Yielding from main thread 1472s # Yielding from thread1 1472s # Yielding from thread2 1472s # Yielding from main thread 1472s # Yielding from main thread 1472s # Yielding from main thread 1472s # Yielding from main thread 1472s # Yielding from thread2 1472s # Yielding from thread1 1472s # Yielding from main thread 1473s # Yielding from main thread 1473s # Yielding from main thread 1473s # Yielding from thread1 1473s # Yielding from main thread 1473s # Yielding from thread2 1473s # Yielding from main thread 1473s Executing: glib/closure-refcount.test 1473s # Yielding from main thread 1473s # Yielding from main thread 1473s # Yielding from thread1 1473s # Yielding from thread2 1473s # Yielding from main thread 1473s # Yielding from main thread 1473s # Yielding from main thread 1473s # Yielding from main thread 1473s # Yielding from thread1 1473s # Yielding from thread2 1473s # Yielding from main thread 1473s # Yielding from main thread 1473s # Yielding from main thread 1474s # Yielding from main thread 1474s # Yielding from thread2 1474s # Yielding from thread1 1474s # Yielding from main thread 1474s # Yielding from main thread 1474s # Yielding from main thread 1474s # Yielding from main thread 1474s # Yielding from thread1 1474s # Yielding from thread2 1474s # Yielding from main thread 1474s # Yielding from main thread 1474s # Yielding from main thread 1474s # Yielding from main thread 1474s # Yielding from thread1 1474s # Yielding from thread2 1474s # Yielding from main thread 1474s # Yielding from main thread 1474s # Yielding from main thread 1474s # Yielding from thread2 1474s # Yielding from thread1 1474s # Yielding from main thread 1474s # Yielding from main thread 1475s # Yielding from main thread 1475s # Yielding from main thread 1475s # Yielding from thread1 1475s # Yielding from thread2 1475s # Yielding from main thread 1475s # Yielding from main thread 1475s # Yielding from main thread 1475s # Yielding from main thread 1475s # Yielding from thread2 1475s # Yielding from thread1 1475s # Stopping 1475s # Stopped 1475s ok 1 /closure/refcount 1475s # slow test /closure/refcount executed in 7.63 secs 1475s # End of closure tests 1475s PASS: glib/closure-refcount.test 1475s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=7.6s; system=0.0s; maxrss=4096 1475s autopkgtest [17:41:23]: test closure-refcount: -----------------------] 1476s closure-refcount PASS 1476s autopkgtest [17:41:24]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1476s autopkgtest [17:41:24]: test debugcontroller: preparing testbed 1481s Reading package lists... 1481s Building dependency tree... 1481s Reading state information... 1482s Starting pkgProblemResolver with broken count: 0 1482s Starting 2 pkgProblemResolver with broken count: 0 1482s Done 1482s The following NEW packages will be installed: 1482s autopkgtest-satdep 1482s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1482s Need to get 0 B/772 B of archives. 1482s After this operation, 0 B of additional disk space will be used. 1482s Get:1 /tmp/autopkgtest.j6pWWo/5-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1482s Selecting previously unselected package autopkgtest-satdep. 1482s (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 ... 71090 files and directories currently installed.) 1482s Preparing to unpack .../5-autopkgtest-satdep.deb ... 1482s Unpacking autopkgtest-satdep (0) ... 1482s Setting up autopkgtest-satdep (0) ... 1484s (Reading database ... 71090 files and directories currently installed.) 1484s Removing autopkgtest-satdep (0) ... 1485s autopkgtest [17:41:33]: test debugcontroller: [----------------------- 1485s Running test: glib/debugcontroller.test 1485s TAP version 13 1485s # random seed: R02S6ac610d5e735141a401608dc424d19f5 1485s 1..3 1485s # Start of debug-controller tests 1485s # Start of dbus tests 1485s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1485s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1485s # GLib-GIO-DEBUG: Debug output enabled 1485s # GLib-GIO-DEBUG: Debug output disabled 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s ok 1 /debug-controller/dbus/basic 1485s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1485s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s ok 2 /debug-controller/dbus/duplicate 1485s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1485s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1485s # GLib-GIO-DEBUG: Debug output enabled 1485s # GLib-GIO-DEBUG: Debug output disabled 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1485s ok 3 /debug-controller/dbus/properties 1485s # End of dbus tests 1485s # End of debug-controller tests 1485s PASS: glib/debugcontroller.test 1485s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=10240 1486s autopkgtest [17:41:34]: test debugcontroller: -----------------------] 1487s debugcontroller PASS 1487s autopkgtest [17:41:34]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1487s autopkgtest [17:41:35]: test gdbus-server-auth: preparing testbed 1494s Reading package lists... 1494s Building dependency tree... 1494s Reading state information... 1495s Starting pkgProblemResolver with broken count: 0 1495s Starting 2 pkgProblemResolver with broken count: 0 1495s Done 1495s The following NEW packages will be installed: 1495s autopkgtest-satdep 1495s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1495s Need to get 0 B/772 B of archives. 1495s After this operation, 0 B of additional disk space will be used. 1495s Get:1 /tmp/autopkgtest.j6pWWo/6-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1495s Selecting previously unselected package autopkgtest-satdep. 1495s (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 ... 71090 files and directories currently installed.) 1495s Preparing to unpack .../6-autopkgtest-satdep.deb ... 1495s Unpacking autopkgtest-satdep (0) ... 1495s Setting up autopkgtest-satdep (0) ... 1497s (Reading database ... 71090 files and directories currently installed.) 1497s Removing autopkgtest-satdep (0) ... 1498s autopkgtest [17:41:46]: test gdbus-server-auth: [----------------------- 1498s Running test: glib/gdbus-server-auth.test 1498s TAP version 13 1498s # random seed: R02Sa8bc725ebaf2a97cbe9282e1d5af4830 1498s 1..9 1498s # Start of gdbus tests 1498s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/.dirs/home 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/.dirs/cache 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/.dirs/system-config2 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/.dirs/config 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/.dirs/system-data2 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/.dirs/data 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/.dirs/state 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/.dirs/runtime 1498s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WFAZK2/gdbus-server-auth-YUM0K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1498s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WFAZK2/gdbus-server-auth-YUM0K2/dbus-GlGe4p2H 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15950 1498s ok 1 /gdbus/server-auth 1498s # Start of server-auth tests 1498s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/abstract/.dirs/home 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/abstract/.dirs/cache 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/abstract/.dirs/system-config2 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/abstract/.dirs/config 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/abstract/.dirs/system-data2 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/abstract/.dirs/data 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/abstract/.dirs/state 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/abstract/.dirs/runtime 1498s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_WFAZK2/gdbus-server-auth-JWA0K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1498s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WFAZK2/gdbus-server-auth-JWA0K2/dbus-TWk7n5Mi 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15950 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1498s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15950 1498s ok 2 /gdbus/server-auth/abstract 1498s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/tcp/.dirs/home 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/tcp/.dirs/cache 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/tcp/.dirs/system-config2 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/tcp/.dirs/config 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/tcp/.dirs/system-data2 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/tcp/.dirs/data 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/tcp/.dirs/state 1498s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/tcp/.dirs/runtime 1498s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1498s # Connectable address: tcp:host=127.0.0.1,port=46567 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1498s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1498s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1498s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1498s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1498s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1498s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1499s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1499s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1499s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1499s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1499s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1499s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1499s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1499s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1499s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1499s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1499s ok 3 /gdbus/server-auth/tcp 1499s # slow test /gdbus/server-auth/tcp executed in 0.90 secs 1499s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/.dirs/home 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/.dirs/cache 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/.dirs/system-config2 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/.dirs/config 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/.dirs/system-data2 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/.dirs/data 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/.dirs/state 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/.dirs/runtime 1499s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WFAZK2/gdbus-server-auth-4OXXK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1499s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WFAZK2/gdbus-server-auth-4OXXK2/dbus-tgVjdrub 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15950 1499s ok 4 /gdbus/server-auth/anonymous 1499s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/.dirs/home 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/.dirs/cache 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/.dirs/system-config2 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/.dirs/config 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/.dirs/system-data2 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/.dirs/data 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/.dirs/state 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/.dirs/runtime 1499s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WFAZK2/gdbus-server-auth-F2VYK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1499s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WFAZK2/gdbus-server-auth-F2VYK2/dbus-iXUUoIxW 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1499s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15950 1499s ok 5 /gdbus/server-auth/external 1499s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/.dirs/home 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/.dirs/cache 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/.dirs/system-config2 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/.dirs/config 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/.dirs/system-data2 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/.dirs/data 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/.dirs/state 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/.dirs/runtime 1499s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WFAZK2/gdbus-server-auth-HTJYK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1499s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WFAZK2/gdbus-server-auth-HTJYK2/dbus-rjQgCjPx 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15950 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1499s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15950 1499s ok 6 /gdbus/server-auth/sha1 1499s # Start of anonymous tests 1499s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/tcp/.dirs/home 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/tcp/.dirs/config 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/tcp/.dirs/data 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/tcp/.dirs/state 1499s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1499s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1499s # Connectable address: tcp:host=127.0.0.1,port=38059 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1499s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1499s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1499s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1499s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1499s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1500s ok 7 /gdbus/server-auth/anonymous/tcp 1500s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 1500s # End of anonymous tests 1500s # Start of external tests 1500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/require-same-user/.dirs/home 1500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/require-same-user/.dirs/cache 1500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/require-same-user/.dirs/config 1500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/require-same-user/.dirs/data 1500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/require-same-user/.dirs/state 1500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1500s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_WFAZK2/gdbus-server-auth-ALLXK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1500s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_WFAZK2/gdbus-server-auth-ALLXK2/dbus-rJEg4nJt 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15950 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1500s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15950,uid=1000,gid=1000 1500s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15950 1500s ok 8 /gdbus/server-auth/external/require-same-user 1500s # End of external tests 1500s # Start of sha1 tests 1500s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/tcp/.dirs/home 1500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/tcp/.dirs/cache 1500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/tcp/.dirs/config 1500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/tcp/.dirs/data 1500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/tcp/.dirs/state 1500s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_WFAZK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1500s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1500s # Connectable address: tcp:host=127.0.0.1,port=40631 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1500s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1500s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1500s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1500s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1500s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1501s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1501s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1501s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1501s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1501s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1501s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1501s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1501s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1501s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1501s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1501s ok 9 /gdbus/server-auth/sha1/tcp 1501s # slow test /gdbus/server-auth/sha1/tcp executed in 0.88 secs 1501s # End of sha1 tests 1501s # End of server-auth tests 1501s # End of gdbus tests 1501s PASS: glib/gdbus-server-auth.test 1501s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.2s; maxrss=12288 1501s autopkgtest [17:41:49]: test gdbus-server-auth: -----------------------] 1503s gdbus-server-auth PASS 1503s autopkgtest [17:41:51]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1504s autopkgtest [17:41:52]: test gdbus-threading: preparing testbed 1507s Reading package lists... 1507s Building dependency tree... 1507s Reading state information... 1507s Starting pkgProblemResolver with broken count: 0 1507s Starting 2 pkgProblemResolver with broken count: 0 1507s Done 1507s The following NEW packages will be installed: 1507s autopkgtest-satdep 1507s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1507s Need to get 0 B/776 B of archives. 1507s After this operation, 0 B of additional disk space will be used. 1507s Get:1 /tmp/autopkgtest.j6pWWo/7-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1508s Selecting previously unselected package autopkgtest-satdep. 1508s (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 ... 71090 files and directories currently installed.) 1508s Preparing to unpack .../7-autopkgtest-satdep.deb ... 1508s Unpacking autopkgtest-satdep (0) ... 1508s Setting up autopkgtest-satdep (0) ... 1509s (Reading database ... 71090 files and directories currently installed.) 1509s Removing autopkgtest-satdep (0) ... 1510s autopkgtest [17:41:58]: test gdbus-threading: [----------------------- 1510s Running test: glib/gdbus-threading.test 1510s TAP version 13 1510s # random seed: R02S5a0a69a58f68617748e554f225218863 1510s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1510s 1..3 1510s # Start of gdbus tests 1510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/delivery-in-thread/.dirs/home 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/delivery-in-thread/.dirs/cache 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_PB6PK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_PB6PK2/gdbus/delivery-in-thread/.dirs/system-config2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/delivery-in-thread/.dirs/config 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_PB6PK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_PB6PK2/gdbus/delivery-in-thread/.dirs/system-data2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/delivery-in-thread/.dirs/data 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/delivery-in-thread/.dirs/state 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_PB6PK2/gdbus/delivery-in-thread/.dirs/runtime 1510s ok 1 /gdbus/delivery-in-thread 1510s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/method-calls-in-thread/.dirs/home 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/method-calls-in-thread/.dirs/cache 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_PB6PK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_PB6PK2/gdbus/method-calls-in-thread/.dirs/system-config2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/method-calls-in-thread/.dirs/config 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_PB6PK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_PB6PK2/gdbus/method-calls-in-thread/.dirs/system-data2 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/method-calls-in-thread/.dirs/data 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/method-calls-in-thread/.dirs/state 1510s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_PB6PK2/gdbus/method-calls-in-thread/.dirs/runtime 1511s ok 2 /gdbus/method-calls-in-thread 1511s # slow test /gdbus/method-calls-in-thread executed in 0.85 secs 1511s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/threaded-singleton/.dirs/home 1511s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/threaded-singleton/.dirs/cache 1511s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_PB6PK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_PB6PK2/gdbus/threaded-singleton/.dirs/system-config2 1511s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/threaded-singleton/.dirs/config 1511s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_PB6PK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_PB6PK2/gdbus/threaded-singleton/.dirs/system-data2 1511s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/threaded-singleton/.dirs/data 1511s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_PB6PK2/gdbus/threaded-singleton/.dirs/state 1511s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_PB6PK2/gdbus/threaded-singleton/.dirs/runtime 1511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1511s # GLib-GIO-DEBUG: refcount of 0x677284001530 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1511s # GLib-GIO-DEBUG: refcount of 0x677284005560 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1511s # GLib-GIO-DEBUG: refcount of 0x677284005a30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1511s # GLib-GIO-DEBUG: refcount of 0x677284000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1511s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1511s # GLib-GIO-DEBUG: refcount of 0x677284000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x6772840020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x677284006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x6772840020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x6772840020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x6772840020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x6772840020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x677284004240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x677284004580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x677284004d60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x677284004d60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x677284004d60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x677284004d60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x677284004d60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x677284004d60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x6772840045b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x6772840045b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x6772840045b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1512s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1512s # GLib-GIO-DEBUG: refcount of 0x6772840045b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x6772840045b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x677284000a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x6772840038e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x677284006b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x6772840038e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x6772840038e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x677284000db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x677284000db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: refcount of 0x677284000db0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x677284005e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x677284005e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x677284005e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x677284005e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x677284005e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x677284005e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x677284005e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x677284005e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x677284005e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1513s # GLib-GIO-DEBUG: refcount of 0x677284005e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284005e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284005e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284005e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284001af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284001af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284007640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284001af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284001af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284001af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284001af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284001af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284001af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284001af0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284004500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284004500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284004500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1514s # GLib-GIO-DEBUG: refcount of 0x677284004500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284004500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284004500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284004500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284004500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284004500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284006710 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284006200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284006200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284006200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284006200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284006200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284006200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284006200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284005b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284005b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: refcount of 0x677284005b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284005b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284007690 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1515s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1515s # GLib-GIO-DEBUG: refcount of 0x677284007a10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: refcount of 0x677284007a10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: refcount of 0x677284007a10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: refcount of 0x677284007a10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: refcount of 0x677284007a10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: refcount of 0x6772840017d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s Executing: glib/gdbus-threading.test 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: refcount of 0x6772840017d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: refcount of 0x6772840017d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: refcount of 0x6772840017d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: refcount of 0x6772840017d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: refcount of 0x677284006380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: refcount of 0x677284006380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: refcount of 0x677284006380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: refcount of 0x677284006380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: refcount of 0x677284006380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: refcount of 0x677284006380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: refcount of 0x677284006380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: refcount of 0x677284005b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1516s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1516s # GLib-GIO-DEBUG: refcount of 0x677284005ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x677284005ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: refcount of 0x677284005ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x677284002090 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x677284007920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x677284007920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x677284007920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x677284007920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x677284007920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x677284007920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x677284008290 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x677284008270 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x677284008250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x6772840065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x6772840065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x6772840065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x6772840065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x6772840065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1517s # GLib-GIO-DEBUG: refcount of 0x6772840065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1517s # GLib-GIO-DEBUG: refcount of 0x6772840065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x6772840065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x6772840065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x6772840065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x6772840065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x677284006b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: refcount of 0x677284006b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x677284006b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x677284006b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x677284002030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x677284002030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x677284002030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x677284002030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x677284002030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: refcount of 0x677284002030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x677284002030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1518s # GLib-GIO-DEBUG: refcount of 0x677284005b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x6772840016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: refcount of 0x6772840016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: refcount of 0x6772840016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x6772840016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1519s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1519s # GLib-GIO-DEBUG: refcount of 0x6772840016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x6772840016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x6772840016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x6772840016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x6772840016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x6772840016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: refcount of 0x6772840016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x6772840016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x6772840016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x677284006400 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x677284007c20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x677284008570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x677284008570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x677284005b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x677284005b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x677284005b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x677284008570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: refcount of 0x677284008570 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x677284002680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1520s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1520s # GLib-GIO-DEBUG: refcount of 0x677284006590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284006590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284007c10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: refcount of 0x677284007c10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284007c10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284007c10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s Executing: glib/gdbus-threading.test 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284007c10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284000a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284000a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284005b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284005b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284005b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284000ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: refcount of 0x677284000ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284000ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284000ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284000ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284000ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284000ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1521s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1521s # GLib-GIO-DEBUG: refcount of 0x677284000ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284000ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284000ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284000ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284000ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284000ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284000ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284000ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284000ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x6772840081e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1522s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x677284006df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x677284008270 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x677284008270 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x677284000b50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x677284000b50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x677284000b50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x677284000b50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: refcount of 0x677284000b50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x677284007690 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x6772840008e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1523s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1523s # GLib-GIO-DEBUG: refcount of 0x6772840008e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284007c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284007c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284004510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284005000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: refcount of 0x677284005000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284005000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284005000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284005000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284005000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284005000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284005000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284007d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284007d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284007d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: refcount of 0x677284007d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284007d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284007d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1524s # GLib-GIO-DEBUG: refcount of 0x677284001760 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1524s # GLib-GIO-DEBUG: refcount of 0x677284001760 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284001760 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284001760 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284001760 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284001760 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284001760 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284001730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284001730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284001730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: refcount of 0x677284001730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284001730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284001730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284001730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284008280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284008100 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x6772840088d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x6772840020b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284000b20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1525s # GLib-GIO-DEBUG: refcount of 0x677284000b20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284000b20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284000b20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284000b20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284000b20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284000b20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s Executing: glib/gdbus-threading.test 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284006240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284006240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284006240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284006240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284000920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284007e60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284008700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284008700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284008700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284008700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: refcount of 0x677284008700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284008700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1526s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1526s # GLib-GIO-DEBUG: refcount of 0x677284008700 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x677284000920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x677284000920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x677284000920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x677284000920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x677284000920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x677284007640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: refcount of 0x677284007640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: refcount of 0x677284007640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x677284007640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x677284007640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x677284007640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x6772840065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x6772840065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: refcount of 0x6772840065a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x6772840075e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x6772840075e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x6772840075e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x6772840075e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1527s # GLib-GIO-DEBUG: refcount of 0x6772840075e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x677284000920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x677284000920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x677284000920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x677284000920 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1528s # GLib-GIO-DEBUG: refcount of 0x677284008dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284008dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284002100 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284007ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284008c00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x6772840011a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: refcount of 0x6772840011a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x6772840011a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284008300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284008300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284008300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284008300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1529s # GLib-GIO-DEBUG: refcount of 0x677284006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: refcount of 0x677284006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: refcount of 0x677284006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: refcount of 0x677284006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: refcount of 0x677284006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1530s # GLib-GIO-DEBUG: refcount of 0x677284006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: refcount of 0x677284006ad0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: refcount of 0x677284008300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: refcount of 0x677284008300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1530s # GLib-GIO-DEBUG: refcount of 0x677284008300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: refcount of 0x677284007720 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: refcount of 0x677284007720 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: refcount of 0x677284007720 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1530s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1530s # GLib-GIO-DEBUG: refcount of 0x677284007720 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284007720 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: refcount of 0x677284007720 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284007720 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284006aa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008910 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s Executing: glib/gdbus-threading.test 1532s # GLib-GIO-DEBUG: refcount of 0x677284008dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: refcount of 0x677284008dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284007d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284007d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284007d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284007d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284007d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284007d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284007d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284007d70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008650 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284007bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008b70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008b70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008b70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284006510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284006510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284006510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x6772840020e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x6772840020e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: refcount of 0x6772840020e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x6772840020e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x6772840020e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1532s # GLib-GIO-DEBUG: refcount of 0x6772840020e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x6772840020e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x6772840020e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x6772840020e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x677284007bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x677284008e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: refcount of 0x677284008e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x677284008e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x677284008e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1533s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1533s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284008740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284007bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284007bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284007bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284007bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284007bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284007bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284007bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284007bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284007bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284007bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284007bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284007bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284002050 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284002050 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1534s # GLib-GIO-DEBUG: refcount of 0x677284007b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x677284006200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x677284008980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x677284008980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x677284008980 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x6772840074e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x677284005b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x677284007b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x677284007b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x677284007b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x677284007b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x677284007b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x677284007b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: refcount of 0x677284007b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x677284001240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x677284001240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: refcount of 0x677284001240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1535s ok 3 /gdbus/threaded-singleton 1535s # slow test /gdbus/threaded-singleton executed in 24.11 secs 1535s # End of gdbus tests 1535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1535s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1535s PASS: glib/gdbus-threading.test 1535s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.9s; system=0.4s; maxrss=8192 1536s autopkgtest [17:42:24]: test gdbus-threading: -----------------------] 1536s autopkgtest [17:42:24]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1536s gdbus-threading PASS 1537s autopkgtest [17:42:25]: test gmenumodel: preparing testbed 1546s Reading package lists... 1546s Building dependency tree... 1546s Reading state information... 1546s Starting pkgProblemResolver with broken count: 0 1546s Starting 2 pkgProblemResolver with broken count: 0 1546s Done 1546s The following NEW packages will be installed: 1546s autopkgtest-satdep 1546s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1546s Need to get 0 B/780 B of archives. 1546s After this operation, 0 B of additional disk space will be used. 1546s Get:1 /tmp/autopkgtest.j6pWWo/8-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1547s Selecting previously unselected package autopkgtest-satdep. 1547s (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 ... 71090 files and directories currently installed.) 1547s Preparing to unpack .../8-autopkgtest-satdep.deb ... 1547s Unpacking autopkgtest-satdep (0) ... 1547s Setting up autopkgtest-satdep (0) ... 1548s (Reading database ... 71090 files and directories currently installed.) 1548s Removing autopkgtest-satdep (0) ... 1549s autopkgtest [17:42:37]: test gmenumodel: [----------------------- 1549s Running test: glib/gmenumodel.test 1549s TAP version 13 1549s # random seed: R02S718b57c63797fe68f44f1dd034887c4c 1549s 1..14 1549s # Start of gmenu tests 1551s ok 1 /gmenu/equality 1551s # slow test /gmenu/equality executed in 1.99 secs 1553s ok 2 /gmenu/random 1553s # slow test /gmenu/random executed in 2.04 secs 1553s ok 3 /gmenu/attributes 1553s ok 4 /gmenu/links 1553s ok 5 /gmenu/mutable 1553s ok 6 /gmenu/convenience 1553s ok 7 /gmenu/menuitem 1553s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1553s ok 8 /gmenu/input-validation 1553s # Start of dbus tests 1553s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1554s ok 9 /gmenu/dbus/roundtrip 1554s # slow test /gmenu/dbus/roundtrip executed in 1.07 secs 1555s ok 10 /gmenu/dbus/subscriptions 1555s Executing: glib/gmenumodel.test 1557s ok 11 /gmenu/dbus/threaded 1557s # slow test /gmenu/dbus/threaded executed in 2.48 secs 1557s # Start of peer tests 1558s ok 12 /gmenu/dbus/peer/roundtrip 1558s # slow test /gmenu/dbus/peer/roundtrip executed in 1.08 secs 1559s ok 13 /gmenu/dbus/peer/subscriptions 1559s # End of peer tests 1559s # End of dbus tests 1559s # Start of attributes tests 1559s ok 14 /gmenu/attributes/iterate 1559s # End of attributes tests 1559s # End of gmenu tests 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1559s PASS: glib/gmenumodel.test 1559s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=6.8s; system=0.1s; maxrss=26624 1559s autopkgtest [17:42:47]: test gmenumodel: -----------------------] 1560s gmenumodel PASS 1560s autopkgtest [17:42:48]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1560s autopkgtest [17:42:48]: test mainloop: preparing testbed 1567s Reading package lists... 1567s Building dependency tree... 1567s Reading state information... 1567s Starting pkgProblemResolver with broken count: 0 1567s Starting 2 pkgProblemResolver with broken count: 0 1567s Done 1568s The following NEW packages will be installed: 1568s autopkgtest-satdep 1568s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1568s Need to get 0 B/772 B of archives. 1568s After this operation, 0 B of additional disk space will be used. 1568s Get:1 /tmp/autopkgtest.j6pWWo/9-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1568s Selecting previously unselected package autopkgtest-satdep. 1568s (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 ... 71090 files and directories currently installed.) 1568s Preparing to unpack .../9-autopkgtest-satdep.deb ... 1568s Unpacking autopkgtest-satdep (0) ... 1568s Setting up autopkgtest-satdep (0) ... 1570s (Reading database ... 71090 files and directories currently installed.) 1570s Removing autopkgtest-satdep (0) ... 1570s autopkgtest [17:42:58]: test mainloop: [----------------------- 1571s Running test: glib/mainloop.test 1571s TAP version 13 1571s # random seed: R02S14b6b6dc78ae8e8f5d8e870a5094d96f 1571s 1..45 1571s # Start of maincontext tests 1571s ok 1 /maincontext/basic 1571s # Add same-priority sources: 27 1571s # Find each source: 10 1571s # Remove in random order: 39 1571s ok 2 /maincontext/nsources_same_priority 1571s # Add different-priority sources: 29 1571s # Find each source: 11 1571s # Remove in random order: 43 1571s ok 3 /maincontext/nsources_different_priority 1571s # Add sources from threads: 297 1572s # Remove sources from threads: 193 1572s ok 4 /maincontext/nsources_threadpool 1572s ok 5 /maincontext/source_finalization 1572s # /maincontext/idle-once summary: Test g_idle_add_once() works 1572s ok 6 /maincontext/idle-once 1572s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1572s ok 7 /maincontext/timeout-once 1572s # Start of source_finalization_from_source tests 1572s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1572s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1572s ok 8 /maincontext/source_finalization_from_source/0 1572s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1572s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1572s ok 9 /maincontext/source_finalization_from_source/1 1572s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1572s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1572s ok 10 /maincontext/source_finalization_from_source/2 1572s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1572s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1572s ok 11 /maincontext/source_finalization_from_source/3 1572s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1572s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1572s ok 12 /maincontext/source_finalization_from_source/4 1572s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1572s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1572s ok 13 /maincontext/source_finalization_from_source/5 1572s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1572s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1572s ok 14 /maincontext/source_finalization_from_source/6 1572s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1572s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1572s ok 15 /maincontext/source_finalization_from_source/7 1572s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1572s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1572s ok 16 /maincontext/source_finalization_from_source/8 1572s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1572s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1572s ok 17 /maincontext/source_finalization_from_source/9 1572s # End of source_finalization_from_source tests 1572s # Start of source_finalization_from_dispatch tests 1572s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1572s ok 18 /maincontext/source_finalization_from_dispatch/0 1572s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1572s ok 19 /maincontext/source_finalization_from_dispatch/1 1572s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1572s ok 20 /maincontext/source_finalization_from_dispatch/2 1572s # End of source_finalization_from_dispatch tests 1572s # End of maincontext tests 1572s # Start of mainloop tests 1572s ok 21 /mainloop/basic 1572s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1572s ok 23 /mainloop/priorities 1572s ok 24 /mainloop/invoke 1572s # slow test /mainloop/invoke executed in 0.50 secs 1573s ok 25 /mainloop/child_sources 1573s # slow test /mainloop/child_sources executed in 1.19 secs 1575s ok 26 /mainloop/recursive_child_sources 1575s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 1575s ok 27 /mainloop/recursive_loop_child_sources 1575s ok 28 /mainloop/swapping_child_sources 1575s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1575s ok 29 /mainloop/blocked_child_sources 1576s Executing: glib/mainloop.test 1577s ok 30 /mainloop/source_time 1577s # slow test /mainloop/source_time executed in 1.00 secs 1577s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1577s ok 31 /mainloop/overflow 1577s ok 32 /mainloop/ready-time 1577s # slow test /mainloop/ready-time executed in 0.50 secs 1577s ok 33 /mainloop/wakeup 1577s ok 34 /mainloop/remove-invalid 1577s ok 35 /mainloop/unref-while-pending 1578s ok 36 /mainloop/unix-fd 1578s # slow test /mainloop/unix-fd executed in 1.39 secs 1578s ok 37 /mainloop/unix-fd-source 1578s ok 38 /mainloop/source-unix-fd-api 1579s ok 39 /mainloop/wait 1579s ok 40 /mainloop/unix-file-poll 1579s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1579s ok 41 /mainloop/unix-fd-priority 1579s ok 42 /mainloop/nfds 1579s ok 43 /mainloop/steal-fd 1579s # Start of ownerless-polling tests 1579s ok 44 /mainloop/ownerless-polling/attach-first 1579s ok 45 /mainloop/ownerless-polling/pop-first 1579s # End of ownerless-polling tests 1579s # End of mainloop tests 1579s PASS: glib/mainloop.test 1579s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.1s; system=1.2s; maxrss=18432 1579s autopkgtest [17:43:07]: test mainloop: -----------------------] 1579s autopkgtest [17:43:07]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1579s mainloop PASS 1580s autopkgtest [17:43:08]: test memory-monitor-dbus: preparing testbed 1584s Reading package lists... 1584s Building dependency tree... 1584s Reading state information... 1584s Starting pkgProblemResolver with broken count: 0 1584s Starting 2 pkgProblemResolver with broken count: 0 1584s Done 1585s The following NEW packages will be installed: 1585s autopkgtest-satdep 1585s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1585s Need to get 0 B/780 B of archives. 1585s After this operation, 0 B of additional disk space will be used. 1585s Get:1 /tmp/autopkgtest.j6pWWo/10-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1585s Selecting previously unselected package autopkgtest-satdep. 1585s (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 ... 71090 files and directories currently installed.) 1585s Preparing to unpack .../10-autopkgtest-satdep.deb ... 1585s Unpacking autopkgtest-satdep (0) ... 1585s Setting up autopkgtest-satdep (0) ... 1587s (Reading database ... 71090 files and directories currently installed.) 1587s Removing autopkgtest-satdep (0) ... 1587s autopkgtest [17:43:15]: test memory-monitor-dbus: [----------------------- 1588s Running test: glib/memory-monitor-dbus.test 1588s TAP version 13 1588s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1588s # Received memory warning signal, level 1588s # Received memory warning signal, level 1588s # Received memory warning signal, level 1588s 1..1 1588s PASS: glib/memory-monitor-dbus.test 1588s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=32768 1588s autopkgtest [17:43:16]: test memory-monitor-dbus: -----------------------] 1589s autopkgtest [17:43:17]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1589s memory-monitor-dbus PASS 1589s autopkgtest [17:43:17]: test socket: preparing testbed 1594s Reading package lists... 1594s Building dependency tree... 1594s Reading state information... 1595s Starting pkgProblemResolver with broken count: 0 1595s Starting 2 pkgProblemResolver with broken count: 0 1595s Done 1595s The following NEW packages will be installed: 1595s autopkgtest-satdep 1595s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1595s Need to get 0 B/772 B of archives. 1595s After this operation, 0 B of additional disk space will be used. 1595s Get:1 /tmp/autopkgtest.j6pWWo/11-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1595s Selecting previously unselected package autopkgtest-satdep. 1595s (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 ... 71090 files and directories currently installed.) 1595s Preparing to unpack .../11-autopkgtest-satdep.deb ... 1595s Unpacking autopkgtest-satdep (0) ... 1595s Setting up autopkgtest-satdep (0) ... 1597s (Reading database ... 71090 files and directories currently installed.) 1597s Removing autopkgtest-satdep (0) ... 1598s autopkgtest [17:43:26]: test socket: [----------------------- 1598s Running test: glib/socket.test 1598s TAP version 13 1598s # random seed: R02S8ab7ba9fc665a9e697237612c962024e 1598s 1..28 1598s # Start of socket tests 1599s ok 1 /socket/ipv4_sync 1599s # slow test /socket/ipv4_sync executed in 1.00 secs 1600s ok 2 /socket/ipv4_async 1600s # slow test /socket/ipv4_async executed in 1.00 secs 1600s ok 3 /socket/ipv6_sync 1600s ok 4 /socket/ipv6_async 1600s ok 5 /socket/ipv6_v4mapped 1601s ok 6 /socket/close_graceful 1601s # slow test /socket/close_graceful executed in 1.00 secs 1601s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1601s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1601s ok 8 /socket/fd_reuse 1601s ok 9 /socket/address 1601s ok 10 /socket/unix-from-fd 1601s ok 11 /socket/unix-connection 1601s ok 12 /socket/unix-connection-ancillary-data 1601s ok 13 /socket/source-postmortem 1601s ok 14 /socket/read_write 1601s ok 15 /socket/read_writev 1601s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1601s ok 16 /socket/receive_bytes 1601s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1601s ok 17 /socket/receive_bytes_from 1601s # Start of ipv4_sync tests 1601s ok 18 /socket/ipv4_sync/datagram 1601s # Start of datagram tests 1602s ok 19 /socket/ipv4_sync/datagram/timeouts 1602s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1602s # End of datagram tests 1602s # End of ipv4_sync tests 1602s # Start of ipv6_sync tests 1602s ok 20 /socket/ipv6_sync/datagram 1602s # Start of datagram tests 1603s Executing: glib/socket.test 1603s ok 21 /socket/ipv6_sync/datagram/timeouts 1603s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1603s # End of datagram tests 1603s # End of ipv6_sync tests 1603s # Start of reuse tests 1603s ok 22 /socket/reuse/tcp 1603s ok 23 /socket/reuse/udp 1603s # End of reuse tests 1603s # Start of get_available tests 1603s ok 24 /socket/get_available/datagram 1603s ok 25 /socket/get_available/stream 1603s # End of get_available tests 1603s # Start of credentials tests 1603s # Supported on this OS: GCredentials:linux-ucred:pid=0 1603s ok 26 /socket/credentials/tcp_client 1603s # Supported on this OS: GCredentials:linux-ucred:pid=0 1603s ok 27 /socket/credentials/tcp_server 1603s # Supported on this OS: GCredentials:linux-ucred:pid=18291,uid=1000,gid=1000 1603s ok 28 /socket/credentials/unix_socketpair 1603s # End of credentials tests 1603s # End of socket tests 1603s PASS: glib/socket.test 1603s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1604s autopkgtest [17:43:32]: test socket: -----------------------] 1604s autopkgtest [17:43:32]: test socket: - - - - - - - - - - results - - - - - - - - - - 1604s socket PASS 1604s autopkgtest [17:43:32]: test testfilemonitor: preparing testbed 1606s Reading package lists... 1606s Building dependency tree... 1606s Reading state information... 1607s Starting pkgProblemResolver with broken count: 0 1607s Starting 2 pkgProblemResolver with broken count: 0 1607s Done 1607s The following NEW packages will be installed: 1607s autopkgtest-satdep 1607s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1607s Need to get 0 B/772 B of archives. 1607s After this operation, 0 B of additional disk space will be used. 1607s Get:1 /tmp/autopkgtest.j6pWWo/12-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1607s Selecting previously unselected package autopkgtest-satdep. 1607s (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 ... 71090 files and directories currently installed.) 1607s Preparing to unpack .../12-autopkgtest-satdep.deb ... 1608s Unpacking autopkgtest-satdep (0) ... 1608s Setting up autopkgtest-satdep (0) ... 1609s (Reading database ... 71090 files and directories currently installed.) 1609s Removing autopkgtest-satdep (0) ... 1610s autopkgtest [17:43:38]: test testfilemonitor: [----------------------- 1610s Running test: glib/testfilemonitor.test 1610s TAP version 13 1610s # random seed: R02S2919f4e88e61d8352eaed5041d9a52c7 1610s 1..8 1610s # Start of monitor tests 1610s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1610s # Using temporary directory: /tmp/gio-test-testfilemonitor_6U2JK2 1610s # Using GFileMonitor GInotifyFileMonitor 1612s ok 1 /monitor/atomic-replace 1612s # slow test /monitor/atomic-replace executed in 2.00 secs 1612s # Using temporary directory: /tmp/gio-test-testfilemonitor_1IZJK2 1612s # Using GFileMonitor GInotifyFileMonitor 1615s ok 2 /monitor/file-changes 1615s # slow test /monitor/file-changes executed in 2.50 secs 1615s # Using temporary directory: /tmp/gio-test-testfilemonitor_28ZVK2 1615s # Using GFileMonitor GInotifyFileMonitor 1616s Executing: glib/testfilemonitor.test 1618s ok 3 /monitor/dir-monitor 1618s # slow test /monitor/dir-monitor executed in 3.51 secs 1618s # Using temporary directory: /tmp/gio-test-testfilemonitor_H06KK2 1618s # Using GFileMonitor GInotifyFileMonitor 1621s Executing: glib/testfilemonitor.test 1626s Executing: glib/testfilemonitor.test 1631s Executing: glib/testfilemonitor.test 1636s Executing: glib/testfilemonitor.test 1641s Executing: glib/testfilemonitor.test 1643s ok 4 /monitor/dir-not-existent 1643s # slow test /monitor/dir-not-existent executed in 25.02 secs 1643s # Using temporary directory: /tmp/gio-test-testfilemonitor_7ZPKK2 1643s # Using GFileMonitor 0 GInotifyFileMonitor 1643s # Using GFileMonitor 1 GInotifyFileMonitor 1645s ok 5 /monitor/cross-dir-moves 1645s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1645s # Using temporary directory: /tmp/gio-test-testfilemonitor_GKNKK2 1645s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1645s ok 6 /monitor/finalize-in-callback 1645s # Using temporary directory: /tmp/gio-test-testfilemonitor_9NULK2 1645s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1645s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1645s ok 7 /monitor/root 1645s # Start of file tests 1645s # Using temporary directory: /tmp/gio-test-testfilemonitor_U0ULK2 1645s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1645s # Running with hard link tests 1645s # Using GFileMonitor GInotifyFileMonitor 1646s Executing: glib/testfilemonitor.test 1649s # Event 0 at expected index 7 skipped because it is marked as optional 1649s # Event 2 at expected index 11 skipped because it is marked as optional 1649s ok 8 /monitor/file/hard-links 1649s # slow test /monitor/file/hard-links executed in 3.51 secs 1649s # End of file tests 1649s # End of monitor tests 1649s PASS: glib/testfilemonitor.test 1649s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1649s autopkgtest [17:44:17]: test testfilemonitor: -----------------------] 1650s autopkgtest [17:44:18]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1650s testfilemonitor PASS 1650s autopkgtest [17:44:18]: test thread-pool-slow: preparing testbed 1652s Reading package lists... 1653s Building dependency tree... 1653s Reading state information... 1653s Starting pkgProblemResolver with broken count: 0 1653s Starting 2 pkgProblemResolver with broken count: 0 1653s Done 1653s The following NEW packages will be installed: 1653s autopkgtest-satdep 1653s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1653s Need to get 0 B/780 B of archives. 1653s After this operation, 0 B of additional disk space will be used. 1653s Get:1 /tmp/autopkgtest.j6pWWo/13-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1653s Selecting previously unselected package autopkgtest-satdep. 1653s (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 ... 71090 files and directories currently installed.) 1653s Preparing to unpack .../13-autopkgtest-satdep.deb ... 1653s Unpacking autopkgtest-satdep (0) ... 1653s Setting up autopkgtest-satdep (0) ... 1655s (Reading database ... 71090 files and directories currently installed.) 1655s Removing autopkgtest-satdep (0) ... 1656s autopkgtest [17:44:24]: test thread-pool-slow: [----------------------- 1656s Running test: glib/thread-pool-slow.test 1656s TAP version 13 1656s # random seed: R02S1555536cfc5d912e1cc8dfae522a51fc 1656s 1..7 1656s # Start of threadpool tests 1656s ok 1 /threadpool/functions 1656s ok 2 /threadpool/stop-unused 1656s # slow test /threadpool/stop-unused executed in 0.51 secs 1657s ok 3 /threadpool/pools 1657s # [unsorted] ===> pushed new thread with id:35, number of threads:1, unprocessed:0 1657s # [unsorted] ===> pushed new thread with id:40, number of threads:2, unprocessed:1 1657s # [unsorted] ===> pushed new thread with id:22, number of threads:3, unprocessed:2 1657s # [unsorted] ===> pushed new thread with id:91, number of threads:4, unprocessed:3 1657s # [unsorted] ===> pushed new thread with id:7, number of threads:5, unprocessed:4 1657s # [unsorted] ===> pushed new thread with id:48, number of threads:6, unprocessed:5 1657s # [unsorted] ===> pushed new thread with id:85, number of threads:7, unprocessed:6 1657s # [unsorted] ===> pushed new thread with id:48, number of threads:8, unprocessed:7 1657s # [unsorted] ===> pushed new thread with id:19, number of threads:9, unprocessed:8 1657s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:0 1657s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:1 1657s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:2 1657s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:3 1657s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:4 1657s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:5 1657s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:6 1657s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:7 1657s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:8 1657s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:9 1657s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:10 1657s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:11 1657s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:12 1657s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:13 1657s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:14 1657s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:15 1657s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:16 1657s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:17 1657s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:18 1657s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:19 1657s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:20 1657s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:21 1657s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:22 1657s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:23 1657s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:24 1657s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:25 1657s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:26 1657s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:27 1657s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:28 1657s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:29 1657s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:30 1657s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:31 1657s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:32 1657s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:33 1657s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:34 1657s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:35 1657s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:36 1657s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:37 1657s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:38 1657s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:39 1657s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:40 1657s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:41 1657s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:42 1657s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:43 1657s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:44 1657s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:45 1657s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:46 1657s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:47 1657s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:48 1657s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:49 1657s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:50 1657s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:51 1657s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:52 1657s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:53 1657s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:54 1657s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:55 1657s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:56 1657s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:57 1657s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:58 1657s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:59 1657s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:60 1657s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:61 1657s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:62 1657s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:63 1657s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:64 1657s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:65 1657s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:66 1657s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:67 1657s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:68 1657s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:69 1657s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:70 1657s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:71 1657s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:72 1657s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:73 1657s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:74 1657s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:75 1657s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:76 1657s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:77 1657s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:78 1657s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:79 1657s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:80 1657s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:81 1657s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:82 1657s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:83 1657s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:84 1657s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:85 1657s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:86 1657s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:87 1657s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:88 1657s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:89 1657s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:90 1657s ok 4 /threadpool/no-sort 1657s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:1 1657s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:2 1657s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:3 1657s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:4 1657s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:5 1657s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:6 1657s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:7 1657s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:8 1657s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:9 1657s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:10 1657s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:11 1657s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:12 1657s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:13 1657s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:14 1657s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:15 1657s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:16 1657s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:17 1657s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:18 1657s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:19 1657s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:20 1657s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:21 1657s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:22 1657s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:23 1657s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:24 1657s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:25 1657s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:26 1657s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:27 1657s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:28 1657s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:29 1657s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:30 1657s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:31 1657s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:32 1657s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:33 1657s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:34 1657s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:35 1657s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:36 1657s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:37 1657s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:38 1657s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:39 1657s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:40 1657s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:41 1657s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:42 1657s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:43 1657s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:44 1657s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:45 1657s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:46 1657s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:47 1657s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:48 1657s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:49 1657s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:50 1657s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:51 1657s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:52 1657s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:53 1657s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:54 1657s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:55 1657s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:56 1657s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:57 1657s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:58 1657s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:59 1657s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:60 1657s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:61 1657s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:62 1657s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:63 1657s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:64 1657s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:65 1657s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:66 1657s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:67 1657s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:68 1657s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:69 1657s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:70 1657s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:71 1657s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:72 1657s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:73 1657s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:74 1657s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:75 1657s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:76 1657s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:77 1657s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:78 1657s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:79 1657s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:80 1657s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:81 1657s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:82 1657s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:83 1657s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:84 1657s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:85 1657s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:86 1657s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:87 1657s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:88 1657s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:89 1657s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:90 1657s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:91 1657s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:92 1657s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:93 1657s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:94 1657s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:95 1657s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:96 1657s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:97 1657s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:98 1657s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:99 1657s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:100 1657s # Starting thread pool processing 1657s ok 5 /threadpool/sort 1657s ok 6 /threadpool/stop-unused-multiple 1657s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1657s # Pool idle thread count: 0, unprocessed jobs: 40 1658s # Pool idle thread count: 0, unprocessed jobs: 0 1658s # Pool idle thread count: 0, unprocessed jobs: 0 1658s # Pool idle thread count: 10, unprocessed jobs: 0 1658s # Pool idle thread count: 10, unprocessed jobs: 0 1659s # Pool idle thread count: 10, unprocessed jobs: 0 1659s # Pool idle thread count: 10, unprocessed jobs: 0 1659s # Pool idle thread count: 10, unprocessed jobs: 0 1659s # Pool idle thread count: 10, unprocessed jobs: 0 1660s # Pool idle thread count: 10, unprocessed jobs: 0 1660s # Pool idle thread count: 10, unprocessed jobs: 0 1660s # Pool idle thread count: 10, unprocessed jobs: 0 1660s # Pool idle thread count: 10, unprocessed jobs: 0 1661s # Pool idle thread count: 10, unprocessed jobs: 0 1661s # Pool idle thread count: 10, unprocessed jobs: 0 1661s Executing: glib/thread-pool-slow.test 1661s # Pool idle thread count: 10, unprocessed jobs: 0 1661s # Pool idle thread count: 10, unprocessed jobs: 0 1662s # Pool idle thread count: 10, unprocessed jobs: 0 1662s # Pool idle thread count: 10, unprocessed jobs: 0 1662s # Pool idle thread count: 10, unprocessed jobs: 0 1662s # Pool idle thread count: 10, unprocessed jobs: 0 1663s # Pool idle thread count: 10, unprocessed jobs: 0 1663s # Pool idle thread count: 10, unprocessed jobs: 0 1663s # Pool idle thread count: 10, unprocessed jobs: 0 1663s # Pool idle thread count: 10, unprocessed jobs: 0 1664s # Pool idle thread count: 10, unprocessed jobs: 0 1664s # Pool idle thread count: 10, unprocessed jobs: 0 1664s # Pool idle thread count: 10, unprocessed jobs: 0 1664s # Pool idle thread count: 10, unprocessed jobs: 0 1665s # Pool idle thread count: 10, unprocessed jobs: 0 1665s # Pool idle thread count: 10, unprocessed jobs: 0 1665s # Pool idle thread count: 10, unprocessed jobs: 0 1665s # Pool idle thread count: 10, unprocessed jobs: 0 1666s # Pool idle thread count: 10, unprocessed jobs: 0 1666s # Pool idle thread count: 10, unprocessed jobs: 0 1666s Executing: glib/thread-pool-slow.test 1666s # Pool idle thread count: 10, unprocessed jobs: 2 1666s # Pool idle thread count: 10, unprocessed jobs: 2 1666s # Pool idle thread count: 8, unprocessed jobs: 0 1666s # Pool idle thread count: 8, unprocessed jobs: 0 1667s # Pool idle thread count: 10, unprocessed jobs: 0 1667s # Pool idle thread count: 10, unprocessed jobs: 0 1667s # Pool idle thread count: 10, unprocessed jobs: 0 1667s # Pool idle thread count: 10, unprocessed jobs: 0 1668s # Pool idle thread count: 10, unprocessed jobs: 0 1668s # Pool idle thread count: 10, unprocessed jobs: 0 1668s # Pool idle thread count: 2, unprocessed jobs: 0 1668s # Pool idle thread count: 2, unprocessed jobs: 0 1669s # Pool idle thread count: 2, unprocessed jobs: 0 1669s # Pool idle thread count: 2, unprocessed jobs: 0 1669s # Pool idle thread count: 2, unprocessed jobs: 0 1669s # Pool idle thread count: 2, unprocessed jobs: 0 1670s # Pool idle thread count: 2, unprocessed jobs: 0 1670s # Pool idle thread count: 2, unprocessed jobs: 0 1670s # Pool idle thread count: 2, unprocessed jobs: 0 1670s # Pool idle thread count: 2, unprocessed jobs: 0 1671s # Pool idle thread count: 2, unprocessed jobs: 0 1671s # Pool idle thread count: 2, unprocessed jobs: 0 1671s Executing: glib/thread-pool-slow.test 1671s # Pool idle thread count: 2, unprocessed jobs: 0 1671s # Pool idle thread count: 2, unprocessed jobs: 0 1672s # Pool idle thread count: 2, unprocessed jobs: 0 1672s # Pool idle thread count: 2, unprocessed jobs: 0 1672s # Pool idle thread count: 2, unprocessed jobs: 0 1672s # Pool idle thread count: 2, unprocessed jobs: 0 1673s # Pool idle thread count: 2, unprocessed jobs: 0 1673s # Pool idle thread count: 2, unprocessed jobs: 0 1673s # Pool idle thread count: 2, unprocessed jobs: 0 1673s # Pool idle thread count: 2, unprocessed jobs: 0 1674s # Pool idle thread count: 2, unprocessed jobs: 0 1674s # Pool idle thread count: 2, unprocessed jobs: 0 1674s # Pool idle thread count: 2, unprocessed jobs: 0 1674s # Pool idle thread count: 2, unprocessed jobs: 0 1675s # Pool idle thread count: 2, unprocessed jobs: 0 1675s # Pool idle thread count: 2, unprocessed jobs: 0 1675s # Pool idle thread count: 2, unprocessed jobs: 0 1675s # Pool idle thread count: 2, unprocessed jobs: 0 1676s # Pool idle thread count: 2, unprocessed jobs: 0 1676s # Pool idle thread count: 2, unprocessed jobs: 0 1676s Executing: glib/thread-pool-slow.test 1676s # Pool idle thread count: 2, unprocessed jobs: 0 1676s # Pool idle thread count: 2, unprocessed jobs: 0 1677s ok 7 /threadpool/idle-time 1677s # slow test /threadpool/idle-time executed in 19.54 secs 1677s # End of threadpool tests 1677s PASS: glib/thread-pool-slow.test 1677s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=8192 1677s autopkgtest [17:44:45]: test thread-pool-slow: -----------------------] 1678s autopkgtest [17:44:46]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1678s thread-pool-slow PASS 1678s autopkgtest [17:44:46]: test threadtests: preparing testbed 1685s Reading package lists... 1685s Building dependency tree... 1685s Reading state information... 1685s Starting pkgProblemResolver with broken count: 0 1685s Starting 2 pkgProblemResolver with broken count: 0 1685s Done 1686s The following NEW packages will be installed: 1686s autopkgtest-satdep 1686s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1686s Need to get 0 B/776 B of archives. 1686s After this operation, 0 B of additional disk space will be used. 1686s Get:1 /tmp/autopkgtest.j6pWWo/14-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1686s Selecting previously unselected package autopkgtest-satdep. 1686s (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 ... 71090 files and directories currently installed.) 1686s Preparing to unpack .../14-autopkgtest-satdep.deb ... 1686s Unpacking autopkgtest-satdep (0) ... 1686s Setting up autopkgtest-satdep (0) ... 1688s (Reading database ... 71090 files and directories currently installed.) 1688s Removing autopkgtest-satdep (0) ... 1688s autopkgtest [17:44:56]: test threadtests: [----------------------- 1688s Running test: glib/threadtests.test 1688s TAP version 13 1688s # random seed: R02S0fdcdf0d4f16d750e4ca4f6b4630add1 1688s 1..5 1688s # Start of GObject tests 1688s ok 1 /GObject/threaded-object-init 1689s ok 2 /GObject/threaded-weak-ref 1689s # slow test /GObject/threaded-weak-ref executed in 0.78 secs 1689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1689s # /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 1694s Executing: glib/threadtests.test 1695s ok 3 /GObject/threaded-toggle-notify 1695s # slow test /GObject/threaded-toggle-notify executed in 5.56 secs 1695s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1695s # Start of threaded-weak-ref tests 1695s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1695s # /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. 1695s autopkgtest [17:45:03]: test threadtests: -----------------------] 1695s ok 5 /GObject/threaded-weak-ref/on-finalization 1695s # End of threaded-weak-ref tests 1695s # End of GObject tests 1695s PASS: glib/threadtests.test 1695s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=5.6s; system=0.5s; maxrss=4096 1696s autopkgtest [17:45:04]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1696s threadtests PASS 1696s autopkgtest [17:45:04]: test timeout: preparing testbed 1698s Reading package lists... 1698s Building dependency tree... 1698s Reading state information... 1698s Starting pkgProblemResolver with broken count: 0 1699s Starting 2 pkgProblemResolver with broken count: 0 1699s Done 1699s The following NEW packages will be installed: 1699s autopkgtest-satdep 1699s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1699s Need to get 0 B/772 B of archives. 1699s After this operation, 0 B of additional disk space will be used. 1699s Get:1 /tmp/autopkgtest.j6pWWo/15-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1699s Selecting previously unselected package autopkgtest-satdep. 1699s (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 ... 71090 files and directories currently installed.) 1699s Preparing to unpack .../15-autopkgtest-satdep.deb ... 1699s Unpacking autopkgtest-satdep (0) ... 1699s Setting up autopkgtest-satdep (0) ... 1701s (Reading database ... 71090 files and directories currently installed.) 1701s Removing autopkgtest-satdep (0) ... 1701s autopkgtest [17:45:09]: test timeout: [----------------------- 1701s Running test: glib/timeout.test 1701s TAP version 13 1701s # random seed: R02S9df37f6359aa2cc60cc188fbaa2853b5 1701s 1..5 1701s # Start of timeout tests 1701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1704s ok 1 /timeout/seconds 1704s # slow test /timeout/seconds executed in 2.10 secs 1706s ok 2 /timeout/seconds-once 1706s # slow test /timeout/seconds-once executed in 2.10 secs 1706s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1707s Executing: glib/timeout.test 1708s ok 3 /timeout/weeks-overflow 1708s # slow test /timeout/weeks-overflow executed in 2.10 secs 1708s ok 4 /timeout/far-future-ready-time 1712s Executing: glib/timeout.test 1717s Executing: glib/timeout.test 1718s ok 5 /timeout/rounding 1718s # slow test /timeout/rounding executed in 10.14 secs 1718s # End of timeout tests 1718s PASS: glib/timeout.test 1718s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1718s autopkgtest [17:45:26]: test timeout: -----------------------] 1719s timeout PASS 1719s autopkgtest [17:45:27]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1719s autopkgtest [17:45:27]: test timer: preparing testbed 1725s Reading package lists... 1725s Building dependency tree... 1725s Reading state information... 1725s Starting pkgProblemResolver with broken count: 0 1725s Starting 2 pkgProblemResolver with broken count: 0 1725s Done 1725s The following NEW packages will be installed: 1725s autopkgtest-satdep 1725s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1725s Need to get 0 B/776 B of archives. 1725s After this operation, 0 B of additional disk space will be used. 1725s Get:1 /tmp/autopkgtest.j6pWWo/16-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1725s Selecting previously unselected package autopkgtest-satdep. 1725s (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 ... 71090 files and directories currently installed.) 1725s Preparing to unpack .../16-autopkgtest-satdep.deb ... 1725s Unpacking autopkgtest-satdep (0) ... 1725s Setting up autopkgtest-satdep (0) ... 1727s (Reading database ... 71090 files and directories currently installed.) 1727s Removing autopkgtest-satdep (0) ... 1729s autopkgtest [17:45:37]: test timer: [----------------------- 1729s Running test: glib/timer.test 1729s TAP version 13 1729s # random seed: R02Sa2948fecefbee8f0e919ce914bcc6822 1729s 1..10 1729s # Start of timer tests 1729s ok 1 /timer/basic 1729s ok 2 /timer/stop 1729s ok 3 /timer/continue 1729s ok 4 /timer/reset 1729s ok 5 /timer/is_active 1729s # End of timer tests 1729s # Start of timeval tests 1729s ok 6 /timeval/add 1729s ok 7 /timeval/from-iso8601 1729s ok 8 /timeval/to-iso8601 1729s # Start of to-iso8601 tests 1729s ok 9 /timeval/to-iso8601/overflow 1729s # End of to-iso8601 tests 1729s # End of timeval tests 1729s # Start of usleep tests 1729s ok 10 /usleep/with-zero-wait 1729s # End of usleep tests 1729s PASS: glib/timer.test 1729s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1730s autopkgtest [17:45:38]: test timer: -----------------------] 1730s autopkgtest [17:45:38]: test timer: - - - - - - - - - - results - - - - - - - - - - 1730s timer PASS 1731s autopkgtest [17:45:39]: @@@@@@@@@@@@@@@@@@@@ summary 1731s build PASS (superficial) 1731s build-static PASS (superficial) 1731s installed-tests PASS 1731s closure-refcount PASS 1731s debugcontroller PASS 1731s gdbus-server-auth PASS 1731s gdbus-threading PASS 1731s gmenumodel PASS 1731s mainloop PASS 1731s memory-monitor-dbus PASS 1731s socket PASS 1731s testfilemonitor PASS 1731s thread-pool-slow PASS 1731s threadtests PASS 1731s timeout PASS 1731s timer PASS 1747s Creating nova instance adt-noble-ppc64el-glib2.0-20240318-163819-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-ppc64el-server-20240316.img (UUID 1492b190-05c5-462d-b1de-84bc330afe32)... 1747s Creating nova instance adt-noble-ppc64el-glib2.0-20240318-163819-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-ppc64el-server-20240316.img (UUID 1492b190-05c5-462d-b1de-84bc330afe32)...